Returns the content of an account information consent object. This is returning the data for the TPP especially in cases, where the consent was directly managed between ASPSP and PSU e.g. in a redirect SCA Approach.
643 matches
34 actions
Swiss NextGen Banking API-Framework
34 actions
- Confirmation of funds requestPOSTv1.0.0
- Consent status requestGETv1.0.0
- Create a signing basket resourcePOSTv1.0.0
- Create consentPOSTv1.0.0
- Delete ConsentDELETEv1.0.0
- Delete the signing basketDELETEv1.0.0
- Get consent authorisation sub-resources requestGETv1.0.0
- Get consent requestGETv1.0.0
- Get payment informationGETv1.0.0
- Get payment initiation authorisation sub-resources requestGETv1.0.0
- Get signing basket authorisation sub-resources requestGETv1.0.0
- Payment cancellation requestDELETEv1.0.0
- Payment initiation requestPOSTv1.0.0
- Payment initiation status requestGETv1.0.0
- Read account detailsGETv1.0.0
- Read account listGETv1.0.0
- Read balanceGETv1.0.0
- Read the SCA status of the consent authorisationGETv1.0.0
- Read the SCA status of the payment authorisationGETv1.0.0
- Read the SCA status of the payment cancellation's authorisationGETv1.0.0
- Read the SCA status of the signing basket authorisationGETv1.0.0
- Read the status of the signing basketGETv1.0.0
- Read transaction detailsGETv1.0.0
- Read transaction list of an accountGETv1.0.0
- Returns the content of an signing basket objectGETv1.0.0
- Start the authorisation process for a consentPOSTv1.0.0
- Start the authorisation process for a payment initiationPOSTv1.0.0
- Start the authorisation process for a signing basketPOSTv1.0.0
- Start the authorisation process for the cancellation of the addressed paymentPOSTv1.0.0
- Update PSU Data for consentsPUTv1.0.0
- Update PSU data for payment initiationPUTv1.0.0
- Update PSU data for payment initiation cancellationPUTv1.0.0
- Update PSU data for signing basketPUTv1.0.0
- Will deliver an array of resource identifications to all generated cancellation authorisation sub-resourcesGETv1.0.0
Finance/Swiss NextGen Banking API-Framework
Get consent request
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
{
"type": "object",
"properties": {
"Digest": {
"type": "string"
},
"PSU-Accept": {
"type": "string"
},
"PSU-Accept-Charset": {
"type": "string"
},
"PSU-Accept-Encoding": {
"type": "string"
},
"PSU-Accept-Language": {
"type": "string"
},
"PSU-Device-ID": {
"type": "string"
},
"PSU-Geo-Location": {
"type": "string"
},
"PSU-Http-Method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
]
},
"PSU-IP-Address": {
"type": "string",
"format": "ipv4"
},
"PSU-IP-Port": {
"type": "string"
},
"PSU-User-Agent": {
"type": "string"
},
"Signature": {
"type": "string"
},
"TPP-Signature-Certificate": {
"type": "string",
"format": "byte"
},
"X-Request-ID": {
"type": "string"
},
"consentId": {
"type": "string",
"description": "ID of the corresponding consent object as returned by an account information consent request.\n"
}
},
"required": [
"X-Request-ID",
"consentId"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
{
"type": "object",
"description": "Body of the JSON response for a successfull get consent request.",
"required": [
"access",
"consentStatus",
"frequencyPerDay",
"lastActionDate",
"recurringIndicator",
"validUntil"
],
"properties": {
"_links": {
"type": "object",
"description": "A list of hyperlinks to be recognised by the TPP.\n\nLinks of type \"account\" and/or \"cardAccount\", depending on the nature of the consent.\n",
"properties": {
"account": {
"type": "object",
"description": "Link to a resource.",
"properties": {
"href": {
"type": "string",
"description": "Link to a resource."
}
}
},
"card-account": {
"type": "object",
"description": "Link to a resource.",
"properties": {
"href": {
"type": "string",
"description": "Link to a resource."
}
}
}
}
},
"access": {
"type": "object",
"description": "Requested access services for a consent.\n",
"properties": {
"accounts": {
"type": "array",
"description": "Is asking for detailed account information. \n\nIf the array is empty in a request, the TPP is asking for an accessible account list. \nThis may be restricted in a PSU/ASPSP authorization dialogue. \nIf the array is empty, also the arrays for balances, additionalInformation sub attributes or transactions shall be empty, if used.\n",
"items": {
"type": "object",
"description": "Reference to an account by either\n * IBAN, of a payment accounts, or\n * otherAccountIdentification, for payment accounts if there is no IBAN\nadapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy\n",
"properties": {
"cashAccountType": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
},
"currency": {
"type": "string",
"description": "ISO 4217 Alpha 3 currency code.\n"
},
"iban": {
"type": "string",
"description": "IBAN of an account."
},
"otherAccountIdentification": {
"type": "string",
"description": "Other payment account Identifier.\nadapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH\n"
}
}
}
},
"additionalInformation": {
"type": "object",
"description": "Optional if supported by API provider.\n\nIs asking for additional information as added within this structured object.\nThe usage of this data element requires at least one of the entries \"accounts\", \n\"transactions\" or \"balances\" also to be contained in the object. \nIf detailed accounts are referenced, it is required in addition that any account addressed within \nthe additionalInformation attribute is also addressed by at least one of the attributes \"accounts\", \n\"transactions\" or \"balances\".\n",
"properties": {
"ownerName": {
"type": "array",
"description": "Is asking for account owner name of the accounts referenced within. \nIf the array is empty in the request, the TPP is asking for the account \nowner name of all accessible accounts. \nThis may be restricted in a PSU/ASPSP authorization dialogue. \nIf the array is empty, also the arrays for accounts, balances or transactions shall be empty, if used.\nThe ASPSP will indicate in the consent resource after a successful authorisation, \nwhether the ownerName consent can be accepted by providing the accounts on which the ownerName will \nbe delivered. \nThis array can be empty.\n",
"items": {
"type": "object",
"description": "Reference to an account by either\n * IBAN, of a payment accounts, or\n * otherAccountIdentification, for payment accounts if there is no IBAN\nadapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy\n",
"properties": {
"cashAccountType": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
},
"currency": {
"type": "string",
"description": "ISO 4217 Alpha 3 currency code.\n"
},
"iban": {
"type": "string",
"description": "IBAN of an account."
},
"otherAccountIdentification": {
"type": "string",
"description": "Other payment account Identifier.\nadapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH\n"
}
}
}
},
"trustedBeneficiaries": {
"type": "array",
"description": "Optional if supported by API provider.\nIs asking for the trusted beneficiaries related to the accounts referenced within and related to the PSU.\nIf the array is empty in the request, the TPP is asking for the lists of trusted beneficiaries of all accessible accounts. \nThis may be restricted in a PSU/ASPSP authorization dialogue by the PSU if also the account lists addressed \nby the tags “accounts”, “balances” or “transactions” are empty.\nThe ASPSP will indicate in the consent resource after a successful authorisation, \nwhether the trustedBeneficiaries consent can be accepted by providing the accounts on which the list of trusted beneficiaries will be delivered. \nThis array can be empty.\n",
"items": {
"type": "object",
"description": "Reference to an account by either\n * IBAN, of a payment accounts, or\n * otherAccountIdentification, for payment accounts if there is no IBAN\nadapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy\n",
"properties": {
"cashAccountType": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
},
"currency": {
"type": "string",
"description": "ISO 4217 Alpha 3 currency code.\n"
},
"iban": {
"type": "string",
"description": "IBAN of an account."
},
"otherAccountIdentification": {
"type": "string",
"description": "Other payment account Identifier.\nadapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH\n"
}
}
}
}
}
},
"allPsd2": {
"type": "string",
"description": "Optional if supported by API provider.\n\nThe values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. \nThe support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.\n",
"enum": [
"allAccounts",
"allAccountsWithOwnerName"
]
},
"availableAccounts": {
"type": "string",
"description": "Optional if supported by API provider.\n\nThe values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. \nThe support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.\n",
"enum": [
"allAccounts",
"allAccountsWithOwnerName"
]
},
"availableAccountsWithBalance": {
"type": "string",
"description": "Optional if supported by API provider.\n\nThe values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. \nThe support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.\n",
"enum": [
"allAccounts",
"allAccountsWithOwnerName"
]
},
"balances": {
"type": "array",
"description": "Is asking for balances of the addressed accounts.\n\nIf the array is empty in the request, the TPP is asking for the balances of all accessible account lists. \nThis may be restricted in a PSU/ASPSP authorization dialogue. \nIf the array is empty, also the arrays for accounts, additionalInformation sub attributes or transactions shall be empty, if used.\n",
"items": {
"type": "object",
"description": "Reference to an account by either\n * IBAN, of a payment accounts, or\n * otherAccountIdentification, for payment accounts if there is no IBAN\nadapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy\n",
"properties": {
"cashAccountType": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
},
"currency": {
"type": "string",
"description": "ISO 4217 Alpha 3 currency code.\n"
},
"iban": {
"type": "string",
"description": "IBAN of an account."
},
"otherAccountIdentification": {
"type": "string",
"description": "Other payment account Identifier.\nadapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH\n"
}
}
}
},
"restrictedTo": {
"type": "array",
"description": "If the TPP requests access to accounts via availableAccounts (List of available accounts), global \nor bank driven consents, the TPP may include this element to restrict access to the referred \naccount types. Absence of the element is interpreted as \"no restriction\" (therefore access to \naccounts of all types is requested). The element may only occur, if each of the elements \n - accounts \n - balances \n - transactions \nis either not present or contains an empty array. \n",
"items": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
}
},
"transactions": {
"type": "array",
"description": "Is asking for transactions of the addressed accounts. \n\nIf the array is empty in the request, the TPP is asking for the transactions of all accessible account lists. \nThis may be restricted in a PSU/ASPSP authorization dialogue. \nIf the array is empty, also the arrays for accounts, additionalInformation sub attributes or balances shall be empty, if used.\n",
"items": {
"type": "object",
"description": "Reference to an account by either\n * IBAN, of a payment accounts, or\n * otherAccountIdentification, for payment accounts if there is no IBAN\nadapted from ISO pain.001.001.03.ch.02 CashAccount16-CH_IdTpCcy\n",
"properties": {
"cashAccountType": {
"type": "string",
"description": "ExternalCashAccountType1Code from ISO 20022.\n"
},
"currency": {
"type": "string",
"description": "ISO 4217 Alpha 3 currency code.\n"
},
"iban": {
"type": "string",
"description": "IBAN of an account."
},
"otherAccountIdentification": {
"type": "string",
"description": "Other payment account Identifier.\nadapted from ISO pain.001.001.03.ch.02 GenericAccountIdentification1-CH\n"
}
}
}
}
}
},
"consentStatus": {
"type": "string",
"description": "This is the overall lifecycle status of the consent.\n\nValid values are:\n - 'received': The consent data have been received and are technically correct.\n The data is not authorised yet.\n - 'rejected': The consent data have been rejected e.g. since no successful authorisation has taken place.\n - 'valid': The consent is accepted and valid for GET account data calls and others as specified in the consent object.\n - 'revokedByPsu': The consent has been revoked by the PSU towards the ASPSP.\n - 'expired': The consent expired.\n - 'terminatedByTpp': The corresponding TPP has terminated the consent by applying the DELETE method to the consent resource.\n - 'partiallyAuthorised': The consent is due to a multi-level authorisation, some but not all mandated authorisations have been performed yet.\n\nThe ASPSP might add further codes. These codes then shall be contained in the ASPSP's documentation of the XS2A interface \nand has to be added to this API definition as well.\n",
"enum": [
"received",
"rejected",
"valid",
"revokedByPsu",
"expired",
"terminatedByTpp",
"partiallyAuthorised"
]
},
"frequencyPerDay": {
"type": "integer",
"description": "This field indicates the requested maximum frequency for an access without PSU involvement per day.\nFor a one-off access, this attribute is set to \"1\".\n\nThe frequency needs to be greater equal to one.\n\nIf not otherwise agreed bilaterally between TPP and ASPSP, the frequency is less equal to 4.\n"
},
"lastActionDate": {
"type": "string",
"format": "date",
"description": "This date is containing the date of the last action on the consent object either through\nthe XS2A interface or the PSU/ASPSP interface having an impact on the status.\n"
},
"recurringIndicator": {
"type": "boolean",
"description": "\"true\", if the consent is for recurring access to the account data.\n\n\"false\", if the consent is for one access to the account data.\n"
},
"validUntil": {
"type": "string",
"format": "date",
"description": "This parameter is defining a valid until date (including the mentioned date) for the requested consent. \nThe content is the local ASPSP date in ISO-Date format, e.g. 2017-10-30.\n\nFuture dates might get adjusted by ASPSP. \n\nIf a maximal available date is requested, a date in far future is to be used: \"9999-12-31\". \n\nIn both cases the consent object to be retrieved by the get consent request will contain the adjusted date.\n"
}
}
}