webaz_pay_order
Pays a Direct Pay order (order_id) or checkout group (group_id) in USDC via x402 (api_key or OAuth payment:relay; see payment.x402 / checkout_group.pay_with in the order read). Without a payment: isError with the x402 PaymentRequired in structuredContent, signed by the buyer's own wallet (e.g. PayBox pay_x402 with accepts). With the signed PaymentPayload in _meta["x402/payment"] (or base64 in payment): submits it. Does not sign. Needs the owner's one-time consent on webaz.xyz (Me page, Passkey). X402_SETTLEMENT_PENDING: still settling; the same payment can be resent unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payment | No | base64 PaymentPayload (PAYMENT-SIGNATURE value) | |
| group_id | No | ||
| order_id | No |