cardToken. Adding the same PAN again for the same customer returns the existing card (created: false) and reactivates it if removed.verify is not tokenized, so its first charge needs the cardholder’s cvv and pin. To allow future debits without the cardholder, send verify while they are present: a verification charge runs (default 50 naira) and tokenized becomes true. Follow verification.status exactly as for a charge.| code | HTTP | message | when |
|---|---|---|---|
| 26 | 400 | Field messages, for example pan must be a valid card number of 12 to 19 digits | Fix the request. |
| 66 | 404 | Card not found | Unknown token or PAN, or not yours. |
| 67 | 400 | Card is Removed / Card is Blocked / Card has expired | Card cannot be used. |
| 68 | 400 | This card is already linked to another customer | PAN stored for another of your customers. |
| 21 | 400 | Card could not be stored, please try again | Temporary issue. Retry. |
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/cards' \
--header 'X-Timestamp: {{timestamp}}' \
--header 'X-Signature-Version: 2' \
--header 'X-Signature: {{signature}}' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customerId": "CUSdaa52de",
"pan": "5399 8300 0000 1238",
"expiryDate": "12/29",
"cardholderName": "Jane Doe"
}'{
"isSuccessful": true,
"code": "00",
"message": "Operation successful",
"data": {
"cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
"customerId": "CUSdaa52de",
"maskedPan": "539983******1238",
"bin": "539983",
"last4": "1238",
"brand": "Mastercard",
"expiryMonth": 12,
"expiryYear": 2029,
"cardholderName": "Jane Doe",
"status": "Active",
"createdAt": "2026-11-08T10:15:42",
"lastUsedAt": null,
"tokenized": false,
"tokenizedAt": null,
"created": true
}
}