SET API · Refunds
Retrieve a refund
GET/v1/refunds/{id}
One refund and its payout's state.
Path parameters
idstringrequired- The refund's id.
Notes
- A refund is a payout to the payer, so
railReferenceis that payout's.railReferenceis the bank's own reference for the payment:{rail, traceNumber, imad, trackingNumber, endToEndId}.traceNumberis the ACH trace number,imadthe Fedwire IMAD,trackingNumberthe UETR on SWIFT, SEPA and Faster Payments (clave de rastreo on SPEI, end-to-end id on Pix), andendToEndIdthe FedNow id. It isnulluntil the bank payment is processed, and for payments on chain or by card. On staging it is written by SET's simulator and marked"simulated": true.
Errors
404 refund_unknown403 refunds_merchant_only401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled