Fetch consent details
GET/v1/consents/consentId
Description​
Retrieve detailed information about a specific consent.
Access account details, balances and transactions authorised by a specific consent.
Request​
Path Parameters
The ID of the consent as returned by the consent request.
Header Parameters
ID of the request sent to the server, unique to the call, as determined by the initiating party.
The certificate used for signature verification.
The client ID associated with the request.
A unique identifier related to the registered merchant in the corresponding API environment, available within the application's details.
Responses​
- 200
- 400
- 401
- 403
- 404
- 405
- 406
- 409
- 429
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
access objectThe access information granted with the consent.
accounts object[]The accounts linked to the consent.
balances object[]The balances of the accounts that the consent is granted for.
transactions object[]The transactions associated with the consent.
Available options: allAcounts (when used the accounts, balances and transactions are empty).
Available options: allAccounts (when used the accounts, balances and transactions are empty).
Available options: allAccounts (when used the accounts, balances and transactions are empty).
The status of the consent.
Available options:
0 = "The consent is received"
1 = "The consent is rejected"
2 = "The consent is valid"
3 = "The consent is revoked by PSU"
4 = "The consent is expired"
5 = "The consent is terminated by TPP"
links objectLinks associated to the consent.
property name object
{
"access": {
"accounts": [
{
"iban": "string",
"bban": "string",
"pan": "string",
"maskedPan": "string",
"msisdn": "string",
"currency": "string"
}
],
"balances": [
{
"iban": "string",
"bban": "string",
"pan": "string",
"maskedPan": "string",
"msisdn": "string",
"currency": "string"
}
],
"transactions": [
{
"iban": "string",
"bban": "string",
"pan": "string",
"maskedPan": "string",
"msisdn": "string",
"currency": "string"
}
],
"availableAccounts": "string",
"availableAccountsWithBalance": "string",
"allPsd2": "string"
},
"recurringIndicator": true,
"validUntil": "2024-11-07",
"frequencyPerDay": 0,
"lastActionDate": "2024-11-07",
"consentStatus": 0,
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
Description: 0 = "FORMATERROREnum", 1 = "PARAMETERNOTCONSISTENTEnum", 2 = "PARAMETERNOTSUPPORTEDEnum", 3 = "SERVICEINVALIDEnum", 4 = "RESOURCEUNKNOWNEnum", 5 = "RESOURCEEXPIREDEnum", 6 = "RESOURCEBLOCKEDEnum", 7 = "TIMESTAMPINVALIDEnum", 8 = "PERIODINVALIDEnum", 9 = "SCAMETHODUNKNOWNEnum", 10 = "CONSENTUNKNOWNEnum", 11 = "SESSIONSNOTSUPPORTEDEnum", 12 = "INVALIDTOTALAMOUNTEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
Description: 0 = "CERTIFICATEINVALIDEnum", 1 = "CERTIFICATEEXPIREDEnum", 2 = "CERTIFICATEBLOCKEDEnum", 3 = "CERTIFICATEREVOKEEnum", 4 = "CERTIFICATEMISSINGEnum", 5 = "SIGNATUREINVALIDEnum", 6 = "SIGNATUREMISSINGEnum", 7 = "CORPORATEIDINVALIDEnum", 8 = "PSUCREDENTIALSINVALIDEnum", 9 = "CONSENTINVALIDEnum", 10 = "CONSENTEXPIREDEnum", 11 = "TOKENUNKNOWNEnum", 12 = "TOKENINVALIDEnum", 13 = "TOKENEXPIREDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
properties object
items object
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0, 1, 2, 3]
Description: 0 = "CONSENTUNKNOWNEnum", 1 = "SERVICEBLOCKEDEnum", 2 = "RESOURCEUNKNOWNEnum", 3 = "RESOURCEEXPIREDEnum"
links object
property name object
{
"authenticationSchemes": [
"string"
],
"properties": {
"items": {}
},
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "UNKNOWNEnum"
links object
property name object
{
"statusCode": 0,
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "INVALIDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
tppMessages object[]
Possible values: [0, 1]
Description: 0 = "ERROR", 1 = "WARNING"
Possible values: [0]
Description: 0 = "EXCEEDEDEnum"
links object
property name object
{
"tppMessages": [
{
"category": 0,
"code": 0,
"path": "string",
"text": "string"
}
],
"links": {}
}