Charges
Create a charge
integer
required
Amount in USD cents.
499 = $4.99. Must be > 0.string
Human- (and agent-) readable description. Shows up in the agent’s audit trail.
string
Your own id (order, invoice). Echoed back for reconciliation.
charge.created webhook.
Get a charge
Public bychargeId (treat the id as the capability).
404.
Pay from an agent wallet
Success: paid instantly
Success: needs human approval
POST /approvals/:id/grant with console auth), you receive payment.succeeded + charge.succeeded webhooks.
Rejected
Pay on-chain (x402)
For agents without a Payzor wallet, payment happens in USDC on-chain.Step 1: request terms
402 Payment Required:
200 instead.)
Step 2: retry signed
Repeat the same GET with the signed payload in the header:x402, reference = tx hash) and responds:
402s with an explanation (Pago inválido, Liquidación fallida); the client can fix and retry.