End-point URL #
http://[ip]:[port]/psd2/v1/consents/[consent-id]
Headers #
X-Request-ID: [request-id] – Required: A unique request ID (GUID).
Content-Type: application/json – Required: Specifies the request and response format.
PSU-ID: [user-id] – Optional: User identifier obtained upon login.
Response #
{
"access": {
"accounts": [
{
"iban": {
"iban": "BG53TEPJ40131001000119"
},
"currency": "BGN"
}
],
"balances": [
{
"iban": {
"iban": "BG53TEPJ40131001000119"
},
"currency": "BGN"
}
],
"transactions": [
{
"iban": {
"iban": "BG53TEPJ40131001000119"
},
"currency": "BGN"
}
]
},
"recurringIndicator": true,
"validUntil": "2020-01-01",
"frequencyPerDay": 4,
"combinedServiceIndicator": false,
"_links": {
"account": {
"href": "/v1/accounts"
},
"balances": [
{
"href": "/v1/accounts/balances/5756e531-e1ca-4db8-9a19-9412a5539d50",
"iban": "BG53TEPJ40131001000119"
}
],
"transactions": [
{
"href": "/v1/accounts/transactions/5756e531-e1ca-4db8-9a19-9412a5539d50",
"iban": "BG53TEPJ40131001000119"
}
],
"accountDetails": [
{
"href": "/v1/accounts/5756e531-e1ca-4db8-9a19-9412a5539d50",
"iban": "BG53TEPJ40131001000119"
}
]
}
}
Note: The response includes links to access account details, balances, and transactions associated with the consent. These links can be used to perform operations on the respective accounts.
Snippet #