Consent Management
Overview
Open Finance rules require that customers (your end users) must be able to access, view and manage their long lived consents they have authorized between their account with their bank and your application via a dedicated management interface.
To facilitate this, your application can call the manageConsents()function in the Link SDK to present the dedicated management interface to the customer. By calling this function your customers will be able to view and manage all the long lived consents they have between their bank account and your application.
manageConsents({
app_token: "your_app_token",
customer_id: "your_customer_id",
access_token: "your_customer_scoped_access_token"
})See UX example below:
Consent revocation
Open Finance rules mean that it is mandatory that customers must be able to 'Revoke' (Cancel) an 'Authorised' long lived consent at anytime. Customers can do this via the Consent Management Interface called from your application via the Link SDK.
In the scenario, that a customer does 'revoke' a consent, Lean will notify you with a payment_consent.status.updated web hook to ensure you are kept updated.
See UX example below:
Customers can also 'revoke' consent directly with their bank; in this scenario Lean will also communicate the consent status change to you via
payment_consent.status.updatedweb hook
Updated 4 days ago
