{"slug":"api-jamton-network-v1-purchases-xauh-requests-x402-e10204","title":"Buy tokenized physical gold (XAUH) on TON through x402 using supported stablecoi","host":"api.jamton.network","method":"POST","resource":"https://api.jamton.network/v1/purchases/xauh/requests/x402","category":"other","description":"Buy tokenized physical gold (XAUH) on TON through x402 using supported stablecoins. Payment settlement creates a purchase request; automated delivery continues asynchronously and can be tracked through statusUrl until COMPLETED.","price_listed":1000.0,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"network":"eip155:8453","paymentAmount":"1000","paymentAsset":"USDC","tonWalletAddress":"0:575bedd5aa515d3b87548d933b3011c1cc462994ff5efdec2ba88ca0d233fd65"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Exactly one of paymentAmount or xauhAmount is required.","oneOf":[{"required":["paymentAmount"]},{"required":["xauhAmount"]}],"properties":{"network":{"default":"eip155:8453","description":"CAIP-2 payment network identifier.","enum":["eip155:8453","tvm:-239"],"example":"eip155:8453","type":"string"},"paymentAmount":{"description":"Stablecoin amount as a decimal string. Required when xauhAmount is omitted.","example":"1000","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"},"paymentAsset":{"default":"USDC","description":"Payment asset symbol supported on the active x402 network.","enum":["USDC","USDT","USDS"],"example":"USDC","type":"string"},"tonWalletAddress":{"description":"TON wallet address that will receive purchased XAUH jettons.","example":"0:575bedd5aa515d3b87548d933b3011c1cc462994ff5efdec2ba88ca0d233fd65","type":"string"},"xauhAmount":{"description":"XAUH amount as a decimal string. Required when paymentAmount is omitted.","example":"1","pattern":"^[0-9]+(\\.[0-9]+)?$","type":"string"}},"required":["tonWalletAddress"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"completedAt":{"description":"Completion timestamp.","type":["string","null"]},"createdAt":{"description":"Creation time.","type":"string"},"deliveryStatus":{"description":"XAUH delivery status. DELIVERY_PENDING means automated delivery is still running; COMPLETED confirms delivery.","enum":["DELIVERY_PENDING","COMPLETED","FAILED","CANCELLED"],"type":"string"},"failedAt":{"description":"Failure timestamp.","type":["string","null"]},"id":{"description":"Purchase request ID.","type":"string"},"payment":{"additionalProperties":false,"description":"x402 payment details.","properties":{"amount":{"description":"Human-readable payment amount.","type":"string"},"amountAtomic":{"description":"Payment amount in atomic units.","type":"string"},"assetAddress":{"description":"Payment asset contract or token identifier.","type":"string"},"assetSymbol":{"description":"Payment asset ticker.","type":"string"},"decimals":{"description":"Payment asset decimals.","type":"integer"},"explorerUrl":{"description":"Payment settlement transaction explorer URL.","type":["string","null"]},"network":{"description":"x402 CAIP-2 payment network identifier.","type":"string"},"txHash":{"description":"Verified payment settlement transaction hash. Null when a TON settlement succeeded but its on-chain transaction could not be resolved.","type":["string","null"]}},"required":["assetSymbol","assetAddress","network","amount","amountAtomic","decimals","txHash"],"type":"object"},"paymentReceivedAt":{"description":"Payment received timestamp.","type":["string","null"]},"status":{"description":"Purchase lifecycle status. PAYMENT_RECEIVED means payment is confirmed and automated XAUH delivery is pending; COMPLETED confirms delivery.","enum":["PENDING","PAYMENT_RECEIVED","COMPLETED","FAILED","CANCELLED"],"type":"string"},"statusUrl":{"description":"Canonical purchase request status URL to poll for automated delivery progress until a terminal status.","type":"string"},"tonTransferTxHash":{"description":"TON transfer transaction hash, exposed when delivery is completed and the hash is available.","type":["string","null"]},"tonWalletAddress":{"description":"TON wallet address that will receive XAUH jettons.","type":"string"},"userId":{"description":"User ID.","type":"string"},"xauhAmount":{"description":"Human-readable XAUH amount.","type":"string"},"xauhAmountAtomic":{"description":"XAUH amount in atomic units.","type":"string"},"xauhDecimals":{"description":"XAUH token decimals.","type":"integer"}},"required":["id","userId","tonWalletAddress","statusUrl","xauhAmount","xauhAmountAtomic","xauhDecimals","status","deliveryStatus","payment","createdAt"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Buy tokenized physical gold (XAUH) on TON through x402 using supported stablecoins. Payment settlement creates a purchase request; automated delivery continues asynchronously and can be tracked through statusUrl until COMPLETED.","last_updated":"2026-09-17T09:52:26.005Z","schemes":["exact"]}