4.1.Create consent
POST /api/v1/consents
Create an account information consent resource at the ASPSP regarding access to accounts specified in the request.
Path parameters
No path parameters.Query parameters
No query parameters.Request headers
Attribute | Type | Condition | Description |
---|---|---|---|
X-Request-ID | String | Mandatory | ID of the request, unique to the call, as determined by the initiating party (TPP). |
Authorization | String | Mandatory | The oAuth2 Bearer token obtained from the performed SCA performed prior to this request. |
API-Key | String | Mandatory | Consumer key available on the developers portal. |
TPP-Redirect-URI | String | Mandatory | URI of the TPP, where the transaction flow shall be redirected to after a Redirect. |
Request body
No request body,
Response Code
HTTP Response Code 201 (Created).
Response headers
Attribute | Type | Condition | Description |
---|---|---|---|
X-Request-ID | UUID | Mandatory | ID of the request, unique to the call, as determined by the initiating party (TPP). |
Response body
Attribute | Type | Condition | Description |
---|---|---|---|
consentStatus | Mandatory | Authentication status of the consent. | |
consentId | String | Mandatory | Identification of the consent resource as it is used in the API structure. |
_links | Array | Mandatory | A list of hyperlinks to be recognized by the TPP. |
psuMessage | String | Optional | Messages to be displayed to the PSU. |