Cancel Sign Request

This endpoint allows RP to initiate a cancellation to a sign request. RP can cancel any active or expired sign requests created by them.

A cancellation request will be rejected if any of the following conditions are met:

  • The user has already initiated a sign session (clicked Proceed to Sign and signing QR code is shown)

  • The document has already been signed

  • The sign request has already been cancelled

Path

POST /sign-requests/cancel

Headers

Name
Value

Content-Type

application/json

Authorization

<token>

Authorization token

RP should sign the signature parameter into a JWT token as authorization token.

  • Token Type: Standard JWT (JSON Web Tokenarrow-up-right)

  • Payload:

    • request_id: Same as the request id returned during initiate sign request

    • client_request: Your application's registered client ID

    • iat & exp: Standard Issued At / Expiration timestamp of JWT. Must issued within 2 minutes.

Example:

Body

Empty

Response

  • 200 OK Sign request successfully cancelled

Sample Request

Last updated