Skip to main content

Tokenization and storage

This option checks that a card or a bank account belongs to the indicated holder before storing it.

When tokenizing a card or creating a bank account you can send source_holder_verification at the root of the request body. The result is immediate.

FeatureDetail
Payment methodsCard and bank account
What you sendsource_holder_verification in the request body
Serviceservice is required when source_holder_verification is sent
PolicyYes. If the result is not accepted, the source is not stored and the request responds with an error (HTTP 400)
Holder nameIf you do not send first_name / last_name in the block, it is taken from card_holder / account_holder

The source_holder_verification body and how the policy decides are explained in Policy and results.

The verification result is returned in source_holder_verification, inside the response and the notification to url_post, with the usual format.

Card​

{
"signature": "341f7de8e6fc49da8d8736473af6b03a",
"customer_ext_id": "test1",
"card_holder": "TEST",
"card_pan": "4242424242424242",
"card_expiry_year": 34,
"card_expiry_month": "12",
"additional": null,
"url_post": "",
"validate": false,
"service": "E8952860-5441-45A2-9233-33651DABA250",
"card_cvv": 123,
"source_holder_verification": {
"enabled": true,
"allow_unavailable": true,
"allow_error": false,
"first_name": "Pedro",
"last_name": "Perez"
}
}

Bank account​

{
"signature": "341f7de8e6fc49da8d8736473af6b03a",
"account_holder": "prueba",
"iban": "ES4469400001180255458867",
"customer_ext_id": "test",
"service": "DD90CBFA-DB3E-4961-BB7A-4CC0CC129247",
"source_holder_verification": {
"enabled": true,
"accepted_verification_results": ["MATCH", "PARTIAL_MATCH", "NO_MATCH"],
"allow_unavailable": true,
"allow_error": false,
"first_name": "Pedro",
"last_name": "Perez"
}
}

Next steps​