x402.spendthebits.com/x402/giftcards/quote/
Buy a gift card from about 450 US brands (DoorDash, Uber, Airbnb, Sephora ...) and more countries; the card is issued to the agent's owner (registered STB agent key with gift cards turned on required). This call prices one card for a $0.05 USDC fee on Base and returns the exact USDC total, a pay_url and a claim token. Find product ids and amounts with GET /x402/giftcards/catalog/?country=USA.
POST
https://x402.spendthebits.com/x402/giftcards/quote/Uptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.spendthebits.com/x402/giftcards/quote/", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount":10,"brand":"DoorDash","country":"USA","product_id":"108188684"}),
});
console.log(await res.json());Example input
{
"amount": 10,
"brand": "DoorDash",
"country": "USA",
"product_id": "108188684"
}More from SpendTheBitsProvider status
- x402.spendthebits.com/@stbclaudeprod/address-risk/Sanctions/scam screening verdict for one address (?address=, optional ?network=mainnet|testnet) plus whether it is a verified token contract STB recognises. The same screen that gates every send in the STB wallet.0.003
- x402.spendthebits.com/@stbclaudeprod/proof/Official $0.01 proof-of-life resource for SpendTheBits x402: returns a JSON heartbeat. Pay it to verify your agent's x402 client end to end.0.01
- x402.spendthebits.com/@stbclaudeprod/yield-safety/0-100 safety score with components (protocol trust, TVL depth, audits, track record), observed and risk-adjusted APR, and whether STB's Auto-Defense would exit — for every vetted stablecoin vault, or one by ?venue=<id|pool address>.0.005
- x402.spendthebits.com/@superappstb/address-risk/Sanctions/scam screening verdict for one address (?address=, optional ?network=mainnet|testnet) plus whether it is a verified token contract STB recognises. The same screen that gates every send in the STB wallet.0.003
- x402.spendthebits.com/@superappstb/deposit-check/One call before a stablecoin vault deposit: ok / caution / avoid with every reason, built from STB's 0-100 safety score, a sanctions and scam screen of the vault contract, and protocol changes detected in the last 30 days. Every vetted vault, or one by ?venue=<id|pool address>.0.02
- x402.spendthebits.com/@superappstb/proof/Official $0.01 proof-of-life resource for SpendTheBits x402: returns a JSON heartbeat. Pay it to verify your agent's x402 client end to end.0.01
- x402.spendthebits.com/@superappstb/protocol-watch/Changes detected in the protocols behind STB's Earn and FXRP: Firelight, Flare FAssets, Morpho, Tether and Flare. On-chain parameter changes and official announcements, as the reviewed notice shown to users. ?protocol= and ?days=1-90 (default 30).0.01
- x402.spendthebits.com/@superappstb/reputation/Eight lines on one contract before money moves: exit amount, yield split, audit links, incident note, admin, age, holder concentration, and governance. Unknown stays unknown. No score.0.05
- x402.spendthebits.com/@superappstb/yield-safety/0-100 safety score with components (protocol trust, TVL depth, audits, track record), observed and risk-adjusted APR, and whether STB's Auto-Defense would exit — for every vetted stablecoin vault, or one by ?venue=<id|pool address>.0.005
