Skip to main content
POST

Overview

Quotes a redemption of $GOLD tokens for a physical-gold denomination and returns the transaction the user must sign to transfer the tokens into GRAIL’s escrow. Unlike trades, a redemption does write a row at quote time — with status quoted (internal-only, not returned via Get Redemption until the indexer advances it to submitted after the user’s transaction confirms on-chain). Only the user wallet needs to co-sign — there is no partner signature on redemptions. The transaction transfers tokens_required $GOLD from the user’s wallet to GRAIL’s escrow.
The partial-signed transaction expires in ~60 seconds (Solana recentBlockhash TTL). Re-quote if you miss the window.

Headers

string
required
A valid PARTNER scope key.

Request Body

string
required
GRAIL user ID (prefixed gu_). User must belong to the authenticated partner, be active, and have kyc_level: "full".
string
required
Denomination ID from List Denominations, e.g., "pk_tola_1".
string
required
City of pickup. Must match the denomination’s registered city (case-insensitive).

Response

string
Redemption identifier, prefixed red_. Use with Submit Redemption, Get Redemption, and Cancel Redemption.
object
string
Base64-encoded Solana transaction, signed by GRAIL. Co-sign with the user wallet only (no partner signature on redemptions).

Errors