Prepare a payment quote
create_payment_quotePrepare a fixed payment quote for a printed book, including shipping, for MPP and, when listed, x402 (USDC on Base). Requires a complete delivery address. No charge yet. Ask the user to confirm before paying: pay_book for MPP, or POST paymentUrl with an x402 client for USDC. Quote expires after 15 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | ||
| country | Yes | ||
| quantity | No | ||
| bookToken | Yes | ||
| idempotencyKey | Yes | ||
| shippingAddress | Yes |