Mandates
GET/v1/mandates/template
Get mandate template
curl -X GET "https://api.52-28-238-205.sslip.io/v1/mandates/template" \ -H "Cookie: <console session cookie>"Returns pre-filled mandate fields and the allowed options (rails, assets, merchant tiers, categories, chains) for the editor. Console session or API key with payment:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/mandates/templateBase 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
fields*options*[key: string]?anyPOSTCreate 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.
GETGet mandate
Returns a mandate with all its versions and the agents it governs. Console session or API key with payment:read; an agent credential may read only its own mandate, redacted to status, limits, allowed values and expiry.