Checkout
Process
Charge a customer’s card using the transaction reference.
POST
/
checkout
/
{reference}
/
card-payment
Charge Card
To charge a customer’s card directly, use the /checkout/{reference}/card-payment endpoint.
Replace {reference} with the transaction reference obtained from the initialization step.
Example Request
cURL
Note:
- Replace the card details with real customer data in production.
- The
referencein the URL should be the one returned from the transaction initialization.
Request Body
| Field | Type | Description |
|---|---|---|
| cardNumber | string | Card number |
| expiryDate | string | Card expiry date (MM/YY) |
| cvv | string | Card CVV |
| pin | string | Card PIN |
Response
A successful response will confirm the card payment status.
Test Cards
For testing different verification scenarios, you can use these test card numbers:
| Test Card | Number | Purpose |
|---|---|---|
| None | 5061181664314440 | No additional verification required |
| PIN | 5061181664314441 | Requires PIN verification |
| OTP | 5061181664314442 | Requires OTP verification |
| AVS | 5061181664314443 | Requires Address Verification |
| 3DS | 5061181664314444 | Requires 3D Secure verification |
| Birthday | 5061181664314445 | Requires birthday verification |
| Phone Number | 5061181664314446 | Requires phone number verification |
Test Verification Values
- PIN: Use
5555for PIN verification tests - OTP: Use
555555for OTP verification tests
Each test card simulates a different verification flow, allowing you to test your integration thoroughly.
Authorizations
x-api-key
string
headerrequiredx-api-secret
string
headerrequiredPath Parameters
reference
string
requiredTransaction reference from initialization
Body
application/json
cardNumber
string
requiredexpiryDate
string
requiredcvv
string
requiredpin
string
requiredResponse
200 - application/json
status
boolean
statusCode
integer
data
object