Verify card

View as MarkdownOpen in Claude

Use this method to verify a customer’s card details.

In the request, send the customer’s card details.

In the response, our gateway indicates if the card details are valid and if you should use them in follow-on actions.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

Idempotency-KeystringRequiredformat: "uuid"
Unique identifier that you generate for each request. You must use the [UUID v4 format](https://www.rfc-editor.org/rfc/rfc4122) for the identifier. For more information about the idempotency key, go to [Idempotency](https://docs.payroc.com/api/idempotency).

Request

This endpoint expects an object.
processingTerminalIdstringRequired4-50 characters
Unique identifier that we assigned to the terminal.
cardobjectRequired
Polymorphic object that contains payment details.
operatorstringOptional0-50 characters
Operator who requested to verify the card.
customerobjectOptional
Object that contains the customer's contact details and address information.

Response

Successful request. Returns the verification status of the card details.
processingTerminalIdstring4-50 characters
Unique identifier that we assigned to the terminal.
verifiedboolean
Indicates if the card details are valid: - `true` - Card details are valid. - `false` - Card details are not valid.
operatorstring0-50 characters
Operator who requested to verify the card.
cardobject
Object that contains the details of the payment card.
transactionResultobject
Object that contains information about the transaction response details.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
409
Conflict Error
415
Unsupported Media Type Error
500
Internal Server Error