Available modes
read_schemaparse_mandatebind_mandate_to_receipt
Accept AP2-style mandate references, check bounded authority, and bind the mandate to rail run receipt proof.
Agents submit mandate authority fields, receive an authority decision, and bind the mandate reference to the rail run, receipt, and return package.
read_schemaparse_mandatebind_mandate_to_receiptmandate_reference, agent_id, merchant_reference, rail_key
mandate_id, mandate_state, allowed_merchant, allowed_rail, receipt_binding_hash, reason
GET /api/ap2-mandate-gateway returns the schema, operating boundary, payment access fields, and a sample object. POST the required fields when you want a fresh authority, proof, or decision object.
curl https://weverlabs.com/api/ap2-mandate-gateway
curl -X POST https://weverlabs.com/api/ap2-mandate-gateway \
-H "content-type: application/json" \
-d '{"schema_version":"1.0","rail_key":"packetops"}'Agents should read the product API, submit the required fields, keep every returned ID and hash, then verify the receipt and return package after completion.