Card verification
/dpm/cofre-gw-proxy/v1/cards/verificationVerify a Card
This endpoint allows you to validate a credit card, using either its open card number or its tokenized representation. It confirms that the card is valid, active, and not subject to restrictions such as being cancelled, blocked, or expired.
Usage Scenarios:
- Ensuring the card is valid before storing it in the vault.
- Verifying a card prior to initiating a payment or subscription.
- Reducing transaction failures by detecting invalid or restricted cards early.
Notes:
- This operation accepts either an open card number (number) or a previously generated tokenized card number (number_token), typically obtained via the /v1/tokens/card endpoint.
- Card information such as brand, expiration, and CVV must match what was originally provided.
- A successful response includes a verification ID, authorization code, and transaction ID, which can be logged for traceability.
Body application/json
Open card number (PAN). Send number or number_token. Use number to verify a card that has not been tokenized.
Tokenized card number, generated via the /v1/tokens/card endpoint. Send number_token or number.
Card Brand.
Buyer’s name printed on the card.
Two-digit card expiration month.
Two-digit card expiration year.
Security code. CVV or CVC.
3DS authentication data for CNP (Card Not Present) account verification transactions. Required when the card verification flow includes 3DS authentication.
Type of cryptogram used by the TSP (Token Service Provider). Values can be - TAVV For Visa cards; - UCAF For Mastercard brand cards.
Response
Card verification performed successfully.
Invalid request.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Invalid Authentication.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Safe product not enabled.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not Found.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.