Redemptions
Get Redemption
Fetches a single redemption by ID. Returns 404 while the redemption is at the internal quoted state.
GET
Overview
Returns the redemption record for a givenredemption_id. Partner-scoped.
While the redemption is still at the internal
quoted status (i.e., before the user’s transaction has been confirmed on-chain and picked up by the indexer), this endpoint returns 404 redemption_not_found. The record becomes visible once status advances to submitted.Headers
A valid
PARTNER scope key.Path Parameters
Redemption identifier (prefixed
red_).Response
Redemption identifier.
Current status. One of:
submitted, preparing, ready, collected, cancellation_requested, cancelled, failed.Denomination label, e.g.,
"1 Tola".Weight of the denomination in grams.
City of pickup.
Solana transaction signature (base58) of the on-chain GOLD transfer, or
null.If the redemption was cancelled, the reason supplied at cancel time; otherwise
null.ISO-8601 timestamp of row creation.
ISO-8601 timestamp of most recent status update.
Status lifecycle
quoted is never exposed. collected and cancelled are terminal.
Errors
| HTTP | error | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid x-api-key |
| 403 | partner_mismatch | Redemption belongs to a different partner |
| 404 | redemption_not_found | No redemption row at or past submitted for this id |
