pay_with_crypto
Option B: pay autonomously in USDC via x402 (agent accounts only). Call without payment_signature to get the payment requirements (amount, asset, pay_to, network); nothing is charged. Then sign an x402 'exact' payment and call again with payment_signature (the base64 PAYMENT-SIGNATURE value). If account credit covers the whole total, you get status 'credit_confirmation_required' and a credit_confirmation token instead; call again with confirm_credit to place the order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | Quote id (qt_...) returned by create_quote | |
| use_credit | No | Apply account credit before charging USDC | |
| confirm_credit | No | The credit_confirmation token from the previous call, to place an order fully paid by account credit | |
| payment_signature | No | Base64 x402 PAYMENT-SIGNATURE for the requirements from the first call; omit to get the requirements |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||