{
"success": "true",
"action": "authorize",
"merchant_code": "b0deb6f3-e51a-48a7-9268-f1441d46f7bd",
"merchant_operation_number": "2391645",
"transaction": {
"transaction_id": "5hk8rwa3h3cq9oyfs3a28v1ms",
"state": "AUTORIZADO",
"amount": "15000",
"currency": "604",
"processor_response": {
"date": "17-01-2024 12:27:46",
"authorization_code": "055552",
"result_message": {
"code": "00",
"description": "Approval and completed successfully"
}
}
},
"meta": {
"status": {
"code": "00",
"message_ilgn": [
{
"locale": "es_PE",
"value": "Procesado correctamente"
}
]
}
}
}API Reference
Server to server notification
Alignet One sends an HTTP POST notification to the merchant callback with the final authorization result. Validate the signature header with the environment public key using the raw request body.
WEBHOOK
serverToServerNotification
{
"success": "true",
"action": "authorize",
"merchant_code": "b0deb6f3-e51a-48a7-9268-f1441d46f7bd",
"merchant_operation_number": "2391645",
"transaction": {
"transaction_id": "5hk8rwa3h3cq9oyfs3a28v1ms",
"state": "AUTORIZADO",
"amount": "15000",
"currency": "604",
"processor_response": {
"date": "17-01-2024 12:27:46",
"authorization_code": "055552",
"result_message": {
"code": "00",
"description": "Approval and completed successfully"
}
}
},
"meta": {
"status": {
"code": "00",
"message_ilgn": [
{
"locale": "es_PE",
"value": "Procesado correctamente"
}
]
}
}
}Headers
Firma digital en Base64 generada con SHA512withRSA sobre el body completo recibido. Considerar hasta una longitud de 512 caracteres.
Maximum string length:
512Body
application/json
Available options:
true, false Example:
"true"
Example:
"authorize"
Example:
"b0deb6f3-e51a-48a7-9268-f1441d46f7bd"
Example:
"2391645"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
200
El comercio confirma la recepcion de la notificacion con HTTP 200 en un maximo de 10 segundos.

