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, structuredContent = x402 v2 PaymentRequired + wallet_request (wallet args, e.g. PayBox pay_x402). With the signed payment in payment (e.g. PayBox x_payment) or _meta["x402/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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "webaz_pay_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payment | No | PaymentPayload: base64 (PAYMENT-SIGNATURE, PayBox x_payment) or JSON | |
| group_id | No | ||
| order_id | No |