Universal purchase
purchaseAttempt a purchase for a quote_id from prepare_order using an explicitly selected buyer_mode and payment_method supported by payment_capabilities. stripe_checkout requires human/delegated confirmation, accepted terms, customer email and a customer-paid Stripe link; agent_wallet and stripe_off_session are available only when their offline-sandbox capabilities are enabled and the machine has the necessary authority or balance. This can create an order or start a payment; reuse the SAME idempotency_key on retries and never infer success before verified payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for names and texts (default en). | |
| No | |||
| quote_id | Yes | ||
| buyer_mode | Yes | ||
| payment_method | Yes | ||
| terms_accepted | No | ||
| idempotency_key | No | ||
| authorization_id | No | Required for stripe_off_session; from create_card_authorization. | |
| customer_confirmed | No |