The API
Below are the API endpoints use to perform both PAC and PMC transaction,
The API definition for both PAC and PMC is same and below,
Header
Parameter | Type | Description |
---|---|---|
Content-Type | String | Use value 'application/json' |
Accept | String | Use value 'application/json' |
x-api-version | String | Use value 1 |
Key | String | API key |
Parameters
Field | Type | Required | Description |
---|---|---|---|
money | Object | true | The Object containing two String attributes: amount and currency of the transfer |
description | String | Optional | Description for this transfer which min character is 1 and max characters are 25 |
expiryDate | String | true | Card expiry date |
sourceAccount | String | true | Account number from which the amount of money will be debited |
traceId | String | true | Unique transaction identifier. You can assign any value |
cardNumber | String | true | Card number. Your business contact can provide more test numbers 1. USD 4670 1253 3973 2535 2. EUR 4532 0013 1173 7685 3. GBP 4929 8243 3119 8286 4. INR 5316 6240 2619 0070 |
cardHolderCountryCode | String | true | Card holder country code (ISO 3166-1) |
cardHolderNationality | String | true | Card holder nationality (ISO 3166-1) |
cardHolderAddress | String | Optional | Card holder address |
cardName | String | true | Name on card |
cardHolderEmail | String | Optional | Card holder email (this is required by our processors) |
dob | String | true | Date of birth of the card holder. Format: YYYY-MM-DD |
cardHolderStreet | String | Conditional | Mandatory when card holder country code is either Canada (CA) or United States(US) |
cardHolderCity | String | Conditional | Mandatory when card holder city is either Canada (CA) or United States(US) |
cardHolderState | String | Conditional | Mandatory when card holder state is either Canada (CA) or United States(US) |
money
Field | Type | Required | Description |
---|---|---|---|
amount | Number | true | Transaction value |
currency | String | true | Currency code (ISO 4217) |
Updated 10 months ago