Entrar

Canje: Settle

POST https://{organization}.myguper.com/api/loyalty/redeem/settle/{hash}

Liquida una reserva de canje — convierte un hold reserved en un débito final redeemed en el saldo del cliente. Se llama después de que el pedido es confirmado por la capa de pago/POS.

El {hash} es el id de la transacción, no el de una tarjeta: una llamada liquida todas las tarjetas retenidas por esa reserva.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header. Endpoints that support a Public mode (e.g. acúmulo and resgate previews) accept the same request without the header — Private mode adds customer data and a confirmation token to the response.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper. Omit only on endpoints that explicitly support a Public mode.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de ruta

Name Type Description
hash * string Confirmation token of the reservation to settle.

Respuestas

{
    "organization": "acme",
    "person":       184532,
    "redeem":       { "rescued": 1500 },
    "dateTime":     "2026-08-27T18:13:25-03:00"
}

Relacionados

Copied to clipboard