Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Refunds

Retrieve a refund

GET/v1/refunds/{id}

Key scope: read · Business accounts

One refund and its payout's state.

Path parameters

id stringrequired
The refund's id.

Notes

  • A refund is a payout to the payer, so railReference is that payout's. railReference is the bank's own reference for the payment: {rail, traceNumber, imad, trackingNumber, endToEndId}. traceNumber is the ACH trace number, imad the Fedwire IMAD, trackingNumber the UETR on SWIFT, SEPA and Faster Payments (clave de rastreo on SPEI, end-to-end id on Pix), and endToEndId the FedNow id. It is null until 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_unknown
  • 403 refunds_merchant_only
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.