Consent Flows
Get users' consent before you can start pulling their financial data with Setu AA by initiating Consent flow in your application. This flow broadly consists of two parts:
Create Consent request
This is essentially a one-time data request that your user needs to approve. To know more details about this please visit Consent Object page.
Once a consent is created, you will receive a unique id with status = PENDING, along with a url where you can redirect your customer to consent manager screens, to review the data request. Here, the user may approve or reject the request
Consent Request status
You can track the consent status with Get Consent Status API, alternatively Setu will notify you when the user has acted upon the consent request. See Notifications to configure your notification endpoint.