Credentials
Credential information for accessing the PPS Gateway for AIR Card® APIs
Our gateway APIs are secure, so you need valid credentials to access them, which we provide each merchant upon setup. We can also provide test credentials for the purpose of testing and certification.
Each request that you send to the gateway APIs requires the following properties in the request header:
Property | Description |
---|---|
MerchantNbr | Your merchant number. |
Username | Your username. |
Password | Your password. |
For example:
// Import libraries
using System.Net.Http.Headers;
// Set API endpoint
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "https://cert-proc.precisionpay.com/api/v1/authTransactions/sale");
// Set headers
request.Headers.Add("accept", "*/*");
// Set merchant number
request.Headers.Add("MerchantNbr", "ENTER YOUR MERCHANT NUMBER");
// Set Username
request.Headers.Add("Username", "ENTER YOUR USERNAME");
// Set password
request.Headers.Add("Password", "ENTER YOUR PASSWORD");
# Set authentication
MERCHANTNBR = 'ENTER YOUR MERCHANTNBR'
USERNAME = 'ENTER YOUR USERNAME'
PASSWORD = 'ENTER YOUR PASSWORD'
# Set headers
HEADERS = {
'accept': '*/*',
'MerchantNbr': MERCHANTNBR,
'Username': USERNAME,
'Password': PASSWORD,
'Content-Type': 'application/json',
}
// Set authentication
const merchantNbr = 'ENTER YOUR MERCHANTNBR';
const username = 'ENTER YOUR USERNAME';
const password = 'ENTER YOUR PASSWORD';
// Set headers
const header = {
'accept': '*/*',
'MerchantNbr': merchantNbr,
'Username': username,
'Password': password,
'Content-Type': 'application/json',
}
PPS has provisioned dual environments, which separate production from test and certification activities, at the following URLs:
Environment | Base URL |
---|---|
Certification | https://cert-proc.precisionpay.com |
Production | https://paygateway.precisionpay.com |
When testing and certifying the gateway APIs, you should use the certification URL. When using them in production, you should use the production URL.
Updated 5 months ago