Skip to main content
Skip table of contents

Tokenization Form Input Parameters

The following parameters are available for use in the Tokenization Form payload.

Parameter

Type

Long.

Description

Req.

action

String

-

The intent of the merchant. In this case it is "tokenize".

Yes

card_holder.first_name

String (AN)

50

Cardholder Name

Yes

card_holder.last_name

String (AN)

50

Cardholder's Last Name

Yes

card_holder.email_address

String (AN)

60

Cardholder's e-mail address

Yes

card_holder.identity_document_country

String (AN)

2

Country of the Cardholder's identity document in ISO format

Yes

card_holder.identity_document_type

String (AN)

25

Document type of the Cardholder: DNI, CE, PASSPORT.

Yes

card_holder.identity_document_identifier

String (AN)

25

Cardholder's identification number

Yes

transaction.meta.internal_operation_number

String (N)

9

Internal merchant operation number

Yes

transaction.meta.additional_fields.user_id

String (AN)

30

Internal user identifier to the merchant

Yes

CODE
var tokenRequest = {
    "action": "tokenize",
    "transaction": {
        "meta": {
            "internal_operation_number": "000001",
            "additional_fields": {
                "user_id": "USER_0001"
            }
        }
    },
    "card_holder": [
        {
            "first_name": "Juan",
            "last_name": "Perez",
            "email_address": "prueba@token.com",
            "identity_document_country": "PER",
            "identity_document_type": "DNI",
            "identity_document_identifier": "87654321"
        }
    ]
};

 

Continue to Tokenization Form Output Parameters ➡️

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.