Refunds
Return a stablecoin payout
Changed onSame two behaviors as the fiat refund. Before the transfer is accepted it unwinds the lock. After that it requests return of the funds and completes on confirmed receipt. Only valid while the payout is non-terminal.
Wait on refund.updated. See Webhooks and events.
post/v1/payouts/stablecoin/{payoutId}/refund
Request
- Base URLhttps://api.sandbox.alfredpay.io
- URLhttps://api.sandbox.alfredpay.io/v1/payouts/stablecoin/{payoutId}/refund
- Auth
- HTTP bearer
- or API key in header api-key and API key in header api-secret
Headers
Idempotency-Keystring uuid required
Required on every state-changing POST, simulators included; the only exempt POST is …/verifications/preflight. Replay (same key, same body) returns the original response with Idempotent-Replayed: true; same key with a different body → 409 idempotency_conflict. Keys are UUIDs, scoped to the API key, retained for 24 hours.
Response
Accepted
Changes
- info
endpoint added
- info