Check out (sandbox: test card, USDC or USDT)
checkoutPlace a SANDBOX order: nothing ships and no money moves. payment.method is 'card', 'usdc' or 'usdt'. card: only test cards work (4242424242424242 succeeds, 4000000000000002 declines; any future expiry, any 3-digit cvc). usdc (networks base, ethereum, solana, polygon) or usdt (ethereum, tron, solana): returns a simulated payment_request with the amount in token units (6 decimals), a SANDBOX pay_to that is not a real address, and an expiry; then call confirm_crypto_payment with a fake tx hash. Never send real funds or a real card.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cart_id": "<cart_id>",
"payment": "<payment>"
},
"name": "checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | ||
| payment | Yes | ||
| shipping | No |