{"uid":"cap_2Ijen5tjS3RMkhz0Yqj1W","slug":"jamton-xauh-x402-purchase-api-959a33f6","name":"JAMTON XAUH x402 Purchase API","description":"Buy tokenized physical gold (XAUH) on TON with USDC via x402. Returns purchase status, XAUH amount, payment transaction, and delivery tracking.","url":"https://api.jamton.network/v1/purchases/xauh/requests/x402","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"network":{"enum":["eip155:8453","tvm:-239"],"type":"string","default":"eip155:8453","example":"eip155:8453","description":"CAIP-2 payment network identifier."},"xauhAmount":{"type":"string","example":"1","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"XAUH amount as a decimal string. Required when paymentAmount is omitted."},"paymentAsset":{"enum":["USDC","USDT","USDS"],"type":"string","default":"USDC","example":"USDC","description":"Payment asset symbol supported on the active x402 network."},"paymentAmount":{"type":"string","example":"1000","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Stablecoin amount as a decimal string. Required when xauhAmount is omitted."},"tonWalletAddress":{"type":"string","example":"0:575bedd5aa515d3b87548d933b3011c1cc462994ff5efdec2ba88ca0d233fd65","description":"TON wallet address that will receive purchased XAUH jettons."}}},"responseSchema":{"type":"json","example":{"id":"25efca90-9e2a-4470-a13d-7be7cd5bf88e","status":"PAYMENT_RECEIVED","userId":"b9df0c8d-621a-4353-b29b-5b235ed66c3e","payment":{"amount":"1000","txHash":"0xf409875ceb8f5003b27ae7bf169b0497cf80c23c9b866a79f6cfcc17782768ce","network":"eip155:8453","decimals":6,"assetSymbol":"USDC","explorerUrl":"https://basescan.org/tx/0xf409875ceb8f5003b27ae7bf169b0497cf80c23c9b866a79f6cfcc17782768ce","amountAtomic":"1000000000","assetAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"failedAt":null,"createdAt":"2026-06-10T12:00:00.000Z","statusUrl":"/v1/purchases/xauh/requests/25efca90-9e2a-4470-a13d-7be7cd5bf88e","xauhAmount":"7.575154128630735711","completedAt":null,"xauhDecimals":18,"deliveryStatus":"DELIVERY_PENDING","tonWalletAddress":"0:575bedd5aa515d3b87548d933b3011c1cc462994ff5efdec2ba88ca0d233fd65","xauhAmountAtomic":"7575154128630735711","paymentReceivedAt":"2026-06-10T12:00:00.000Z","tonTransferTxHash":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1000","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1000","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MXUhrdGKHAYraCHFqZOLf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1000","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Initiates a purchase of XAUH gold-backed jettons on the TON blockchain using stablecoin payment via the x402 payment flow on Base network.","exampleAgentPrompt":"Buy me 1 XAUH on JAMTON and send it to my TON wallet at 0:575bedd5aa515d3b87548d933b3011c1cc462994ff5efdec2ba88ca0d233fd65, paying with USDC on Base mainnet.","exampleUseCases":null,"resultDescription":"Returns a purchase request object containing a UUID request ID, current status (e.g. PAYMENT_RECEIVED), payment details (amount, tx hash, network, explorer URL, asset address), the exact XAUH amount being delivered (18-decimal precision), TON wallet destination, delivery status, and a status polling URL to track completion of the cross-chain XAUH jetton delivery.","failureModes":["Missing both xauhAmount and paymentAmount — API requires at least one to be provided","Invalid TON wallet address format — must be in raw 0: hex format","Unsupported network identifier — only eip155:8453 (Base mainnet) and eip155:84532 (Base Sepolia) accepted","x402 payment not confirmed on-chain — purchase stays pending","Insufficient stablecoin balance for the requested XAUH amount","XAUH delivery to TON fails — deliveryStatus remains DELIVERY_PENDING or fails","Duplicate payment attempt for the same request may be rejected"],"whenToPreferThis":"Use this endpoint when an AI agent or wallet needs to programmatically purchase XAUH (a gold-backed TON jetton) using USDC or USDT on the Base blockchain via the x402 payment protocol. Prefer this over manual exchange flows when you need automated, agent-driven cross-chain acquisition of gold-backed tokens delivered natively to a TON wallet address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:37.576Z","isFirstParty":false}