Open Banking Consent Events
What is an Open Banking Event?
Our Open Banking (OB) event service allows customers to meet regulatory requirements concerning end-user notifications or to provide other functionality dependent on knowing the state of user consent to collect and use data.
To comply with Subdivision 4.3.5 of the CDR Rules, Australian (AU) OB customers must send notifications “in writing otherwise than through the CDR consumer’s dashboard” to end users whenever consent is granted, amended or revoked (CDR Receipts) as well as ongoing notifications for ongoing consents.
We recommend AU OB customers comply with this requirement by sending an SMS or email to end-users. The rules require that notifications must contain details of the consent, including the requested data, use of the data, time of grant and scheduled expiry, data access frequency, data provider name (e.g., ABC bank), the data recipient name and details of any disclosure consents (such as to trusted advisors or of CDR Insights).
We provide these events to customers of all OB-supported regions. Currently, we do not provide these notifications in PDF format. Events are sent asynchronously after user activity, and a delay of approximately 5 minutes is typical.
Note: OB onboarding must be completed for the relevant OB region prior to subscribing to the events service.
Consent Status Updates Event
The consent status updates event - OB_CONSENT
- occurs when consent is created, amended, expired, or revoked. Information from this event can be used to send a CDR Receipt to AU OB end users (see CDR Rules 4.18, 4.18A and 4.18C). Customers from other OB-supported regions can use this information per their business needs.
Event Subscription
Subscribe to the OB_CONSENT
event using the Subscribe Event service and provide the callback URL where the notifications have to be posted. This is a one-time activity unless and until there is a change to the URL. Note that only one webhooks URL at a time is supported.
Active Consent Updates Event
The active consent updates event - OB_ACTIVE_CONSENT_REMINDER
- notifies that an end-user consent is still active and has been - 90 days for the AU region and other OB-supported regions 30, 60, 90, 120, 150, and 180 days - since the last notification or relevant user action. This event can be used to trigger an ongoing notification to AU OB customers (see CDR Rules 4.20).
Event Subscription
The subscribe API service allows to subscribe to the OB_ACTIVE_CONSENT_REMINDER
event. Provide the callbackUrl
and subscription parameters such as obRegion
and notifyDurationDays
details in the request body.
API URL: |
POST /configs/notifications/custom/events/OB_ACTIVE_CONSENT_REMINDER |
Request Body Parameters:
Attributes | Description | Mandatory | Data Type |
---|---|---|---|
callbackUrl | URL to which the notification should be posted. | Yes | String |
subscription | Object to define the obRegion and notifyDurationDays details. At least one object having both obRegion and notifyDurationDays should be present should be present.Valid Values:
|
Yes | String |
Sample Request Body:
{
"event":{
"callbackUrl":"https://webhook.site/37629a8e-fb37-4351-9d93-cd86f0f11b00",
"subscription":[
{
"obRegion":"US",
"notifyDurationDays":20
},
{
"obRegion":"UK",
"notifyDurationDays":40
},
{
"obRegion":"EU",
"notifyDurationDays":90
},
{
"obRegion":"AU",
"notifyDurationDays":90
}
]
}
}
Response Messages:
HTTP Status Code | Reason |
---|---|
400 | Y803: notifyDurationDays is required |
400 | Y803: obRegion is required |
400 | Y800: Invalid value for callbackUrl |
400 | Y800: Invalid value for obRegion |
400 | Y822: AU cannot be requested for number of days other than 90 days |
400 | Y804: Permitted values of notifyDurationDays between 1 – 365 |
400 | Y400: Event OB_ACTIVE_CONSENT_REMINDER is already subscribed |
Retrieve Event
Use the API to fetch callbackUrl
, obRegion
, and notifyDurationDays
(all regions) details for the OB_ACTIVE_CONSENT_REMINDER
event.
API URL: | GET /configs/notifications/custom/events/OB_ACTIVE_CONSENT_REMINDER |
Sample Response:
{
"event":{
"callbackUrl":"https://webhook.site/37629a8e-fb37-4351-9d93-cd86f0f11b00",
"subscription":[
{
"obRegion":"US",
"notifyDurationDays":20
},
{
"obRegion":"UK",
"notifyDurationDays":40
},
{
"obRegion":"EU",
"notifyDurationDays":90
},
{
"obRegion":"AU",
"notifyDurationDays":90
}
]
}
}
Response Messages:
HTTP Status Code | Reason |
---|---|
400 | Y807: Resource not found |
Update Event
Use the API to update the callbackUrl
and subscription parameters - obRegion
, and notifyDurationDays
details for the OB_ACTIVE_CONSENT_REMINDER
event. If the subscription parameter has having multiple objects (i.e, obRegion
and notifyDurationDays
) then existing value completely replace with latest provided values in PUT API.
API URL: | PUT /configs/notifications/custom/events/OB_ACTIVE_CONSENT_REMINDER |
Request Body Parameters:
Attributes | Description | Mandatory | Data Type |
---|---|---|---|
callbackUrl | URL to which the notification should be posted. | Yes | String |
subscription | Object to define the
| Yes | String |
Sample Request Body:
{
"event":{
"callbackUrl":"https://webhook.site/37629a8e-fb37-4351-9d93-cd86f0f11b00",
"subscription":[
{
"obRegion":"US",
"notifyDurationDays":30
},
{
"obRegion":"AU",
"notifyDurationDays":90
}
]
}
}
Response Messages:
HTTP Status Code | Reason |
---|---|
400 | Y803: notifyDurationDays is required |
400 | Y803: obRegion is required |
400 | Y800: Invalid value for callbackUrl |
400 | Y800: Invalid value for obRegion |
400 | Y822: AU cannot be requested for number of days other than 90 days |
400 | Y804: Permitted values of notifyDurationDays between 1 – 365 |
400 | Y400: Event OB_ACTIVE_CONSENT_REMINDER is already subscribed |
Unsubscribe Event
Use the API to unsubscribe to the OB_ACTIVE_CONSENT_REMINDER
event.
API URL: | DELETE /configs/notifications/custom/events/OB_ACTIVE_CONSENT_REMINDER |
Response Messages:
HTTP Status Code | Reason |
---|---|
400 | Y807: Resource not found |
Event Payload Information
The payload sent to the customer-provided URL has a common structure regardless of the event type. Events are sent asynchronously in small batches - a single payload may contain multiple events.
OB_CONSENT
A sample event for consent authorization for the AU OB region is as follows:
{
"event":{
"data":{
"consent":[
{
"applicationDisplayName":"Sample application name",
"clientTrustedAdvisor":[
{
"email":"john.doe@johndoe.com.au",
"name":"John Doe Accountant",
"role":"accountant"
},
{
"email":"john.doe@johndoelawyers.com.au",
"name":"John Doe Lawyers",
"role":"legal"
}
],
"consentId":76408,
"consentStatus":"ACTIVE",
"dataAccessFrequency":"RECURRING",
"expirationDate":"2024-10-01",
"expirationDateTime":"2024-10-01T00:27:54Z",
"openBankingRegion":"AU",
"previousExpirationDateTime":"2024-01-02T13:30:12Z",
"providerAccountId":64910,
"providerConsentId":"8b00feaa-7e31-4117-90ed-570a148e5fe0",
"providerId":33062,
"providerName":"CDR Sandbox",
"renewal":{
"defaultRenewalDuration":365,
"isReauthorizationRequired":true
},
"scope":[
{
"scopeId":"ACCOUNT_DETAILS",
"title":"Your Account Details",
"titleBody":[
"Name of account",
"Type of account",
"Account balance",
"Account number",
"Interest rates",
"Fees"
]
},
{
"scopeId":"TRANSACTION_DETAILS",
"title":"Your Account Transactions for the Last 90 Days",
"titleBody":[
"Details of your incoming transactions",
"Details of your outgoing transactions",
"Incoming and outgoing transactions",
"Amounts",
"Dates"
]
}
],
"loginName":"login name",
"startDate":"2024-07-01",
"startDateTime":"2024-07-01T07:36:02Z",
"userDataPurge":1,
"cdrlnsightsDisclosure":{
"purpose":"Confirmation of your identity and bank account balance for onboarding to our platform",
"nonAPName":"Fictional Platform",
"cdrlnsights":[
{
"description":"Verify your identity",
"detail":"We will compare identity details from client and confirm if there is a match with the details provided from your bank. For example, \"Yes, there is an identity match.\""
}
]
},
"businessUserDetail":{
"name":"YDL GROUP AUSTRALIA PTY LTD",
"verificationDateTime":"2024-07-01T13:05:58Z",
"abn":"90603489050",
"status":"Active"
}
}
]
},
"info":"OB_CONSENT.CONSENT_CHANGES",
"notificationId":"c6e30610-169639979"
}
}
A sample event for consent revocation for the AU OB region is as follows:
{
"event":{
"data":{
"consent":[
{
"applicationDisplayName":"Sample application name",
"clientTrustedAdvisor":[
{
"email":"john.doe@johndoe.com.au",
"name":"John Doe Accountant",
"role":"accountant"
},
{
"email":"john.doe@johndoelawyers.com.au",
"name":"John Doe Lawyers",
"role":"legal"
}
],
"consentId":76409,
"consentStatus":"REVOKED",
"dataAccessFrequency":"RECURRING",
"expirationDate":"2024-04-01",
"expirationDateTime":"2024-04-01T00:09:01Z",
"openBankingRegion":"AU",
"providerAccountId":64911,
"providerConsentId":"16f76909-8ade-4721-b4ee-a86c17164910",
"providerId":33062,
"providerName":"CDR Sandbox",
"renewal":{
"defaultRenewalDuration":365,
"isReauthorizationRequired":true
},
"revokedDate":"2024-08-04",
"revokedDateTime":"2024-08-04T00:31:50Z",
"scope":[
{
"scopeId":"ACCOUNT_DETAILS",
"title":"Your Account Details",
"titleBody":[
"Name of account",
"Type of account",
"Account balance",
"Account number",
"Interest rates",
"Fees"
]
},
{
"scopeId":"TRANSACTION_DETAILS",
"title":"Your Account Transactions for the Last 90 Days",
"titleBody":[
"Details of your incoming transactions",
"Details of your outgoing transactions",
"Incoming and outgoing transactions",
"Amounts",
"Dates"
]
}
],
"loginName":"login name",
"startDate":"2024-07-01",
"startDateTime":"2024-07-01T07:36:02Z",
"userDataPurge":0,
"cdrlnsightsDisclosure":{
"purpose":"Confirmation of your identity and bank account balance for onboarding to our platform",
"nonAPName":"Fictional Platform",
"cdrlnsights":[
{
"description":"Verify your identity",
"detail":"We will compare identity details from client and confirm if there is a match with the details provided from your bank. For example, \"Yes, there is an identity match.\""
}
]
},
"businessUserDetail":{
"name":"YDL GROUP AUSTRALIA PTY LTD",
"verificationDateTime":"2024-07-01T13:05:58Z",
"abn":"90603489050",
"status":"Active"
}
}
]
},
"info":"OB_CONSENT.CONSENT_CHANGES",
"notificationId":"c6e30610-169639979"
}
}
OB_ACTIVE_CONSENT_REMINDER
A sample event payload for the AU OB region is as follows:
{
"event":{
"data":{
"consent":[
{
"applicationDisplayName":"Sample application name",
"clientTrustedAdvisor":[
{
"email":"john.doe@johndoe.com.au",
"name":"John Doe Accountant",
"role":"accountant"
},
{
"email":"john.doe@johndoelawyers.com.au",
"name":"John Doe Lawyers",
"role":"legal"
}
],
"consentId":76408,
"consentStatus":"ACTIVE",
"dataAccessFrequency":"RECURRING",
"expirationDate":"2024-10-01",
"expirationDateTime":"2024-10-01T00:27:54Z",
"openBankingRegion":"AU",
"previousExpirationDateTime":"2024-01-02T13:30:12Z",
"providerAccountId":64910,
"providerConsentId":"8b00feaa-7e31-4117-90ed-570a148e5fe0",
"providerId":33062,
"providerName":"CDR Sandbox",
"renewal":{
"defaultRenewalDuration":365,
"isReauthorizationRequired":true
},
"cdrlnsightsDisclosure":{
"purpose":"Confirmation of your identity and bank account balance for onboarding to our platform",
"nonAPName":"Fictional Platform",
"cdrlnsights":[
{
"description":"Verify your identity",
"detail":"We will compare identity details from client and confirm if there is a match with the details provided from your bank. For example, \"Yes, there is an identity match.\""
}
]
},
"businessUserDetail":{
"name":"YDL GROUP AUSTRALIA PTY LTD",
"verificationDateTime":"2024-07-01T13:05:58Z",
"abn":"90603489050",
"status":"Active"
},
"scope":[
{
"scopeId":"ACCOUNT_DETAILS",
"title":"Your Account Details",
"titleBody":[
"Name of account",
"Type of account",
"Account balance",
"Account number",
"Interest rates",
"Fees"
]
},
{
"scopeId":"TRANSACTION_DETAILS",
"title":"Your Account Transactions for the Last 90 Days",
"titleBody":[
"Details of your incoming transactions",
"Details of your outgoing transactions",
"Incoming and outgoing transactions",
"Amounts",
"Dates"
]
}
],
"loginName":"login name",
"startDate":"2024-07-01",
"startDateTime":"2024-07-01T23:59:56Z",
"userDataPurge":1
}
]
},
"info":"OB_CONSENT.OB_ACTIVE_CONSENT_REMINDER",
"notificationId":"95267a4e-169639979"
}
}
Note: All timestamps are in universal coordinated time (UTC).
Event Attributes Name | Description |
---|---|
dataAccessFrequency | The frequency, RECURRING or ONE_TIME , at which the system will access user data as part of the account refresh process. Frequency as applicable to the OB-supported region. |
consentId | The unique identifier for each user-consent. |
renewal.defaultRenewalDuration | The renewal duration for a given consent. This attribute is available only for the UK, EU, and AU OB consent. |
renewal.isReauthorizationRequired | Indicates if renewing the consent is required. This attribute is available only for the UK, EU, and AU OB consent. |
providerId | The unique identifier for the provider resource associated with the consent. This ID indicates the provider for which the provider account ID is generated by the user. This ID can be dereferenced using the Get Providers API. |
providerName | The name of the service provider or the institution of the provider resource associated with the consent. This is made available via the Get Accounts API |
loginName | The username of the logged in user. |
consentStatus | The consent status, as applicable to the relevant open banking region. Possible values are, REVOKED , ACTIVE , PENDING , and EXPIRED . |
providerAccountId | The unique identifier for the provider account resource associated with a consent. The ID is created during the account addition process and is made available via the Get Accounts API. |
scope.titleBody | Text that will be displayed as the titlebody of the consent data cluster. |
scope.scopeId | A unique identifier of the data cluster scope. |
scope.title | Text that will be displayed as the title of the particular scope. |
providerConsentId | Unique internal identifier for the consent and is made available via the Get Provider Accounts API. |
applicationDisplayName | The OB application name that will be displayed to the end user. |
startDate | The start date of the consent period. |
startDateTime | The consent start date and time, along with the timezone. |
expirationDate | The date the refresh token expires, and the customer has to renew the access before it expires. |
expirationDateTime | The consent expiration date and time, along with the timezone. This attribute is available only for the UK, EU, and AU OB consents. |
previousExpirationDateTime | The previous consent expiration date and time, along with the timezone. This attribute is available for the UK, EU, and AU OB consents where the consent has been renewed at least once. This attribute will not be available for the consents created before September 2023 unless the consents are renewed. |
revokedDate | The date the consent was revoked date. This attribute is available only when the consentStatus is REVOKED . |
revokedDateTime | The consent revoked date and time along with timezone. This attribute is available only when the consentStatus is REVOKED . |
openBankingRegion | Indicates the OB region, i.e., US , UK , EU , or AU . |
notificationId | Unique identifier for the notification. |
info | The info attribute value will either be OB_CONSENT.CONSENT_CHANGES or OB_CONSENT.OB_ACTIVE_CONSENT_REMINDER . |
userDataPurge | The hard deletion preference value for a consent. This attribute is available only for the AU OB consents. The valid values are as follows:
|
clientTrustedAdvisor | The list of Trusted Advisors opted by the user. The clientTrustedAdvisor list is available in the webhook response only if the Trusted Advisors feature is enabled and the user has given consent by selecting the Trusted Advisors on the customer side. This attribute is available only for the AU OB consents. |
businessUserDetail | The details of the business user such as name, verification datetime, ABN, and status of the ABN. The businessUserDetail is available in the webhook response only if the Business User Disclosure feature is enabled. This attribute is available only for the AU OB consents. |
cdrlnsightsDisclosure | The list of CDR Insights opted by the user. The cdrlnsightsDisclosure list is available in the webhook response only if the CDR Insight disclosure consent feature is enabled and the user has selected insights and provided consent to share insights. This attribute is available only for the AU OB consents. |