Skip to main content
Skip table of contents

Reverse Transaction

The function of this service is to receive a Transaction Number as a get parameter in the URL to identify a transaction and be able to reverse it.

Environment

EndPoint

Method

Development

https://api.dev.alignet.io/charges

DELETE

Production

https://api.alignet.io/charges

DELETE

The Operation Number is received as a parameter in the URL:

Example: https://api.dev.alignet.io/charges/123456

Request Headers

Header

Value

Required

ALG-API-VERSION

Versión del API a utilizar. Valores disponibles: 1618440906

Yes

Authorization

Bearer <Access_Token>

Yes

JSON
"ALG-API-VERSION":"1618440906",
"Authorization":"Bearer bGciOiJSUzI1NsInR5cCI6IkpXVCIsImt………",

Response

Parameter

Description

action

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

success

Result of the operation:

True: processed successfully.

False: not processed successfully.

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.

JSON
{
    "action": "reverse",
    "success": "false",
    "transaction": {
        "meta": {
            "commerce_id": "9011",
            "internal_operation_number": "654321",
            "status": {
                "code": "01",
                "message_ilgn": [
                    {
                        "locale": "es_PE",
                        "value": "Ocurrio un problema durante el proceso"
                    }
                ]
            }
        }
    }
}

Continue to Deposit Transaction ➡️

JavaScript errors detected

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

If this problem persists, please contact our support.