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 | DELETE | |
Production | 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 |
"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. |
{
"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 ➡️