Mandates
POST/v1/mandates/{id}/versions/{version}/sign/options

Get mandate signing options

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

Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/mandates/{id}/versions/{version}/sign/optionsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
Path
  • idstringrequired

    Mandate id (mdt_...).

  • versionstringrequired

    Draft version number.

Authorization

session
cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Mandate id (mdt_...).

version*Version

Draft version number.

Response Body

Success.

application/json
  1. response
challenge*Challenge

Message to sign with the payTo address key to prove control of it.

timeout?integer|null
rpId?string|null
allowCredentials?array<>|null
userVerification?string|null
challenge_id*Challenge Id

Id of the passkey challenge returned by the matching options call.

publicKey*
hash*Hash
[key: string]?any