Place order
create_orderCreates the real order. Requires a confirm_token minted by validate_order. Returns the payment wallet address, exact crypto amount, 30-minute expiry, and an order-status URL. The purchased code/QR is emailed by Cryptorefills to the buyer — it is never returned here.
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": {
"confirm_token": "<confirm_token>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_name | No | Buyer full legal name — only if a previous attempt returned FULLNAME_MISSING | |
| confirm_token | Yes | One-time token returned by validate_order (valid 10 minutes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | ||
| error | No | Present on failure: KYC_MISSING | FULLNAME_MISSING | PHONE_MISSING | CONFIRM_TOKEN_* | |
| state | No | CREATED | WAITING_FOR_PAYMENT | PARTIAL | COMPLETED | CANCELED | EXPIRED | |
| qr_url | No | QR code PNG of the address | |
| kyc_url | No | Hosted verification link when error=KYC_MISSING | |
| network | No | Exact network — funds sent elsewhere are lost | |
| pay_amount | No | EXACT amount to send | |
| status_url | No | Live order-status page | |
| payment_url | No | Payment page with QR | |
| instructions | No | ||
| status_token | No | ||
| network_label | No | ||
| pay_to_address | No | Wallet address to send funds to | |
| external_order_id | No | ||
| payment_expires_at | No | ISO timestamp; 30-minute window |