Body of the JSON response for a successfull get consent request.
name | data type | constraints | description |
---|---|---|---|
access | AccountAccess | required | Get access |
recurringIndicator | boolean | required | \"true\", if the consent is for recurring access to the account data. \"false\", if the consent is for one access to the account data. |
validUntil | string | required | This parameter is requesting a valid until date for the requested consent. The content is the local ASPSP date in ISO-Date format, e.g. 2017-10-30. Future dates might get adjusted by ASPSP. If a maximal available date is requested, a date in far future is to be used: \"9999-12-31\". In both cases the consent object to be retrieved by the get consent request will contain the adjusted date. |
frequencyPerDay | number | required, min: 1 | This field indicates the requested maximum frequency for an access without PSU involvement per day. For a one-off access, this attribute is set to \"1\". The frequency needs to be greater equal to one. If not otherwise agreed bilaterally between TPP and ASPSP, the frequency is less equal to 4. minimum: 1 |
lastActionDate | string | required | This date is containing the date of the last action on the consent object either through the XS2A interface or the PSU/ASPSP interface having an impact on the status. |
consentStatus | ConsentStatus | required | Get consentStatus |
_links | map of object | Get links |
Example
{ "access" : { "accounts" : [ { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." }, { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." } ], "balances" : [ { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." }, { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." } ], "transactions" : [ { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." }, { "iban" : "...", "bban" : "...", "pan" : "...", "maskedPan" : "...", "msisdn" : "...", "currency" : "..." } ], "additionalInformation" : { "ownerName" : [ { }, { } ] }, "availableAccounts" : "...", "availableAccountsWithBalance" : "...", "allPsd2" : "..." }, "recurringIndicator" : true, "validUntil" : "...", "frequencyPerDay" : 12345, "lastActionDate" : "...", "consentStatus" : "TERMINATEDBYTPP", "_links" : { "property1" : { }, "property2" : { } } }