Create Consent

This method create a consent resource, defining access rights to user accounts. These accounts are addressed explicitly in the method as parameters as a core function.

Side Effects
When this consent request is a request where the "recurringIndicator" equals "true", and if it exists already a former consent for recurring access on account information for the addressed PSU, then the former consent automatically expires as soon as the new consent request is authorised by the PSU.

Optional Extension:
As an option, an ASPSP might optionally accept a specific access right on the access on PSD2 related services for all available accounts.

As option an ASPSP might optionally also accept a command, where only access rights are inserted without mentioning the addressed account.
The relation to accounts is then handled afterwards between PSU and ASPSP.

As a last option, an ASPSP might in addition accept a command with access rights

  • to see the list of available payment accounts or
  • to see the list of available payment accounts with balances.
Log in to see full request history
Body Params
access
object
required

Requested access services for a consent.

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.

date
required

This parameter is defining a valid until date (including the mentioned date) for the requested consent.

Max value for this field is 90 days.
If date is provided more than 90 days, it will be decreased to 90 days.
Less than 90 days, will remain same as provided date.

int32
required

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.

Headers
uuid
required

ID of the request, unique to the call, as determined by the initiating party.

string
required

Is contained if and only if the "Signature" element is contained in the header of the request.

string
required

A signature of the request by the TPP on application level. This might be mandated by ASPSP.

string

Identity number of user to identify client in ASPSP systems.

string

Identity number of corporate user to identify corporate client in ASPSP systems.

string
required

The forwarded IP Address header field consists of the corresponding HTTP request IP Address field between PSU and TPP. It shall be contained if and only if this request was actively initiated by the PSU.

string

HTTP header indicates the natural language and locale that the client prefers.

uri
required

URI of the TPP, where user will be redirected to after accepting consent.

boolean

If it equals "true", the TPP prefers to start the authorisation process separately.
If it equals "false" or if the parameter is not used, there is no preference of the TPP.
This especially indicates that the TPP assumes a direct authorisation of the transaction in the next step.

boolean

If it equals "true", the TPP prefers a redirect SCA approach.
If it equals "false", the TPP prefers not to be redirected for SCA. The ASPSP will consider the Decoupled SCA approach, depending on the parameter TPP-Decoupled-Preferred.

The parameter is required to be false, if TPP prefers to use decoupled SCA aproach and TPP-Decoupled-Preferred is "true".

If the parameter is not used, ASPSP will consider Redirect SCA Approach.

boolean

If it equals "true", the TPP prefers a decoupled SCA approach.
If it equals "false", the TPP prefers not to use the decoupled approach for SCA. The ASPSP will consider redirect as SCA approach.

The parameter is required if TPP prefers to use decoupled SCA aproach.

If both parameters TPP-Redirect-Preferred and TPP-Decoupled-Preferred are present and true, the request is still not rejected and ASPSP will consider Redirect SCA Approach.

string

The forwarded IP Port header field consists of the corresponding HTTP request IP Port field between PSU and TPP, if available.

string

The forwarded Geo Location of the corresponding http request between PSU and TPP if available.

Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json