Mandates
GET/v1/mandates
List mandates
curl -X GET "https://api.52-28-238-205.sslip.io/v1/mandates" \ -H "Cookie: <console session cookie>"Lists the organization's mandates with their active and latest versions, scope, limits and status. Console session or API key with payment:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/mandatesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Requires permissionpayment:read
Held by
owner, admin, finance, approver (own team), developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
Success.
application/json- response
data*array<>[key: string]?anyPOSTRevoke agent
Revokes the agent on every rail: credentials, open approvals and pending payments at once, then closes cards, cancels plans and sweeps spending wallets, and adds a signed revocation receipt. Console session or API key with agent:revoke; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.
POSTCreate mandate
Creates a mandate as draft version 1; it takes effect only after it is signed with a passkey. Console session or API key with mandate:edit; the hard cap can't exceed the covered agents' budget.