Live Jupiter ExactOut quotes: HH settles to a chosen stable (USDC / USDT) in the merchant SPL account. Use it to gauge executable cost — gift-card issuance is still a separate step.
Executable value only — wallet “portfolio” totals can diverge massively.
This flow moves HH → a stable SPL on Solana via Jupiter (ExactOut). Retail gift-card APIs expect USD / card rails — usual pattern is swap to stable here, then a backend buys the card. That second step is not wired in yet.
Buying real gift cards or “other goods”
This page handles the crypto leg (HH swapped into a stable SPL in the merchant wallet). To purchase an actual card or SKU, you integrate a merchant API (often KYC / treasury), or manually fulfill after verifying the Solana tx. No on-chain Jupiter route magically buys Amazon balance — vendors settle in fiat or stables via their systems.
Configure environment variables
NEXT_PUBLIC_HH_MINT is set but not valid base58 (remove placeholder text; paste the real mint from Solscan or your wallet)NEXT_PUBLIC_MERCHANT_WALLET is set but not valid base58For local dev, use .env.local. On Cloudflare Pages / Vercel, set variables in the dashboard and redeploy — NEXT_PUBLIC_* is baked in at npm run build.
Choose settlement token and dollar face amount. The merchant receives that many units of the stable (6 decimals) if the route succeeds.
Settlement token
Connect a wallet to sign the Jupiter transaction.