The service requests payment
HTTP 402 Payment Required: amount and terms, machine-readable.
Your AI agents buy services and settle them on their own, in MAD, on licensed rails — via x402, the open standard for machine-to-machine payments.
↓See the protocolHTTP 402 Payment Required: amount and terms, machine-readable.
MAD wallet, a signed operation, no card involved.
Settlement on an internal ledger, receipt and webhook.

An agent settles a resource — test network or production
AgentPay runs on Aslan's rails — Principal Agent of a payment institution licensed by Bank Al-Maghrib.
Pre-funded agent accounts, in dirhams, ready to spend.
Verify and settle — the layer that validates and executes every x402 payment.
operationId, statuses, webhooks: every movement leaves a trail.
Your services sell to agents. The protocol runs both ways.
A public sandbox: a demo wallet, 100 MAD, and real transactions on our test network — the full protocol end to end.