Redeem Notification
The LATAM Pass Redeem API processes redemptions and cancellations asynchronously. After submitting a request, partners receive the final transaction status via webhook notification.
There are two options for checking the final status:
- Redeem Notification (webhook) — recommended. The API automatically sends a POST to your configured endpoint when processing is complete.
- Get Redemption Status — polling via GET endpoint.
We strongly recommend using webhook notification. If you decide to implement both, polling should only be used if a notification is not received after 24 hours.
Two types of webhook notifications exist:
- Redeem notification: sent when a Create Redeem transaction reaches a final status (
PROCESSED,ERROR, orCANCELLED). - Recredit notification: sent when a Cancel Redeem transaction reaches a final status (
REFUNDED,CANCELLED, orERROR).
To link the notification to the original request, store the correlationId returned in the initial 201 response.
If the partner's endpoint responds with 4xx or 5xx codes during notification delivery, the system activates automatic retries for up to 7 days.
Data required to configure integration
The webhook configuration for Redeem uses the same structure as Accrual. The key differentiator is the source field, which must be set to "REDEEM".
To configure your Redeem webhook, provide the following to LATAM Pass Support:
| Data | Required | Description |
|---|---|---|
| Partner server URL | Yes | HTTPS endpoint where LATAM Pass will send webhook notifications. Must be a publicly accessible HTTPS URL (no private IPs, no localhost). Example: https://api.mycompany.com/redeem-webhook |
source | Yes | Must be "REDEEM" — distinguishes from Accrual webhook configuration |
| Authentication method | At least one | Basic auth (username + password), OAuth token, or additional headers |
| Username (Basic Auth) | Conditional | Username for basic authentication on your endpoint |
| Password (Basic Auth) | Conditional | Password for basic authentication on your endpoint |
| Additional headers | Optional | Any HTTP headers required by your endpoint (key-value pairs) |
| OAuth token config | Conditional | If using OAuth: token endpoint URL, request headers/body to obtain the token, field names for sending and retrieving the token |
Any modification or deletion of configurations must be managed via a request to LATAM Pass Support, by environment (sandbox or production).
Notification content
Both notification types (Redeem and Recredit) share the same payload structure. Fields with null values are omitted.
| Field | Type | Description |
|---|---|---|
correlationId | UUID | Correlation ID linking this notification to the original request |
status | String | Final status of the transaction (see Status Values below) |
description | String | Description of the product or service from the original redeem request |
ffn | String | LATAM Pass member number (partially masked) |
miles | Integer | For Redeem notifications: miles debited. For Recredit notifications: miles re-credited |
partnerTransactionId | String | Transaction ID from the partner side |
redemptionId | String | ID assigned by the points system. Present when status is PROCESSED or REFUNDED |
errorException | String (JSON) | Error detail when status is ERROR or CANCELLED. Serialized as a JSON string |
Status values — Redeem notification (Create Redeem):
| Status | Meaning |
|---|---|
PROCESSED | Miles successfully debited. Eligible for cancellation |
ERROR | Processing failed. See errorException for details. Contact LATAM Pass Support if recoverable |
CANCELLED | Request cancelled. Miles were not debited |
Status values — Recredit notification (Cancel Redeem):
| Status | Meaning |
|---|---|
REFUNDED | Miles successfully re-credited to the member's account |
CANCELLED | Recredit could not be completed (non-recoverable) |
ERROR | Recredit failed. See errorException for details |
Notification examples
Redeem notification — PROCESSED (miles debited successfully)
Redeem notification — CANCELLED (request rejected)
Recredit notification — REFUNDED (miles re-credited successfully)