Cloud API · Pagos
Cancelar un pago
Interrumpe un pago en curso mientras el terminal espera la tarjeta.
DELETE
Ver la guía/terminals/:terminalId/payments/:paymentId/abortAl iniciar un nuevo pago, honei pide al cliente que presente su tarjeta. Usa esta petición si quiere cancelar o interrumpir la operación.
Cabeceras
| Nombre | Valor |
|---|---|
Content-Type |
application/json |
Authorization |
Bearer <clientSecret> |
venue-api-key |
El identificador del restaurante |
Respuesta
JSON
{
"message": "Payment abort requested"
}JSON
{
"status": 400,
"message": "This terminal is not allowed to abort"
}JSON
{
"status": 403,
"message": "Not authorized"
}Se devuelve si las cabeceras no son válidas.