When it fires
Thecash_in event fires when:
- A SPEI transfer arrives at the disposable CLABE issued by
POST /api/spei/cash-inand is settled - An OXXO payment issued by
POST /api/oxxo/cash-inis paid at the register and confirmed
Payload
Headers
| Header | Value |
|---|---|
X-NTXPay-Event | cash_in |
X-NTXPay-Signature | sha256=<hmac> |
X-NTXPay-Timestamp | Unix epoch (seconds) |
X-NTXPay-Delivery | unique delivery UUID |
SPEI vs OXXO Differences
| Aspect | SPEI | OXXO |
|---|---|---|
paymentMethod | SPEI | OXXO |
clabe | Source CLABE | null |
| Time to confirmation | Seconds to minutes | Minutes to hours after paying at register |
| Additional identifier | referenceNumerical | referenceNumerical |
Expected Response
Respond200 OK in under 10 seconds. On any other status, NTX Pay retries up to 5 times in exponential backoff.