Public endpoints
POST/v1/public/consent/{token}/decline

Decline consent

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/consent/{token}/decline"

Declines a pending consent session and returns the platform's redirect URL with status declined. Anyone holding the token; rate limited to 30 requests per minute per IP.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/public/consent/{token}/declineBase URL: https://api.52-28-238-205.sslip.io
Path
  • tokenstringrequired

    One-time consent token from the link the platform sent the consumer (valid 24 hours).

Path Parameters

token*Token

One-time consent token from the link the platform sent the consumer (valid 24 hours).

Response Body

Success.

application/json
  1. response
redirect_url*Redirect Url

Platform URL the consumer returns to after consent, with status (and mandate_id on success).

status*Status

Current state; the allowed values and moves are in the state machines reference.

[key: string]?any