# SpendTheBits Payable Handles > x402-payable resources published by SpendTheBits users. Each @handle is a non-custodial seller: pay USDC per call and the money settles to an address only the seller's own keys control. ## How to pay - GET a resource URL below with no payment: the response is HTTP 402 with the price, network and pay-to address as an x402 v2 quote in the PAYMENT-REQUIRED header. On the branded host the JSON body repeats that same quote; the API-host /x402/@... form carries a v1 body for legacy clients. - Sign an EIP-3009 transferWithAuthorization for that amount and retry with X-PAYMENT (v1) or PAYMENT-SIGNATURE (v2). The content comes back with the settlement receipt in X-PAYMENT-RESPONSE / PAYMENT-RESPONSE. - Lost the response? Every answer about a payment carries a Payment-Receipt URL (https://x402.spendthebits.com/x402/receipt///?t=). GET it for the endpoint, asset, max amount, payer, pay-to, facilitator verdict, settlement id, denial reason and a retry verdict (same_payment / new_payment / none). Without the token (payer + nonce alone are public on chain) you still get the verdict, settlement id, network, one-word reason and retry verdict; the same X-PAYMENT / PAYMENT-SIGNATURE header opens the rest while the payment is not yet on chain. No key. Bind retry logic to retry.action + payment_id + retry.until; every shape (incl. forged signature, replay) is at https://x402.spendthebits.com/x402/receipt/fixtures/. - Manifest: https://x402.spendthebits.com/.well-known/x402 — OpenAPI: https://x402.spendthebits.com/openapi.json - Any stock x402 v2 client works (@x402/fetch, Python x402): no lookup, account or API key. Register the network you hold USDC on (eip155:8453 = Base); a resource quotes several and a client signs the first one it supports. - Paying on Circle Arc (eip155:5042): USDC there is the contract 0x3600000000000000000000000000000000000000, which stock clients do not treat as a default asset, so they refuse before signing. Allow it in your client first (in @x402/fetch: an allowedAssets entry under spendControls, or spendControls: false). - Runnable client examples: https://github.com/jkambo1986-collab/x402-handle-examples - Docs: https://superapp.spendthebits.com/agents — company facts: https://superapp.spendthebits.com/llms.txt ## Ask your owner to pay (Ask-to-Pay) - An agent registered in a SpendTheBits wallet can ask its owner to pay any x402 URL instead of paying itself: POST https://x402.spendthebits.com/x402/agents/ask/ with agent, url, max_usd, nonce, issued_at and an EIP-191 signature by the agent's key. GET https://x402.spendthebits.com/x402/agents/ask/ returns the exact message to sign. - The owner approves on their phone; poll the returned id with 'Authorization: Bearer ' to collect the paid response. ## Buy a gift card - Storefront (free JSON): https://x402.spendthebits.com/@stb/cards/ → countries → brands → amounts. Every amount is a payable URL, e.g. https://x402.spendthebits.com/@stb/cards/usa/1800baskets/10/ - GET an amount URL: HTTP 402 with a $0.05 USDC quote-fee offer (x402 v2, header and body identical). The body's `card.spend_controls_hint` says what per-payment cap your client needs. Pay the fee: the response carries the exact USDC total, a pay_url and a claim_token. - Pay pay_url (one 'exact' USDC payment on Base to a per-order forwarder contract; STB never holds it), then poll status_url with 'X-Claim-Token'. The card is issued to the agent's OWNER — the key must be an Agent-Budget key with gift cards on in their SpendTheBits app; an unregistered key is refused for free (403 unknown_agent), and so is a paying address that sanctions/scam screening blocks (403 payer_blocked). - If the owner lets the agent read card codes, the status carries a reveal_url: GET it ONCE, within 15 minutes of it first appearing, with the claim token in the 'X-Claim-Token' (or 'Authorization: Bearer') header — never in the URL. Late: 410 reveal_expired. - An unknown product answers 404 with `suggestions` (closest real products); a card that left the catalogue answers 410 `gone`; a wrong amount answers 422 with `nearest`. - Owner setup guide: https://superapp.spendthebits.com/help/how-to-let-your-ai-agent-buy-a-gift-card ## Hosted MCP server (no install) - https://x402.spendthebits.com/mcp — Streamable HTTP, OAuth 2.1 (sign in with a SpendTheBits account). Add it as a custom connector in Claude or ChatGPT, or as a remote MCP server in Cursor or VS Code. Tools: list_countries, search_gift_cards, get_price, request_gift_card, order_status. request_gift_card never spends: the owner approves and pays on their phone. ## Resources - [STB Address Risk Check](https://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.003000 USDC per call, seller @superappstb) Inputs: address (required), network. Tags: compliance, sanctions, risk, security, wallet. - [STB Deposit Check](https://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.020000 USDC per call, seller @superappstb) Inputs: venue. Tags: defi, risk, due-diligence, vault, stablecoin. - [SpendTheBits x402 heartbeat](https://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.010000 USDC per call, seller @superappstb) Tags: x402, usdc. - [STB Protocol Watch](https://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.010000 USDC per call, seller @superappstb) Inputs: protocol, days. Tags: defi, risk, monitoring, governance, xrp. - [STB DeFi reputation](https://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.050000 USDC per call, seller @superappstb) Inputs: chain_id (required), address (required), amount, owner. Tags: defi, risk, due-diligence, vault, security. - [STB Yield Safety Score](https://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.005000 USDC per call, seller @superappstb) Inputs: venue. Tags: defi, yield, risk, stablecoin, usdc.