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

Parameter

Description

action

Process performed, in this case it is "authorize".

id

Transaction identifier assigned by Alignet.

success

True in case the request is successful or False otherwise.

transaction.currency

Numeric currency code in ISO 4217 format.

transaction.amount

Amount of the transaction in cents of currency, taking into account that we consider the last 5 positions as the decimal part of the amount.

transaction.meta.internal_operation_number

The customer's internal transaction number. This can be the order number or another number that the customer considers important.

transaction.meta.description

Description of the transaction.

transaction.meta.processor.authorization.code

Processor authorization code.

transaction.meta.additional_fields

This object returns the fields defined by the customer. These fields are determined and configured by the customer.

transaction.meta.status.code

Code associated with the operation status.

transaction.meta.status.message_ilgn.locale

Locale on which the message is written.

transaction.meta.status.message_ilgn.value

Value of the textual message.

validations

This object returns the results of the validations performed.

{
    "action": "authorize",
    "id": "500114",
    "success": "true",
    "transaction": {
        "currency": "604",
        "amount": "1000000",
        "meta": {
            "internal_operation_number": "500114",
            "description": "Descripcion de la transaccion",
            "processor": {
                "authorization": {
                    "code": "191046"
                }
            },
            "additional_fields": {
                "1": "Reservado"
            },
            "status": {
                "code": "00",
                "message_ilgn": [
                    {
                        "locale": "es_PE",
                        "value": "Operacion Autorizada"
                    }
                ]
            }
        }
    },
    "validations": null,
    "token": null
}
CODE

Continue to Pay-me Flex Form Examples ➡️