create_order
Create the real order (requires confirm_token from validate_order, after user approval). 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.
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 |