charge_create
Buy a service. Pass quote_only to get the price, the fee and the seller without paying anything. Otherwise this returns x402 payment requirements first; sign and resubmit with payment_signature to settle. Settles from YOUR agent wallet. Always pass idempotency_key when retrying so a charge that already settled is not paid for twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_only | No | Price and seller only. Nothing is charged and no payment is requested. | |
| service_id | Yes | The service to buy. | |
| schedule_id | No | Which price option. Defaults to the first chargeable one on the service. | |
| idempotency_key | No | Reuse the same key when retrying so a settled charge is not paid for twice. | |
| payment_signature | No | Base64 x402 PAYMENT-SIGNATURE header value. |