Compare mandate versions
curl -X GET "https://api.52-28-238-205.sslip.io/v1/mandates/{id}/diff" \ -H "Cookie: <console session cookie>"Returns the field changes between two versions. Console session or API key with payment:read.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredMandate id (mdt_...).
Query
fromstringVersion to compare from (default: the active version, else the previous one).
tostringVersion to compare to (default: the latest version).
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.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdMandate id (mdt_...).
from?|Version to compare from (default: the active version, else the previous one).
to?|Version to compare to (default: the latest version).
Success.
application/json- response
from*Fromto*Tochanges*array<>[key: string]?anyGETGet mandate version
Returns one version with its canonical payload, hash and SD-JWT form. Console session or API key with payment:read.
POSTGet mandate signing options
Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).