mDocs

Sign an mDoc

Signs the provided mDoc payload using the referenced Document Signer Certificate (DSC).

Analytic events

  • MOBILE_CREDENTIAL_SIGN_START
  • MOBILE_CREDENTIAL_SIGN_SUCCESS
  • MOBILE_CREDENTIAL_SIGN_FAIL
SecuritybearerAuth
Request
Request Body schema: application/json
required
required
object (SignRequestPayload)
documentSignerId
string <uuid>

Identifier of the DSC that will be used to sign the mDoc.

Responses
200

mDoc signed

400

Bad Request

post/v2/credentials/mobile/sign
Request samples
application/json
{
  • "payload": {
    },
  • "documentSignerId": "d1bd2bfe-76e0-46bd-a958-78eaa909132a"
}
Response samples
application/json
{
  • "encoded": "string",
  • "decoded": {
    }
}