AgentCash identity
receives to 0x2a8b…d7ab on Base
POST an amount to the pay endpoint with any x402-capable client. The 402 challenge settles USDC directly to this identity's wallet.
curl -X POST https://rsproule.agentcash.me/api/pay \
-H 'content-type: application/json' \
-d '{"amount": 1, "memo": "gm"}'GET https://rsproule.agentcash.me/api/pay returns this identity's machine-readable payment pointer.
Reference a received payment by its id to request a refund. The identity owner reviews and returns the funds.
curl -X POST https://rsproule.agentcash.me/api/refund \
-H 'content-type: application/json' \
-d '{"paymentId": "<pay id>", "reason": "duplicate"}'