Skip to main content
Skip table of contents

Tokenization Form Output Parameters

The following parameters compose the Callback response object of the Tokenization Form.

Parameter

Description

action

Process performed, in this case is "tokenize".

success

Result of the operation:

True: it was processed successfully.

False: not processed successfully.

token.id

Token.

token.card.brand

Card brand. Visa, Mastercard, Amex, Diners.

token.card.bin

Bin associated to the card.

token.card.last_pan

Last 4 card numbers.

token.card.issuer

Card issuer. Value subject to availability.

token.creation_date

Token creation date.

transaction.meta.commerce_id

Merchant ID.

transaction.meta.internal_operation_number

Internal merchant operation number.

transaction.meta.status.code

Code associated with the operation status.

transaction.meta.status.message_ilgn.locale

Regional settings defining language and country.

transaction.meta.status.message_ilgn.value

Message resulting from the process.

transaction.meta.additional_fields.user_id

Internal user identifier to the merchant.

CODE
{
    "action": "tokenize",
    "success": true,
    "transaction": {
        "meta": {
            "commerceId": "9011",
            "internal_operation_number": "000000001",
            "status": {
                "code": "00",
                "message_ilgn": [
                    {
                        "locale": "es_PE",
                        "value": "Token creado"
                    }
                ]
            },
            "additional_fields": { "user_id": "foo-bar32" }
        }
    },
    "token": [
        {
            "id": "c35a-1d3b-3w9x-0051",
            "card": {
                "bin": "485951",
                "last_pan": "0051",
                "brand": "Visa",
                "issuer": "BCP"
            },
            "creation_date": "1568399357390"
        }
    ]
}

Continue to Authorization Form ➡️

JavaScript errors detected

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

If this problem persists, please contact our support.