{
"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
Notificacion servertoserver
Alignet One envia una notificacion HTTP POST al callback del comercio con el resultado final de la autorizacion. El header signature debe validarse con la llave publica del ambiente usando el body crudo recibido.
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"
}
]
}
}
}Encabezados
Firma digital en Base64 generada con SHA512withRSA sobre el body completo recibido. Considerar hasta una longitud de 512 caracteres.
Maximum string length:
512Cuerpo
application/json
Opciones disponibles:
true, false Ejemplo:
"true"
Ejemplo:
"authorize"
Ejemplo:
"b0deb6f3-e51a-48a7-9268-f1441d46f7bd"
Ejemplo:
"2391645"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Respuesta
200
El comercio confirma la recepcion de la notificacion con HTTP 200 en un maximo de 10 segundos.

