Skip to main content

When it fires

The refund_in webhook type receives the transaction.cash_in.returned event: a cash-in you received was returned to the payer. The corresponding balance is debited from your account. Common scenarios:
  • Reversal due to fraud or error
  • Return within the SPEI network’s window

Payload

The transactionId is the same as the original cash-in — use it to locate the order and mark it as reversed.

Headers

Expected Response

200 OK within 10 seconds.

Processing

For the complete handler with HMAC validation and dedupe in Node.js, Python, Java, and Go, see Implementation.