Notificaciones de callback
Las notificaciones de callback se utilizan para informar a los comercios sobre cambios en el estado del pago. La notificación solo se envía cuando la URL de callback está configurada en los ajustes de la tienda.
Cuando se recibe el callback, puede llamar al endpoint de obtener información del pago para recibir detalles actualizados sobre el pago. No se espera ningún cuerpo de respuesta en respuesta a las notificaciones.
Si no se entrega la notificación, se activarán reintentos con un retraso creciente: después de 1 segundo, 5 minutos, 1 hora, 1 día, 2 días y 3 días. Si todos los intentos de reintento fallan, no se realizarán más solicitudes.
Notifies the merchant about payment status changes.
ID of the request, unique to the call, as determined by the initiating party
The type of the notification, possible values:
- PAYMENT - notification about payment status changes
Unique ID of the payment
The new status of the payment
Notification received.
Any other response code will be treated as a failure and the notification will be retried at a later time.
Sin contenido
POST / HTTP/1.1
Host: hostname
X-Request-Id: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"type": "PAYMENT",
"paymentId": "text",
"paymentStatus": "SENT_FOR_PROCESSING"
}Notification received.
Any other response code will be treated as a failure and the notification will be retried at a later time.
Sin contenido
Última actualización
¿Te fue útil?