Skip to main content

webhooks

The consent manager reports the state of a consent request you asked about.

The consent manager reports the state of a consent request you asked about.

POST/api/v3/hiu/consent/request/on-status

GRANTED is absent from status's enum here on purpose: a grant is communicated through the notify callback with consentArtefacts, not through this status callback.

Authorizations

Authorizationbearer tokenRequired

The accessToken from POST /api/hiecm/gateway/v3/sessions. Send it as Authorization: Bearer <ACCESS_TOKEN>.

Body

consentRequestobjectRequired
consentRequest.idstringRequired
consentRequest.statusstringRequired

GRANTED is not one of these values; see the operation description for why.

One of REQUESTEDDENIEDEXPIREDREVOKED

errornullRequired
responseobjectRequired
response.requestIdstringRequired
respnullRequired

Responses

200

OK. Acknowledge quickly, then process asynchronously.

Where this fits

You produce this callback by calling Check the status of a consent request.