v0.0.9
OAS 2.0
Consents - API definition
Consents - API definition
Client Libraries
Get a list of consents for the PSU doing this call (indicated by the JWT token).
If true then the response will contain the active consents.
If true then the response will contain the historical consents.
If true then the response will contain the open (initiated) consents.
OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
415 Unsupported Media Type
500 Internal Server Error
503 Service Unavailable
curl 'https://api.cls.oob.ockto.cloud/ais/consents/?active=&historical=&open=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": [
{
"consentId": "f3cb5c80-6520-4bf7-b02b-593db8d1ad5a",
"consentedServices": [
"BALANCES",
"TRANSACTIONS",
"DETAILS"
],
"lastUpdated": "2020-03-04T10:04:52.179Z",
"providerConsentId": "c9c473d9-5bae-42a5-8493-0ec60c8ba304",
"validUntil": "2020-06-02T00:00:00.000Z",
"created": "2020-03-04T09:59:04.450Z",
"frequencyPerDay": 4,
"consentedAt": "2020-03-04T09:59:22.000Z",
"aisStatus": "RISK_OK",
"recurringIndicator": true,
"consentStatus": "VALID",
"nearlyExpired": true,
"userId": "14dd3422-fbd1-4254-8a68-d4bbf59f24dd",
"provider": "RABO",
"options": {
"transactions": {
"dateFrom": "2013-03-04T09:59:22.927Z",
"dateTo": "2020-03-04T00:00:00.000Z",
"dateFormat": "YYYY-MM-DDTHH:mm:ss.SSSZ"
},
"access": {
"ais.transactions.read-90days": [
{
"currency": "EUR",
"iban": "NLXXRABO03500XXXXX"
}
],
"ais.transactions.read-history": [
{
"currency": "EUR",
"iban": "NLXXRABO03500XXXXX"
}
],
"ais.balances.read": [
{
"currency": "EUR",
"iban": "NLXXRABO03500XXXXX"
}
]
}
},
"region": "NL",
"type": "AIS",
"providerUrl": "https://api.rabobank.nl/openapi/oauth2/authorize?client_id=f68c877b-7f34-4433-ab37-55f66356713e&redirect_uri=cashws%3A%2F%2Fauth_token&response_type=code&scope=ais.balances.read%20ais.transactions.read-90days%20ais.transactions.read-history%20oauth2.consents.read"
}
],
"pagination": {
"index0": {
"pagination": {
"next": {},
"prev": {}
}
},
"index1": {
"pagination": {
"next": {},
"prev": {}
}
},
"index2": {
"pagination": {
"next": {},
"prev": {}
}
}
}
}OK