Ends the interaction successfully. Call this endpoint once the customer has authenticated and approved the consent, and after the consent has been updated in the Consent Manager.
Heimdall updates the interaction state, generates an OIDC authorization code, and returns the response for the TPP. The financial institution can specify claims to add to the ID token – Heimdall creates the ID token with these claims, along with any claims required by FAPI and OIDC.
Heimdall returns 302 with a redirect URI in the Location header. Redirect the customer to this URI.
Parameters
The request body can contain any set of application/x-www-form-urlencoded name-value pairs. Heimdall adds them to the ID token, using the parameter name as the claim name and the parameter value as the claim value.
Names prefixed with heimdall. are control parameters for the tokens that are produced. They aren't added to the ID token.
For CDR account-access consents, consent-derived token controls override the corresponding request parameters, as described below.