...
URL: https://secure1.sandbox.directpay.online/API/v7/index.php
Variables to send:
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | createAccount | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
CustomerEmail | Text | Customer Email address | Mandatory |
CustomerFirstName | Text | Customer first name | Mandatory |
CustomerLastName | Text | Customer last name | Mandatory |
CustomerPhone | Text | Customer phone number | Mandatory |
CustomerDialCode | ISO code | Customer country ISO 2 letter code | Mandatory |
CustomerPassword | Text | 6 chars minimum. Allows characters like !@#$%&()? | Optional |
CustomerAddress | Text | Customer address | Optional |
CustomerCity | Text | Customer city | Optional |
CustomerCountry | ISO code | Customer country ISO 2 letter code | Optional |
CustomerZip | Text | Customer zip code | Optional |
| Text | Verify “mobile” or “creditCard” | Optional |
CustomerCreditCard | Text | Customer credit card number | Mandatory/Optional if |
CustomerExpiry | Text | Customer credit card expiry date (MM/YY) | Mandatory/Optional if |
CustomerCvv | Text | Customer credit card CVV | Mandatory/Optional if |
CustomerGlobalAccount | Bool | Verify credit card via global account (default 0) | Optional |
CustomerHolderName | Text | Customer credit card holder name | Mandatory/Optional if |
CustomerThreeD | Array | Customer credit card 3D data (if need verify 3D credit card ) | Optional |
| Text | MNO for verify payment | Mandatory/Optional if |
| Text | MNO country, for example: “Kenya“ | Mandatory/Optional if |
| Text | Phone number for mobile payment | Mandatory/Optional if |
Parameter | Data type | Description | |
---|---|---|---|
| Text | 3D param, mandatory for PG3D, MIGS3D | Optional |
| Text | 3D param, mandatory for PG3D, MIGS3D( | Optional |
| Text | 3D param, mandatory for all terminal types | Mandatory |
| Text | 3D param, mandatory for all terminal types | Mandatory |
| Text | 3D param, mandatory for all terminal types | Mandatory |
| Text | 3D param, mandatory for PG3D | Optional |
| Text | 3D param, mandatory for MPGS3D, MIGS3D | Optional |
| Text | 3D param, mandatory for MPGS3D | Optional |
Request example:
Request example creditCard verify
...