Get a mandate request
The draft an outside agent asked the shopper to sign, who is asking, and whether it is signed yet.
Path Parameters
Mandate request id.
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/api/mandate-requests/7d1f0c2a-3b4e-4f5a-9c6d-8e7f1a2b3c4d"{ "id": "7d1f0c2a-3b4e-4f5a-9c6d-8e7f1a2b3c4d", "request": "A black hoodie in size M under $80", "draft": { "item": "black hoodie", "category": "hoodie", "quantity": 1, "maxPrice": 80, "currency": "USD", "attributes": { "color": "black", "size": "M" }, "mustAsk": [] }, "ready": { "ok": true }, "agent": { "name": "Claude", "verified": false }, "status": "PENDING", "mandateId": null, "expiresAt": "2026-10-21T18:00:00.000Z"}Shop inside a mandate POST
Undo's agent searches, checks the cart against the signed limits, and opens a PayPal checkout in AUTHORIZE mode. Without a saved wallet the shopper approves at `approveUrl`; with one (and only if the mandate allows it) the money is held straight away. One live purchase per mandate. Rate limited per visitor.
Answer, prepare or sign a mandate request POST
- `answer`: answers the agent's open questions; the draft is re-read from the new text. - `prepare`: the exact mandate this device's key must sign. - `sign`: stores the signed mandate; it must match the request byte for byte (same words, limits and agent).