Consent lifecycle
How long a consent lasts, what ends it, and how to renew it.
How long a consent lasts
- A consent is valid for 3 years from creation by default.
- To make it shorter, send
expiryDatewhen you create the connection (POST /connections). It must be in the future and less than 3 years away. - The connection's
expiryDateis included in every connection notification.
What ends a consent
| What happens | Connection status | Data |
|---|---|---|
| The expiry date passes, or at a refresh the bank reports the consent as expired, suspended or ended | EXPIRED | Deleted |
| The user revokes the consent at the bank | REVOKED, at the next refresh | Deleted |
| You delete the connection | TERMINATED_BY_USER | See Deleting a connection |
| A new connection in your organization for the same bank customer starts its first collection | REPLACED | Deleted |
| The bank reports the consent as suspended when the user finishes the consent journey | SUSPENDED_BY_PROVIDER | See Connection states |
For the full list of statuses see Connection states.
Renewing a consent
A consent cannot be extended in place. To renew it, create a new connection for the same bank and send the user through the consent journey again. When the new connection starts its first collection, earlier connections at that bank for the same bank customer (same ID number and ID type, and the same company number for a business) become REPLACED, and their data is deleted. The match is on the bank customer, not on userId.
There is no notification before a consent expires. Track expiryDate and start the new connection before that date.
Consent reminders
If consent reminders are enabled for your organization, users who verified their phone number during the consent journey get an SMS every six months while the connection is ACTIVE. The SMS tells them the consent is still active and when it ends. Your integration does not receive these reminders.
Updated about 14 hours ago
