Mandates
GET/v1/mandates/{id}

Get mandate

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/mandates/{id}" \  -H "Cookie: <console session cookie>"

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.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/mandates/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
  • agentKeyAuthorization: Bearer agk_test_...
Path
  • idstringrequired

    Mandate id (mdt_...).

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Mandate id (mdt_...).

Response Body

Success.

application/json
  1. response
mandate*

One mandate version. The agent-facing GET returns only id, version, status, limits, allowed, expires_at.

active_version?integer|null
latest_version?integer|null
versions*array<>
agents?array<>|null
[key: string]?any