Objects

CreateConsentRequest

Request body for creating a new PSD2_AIS (Account Information Service) consent for the authenticated external user.

companystring

The bank/provider identifier to create the consent for.

loginMethodstring

The login method to use for authentication. Required when SWEDISH_BANKID parameter is provided.

parametersArray<object>

Consent creation parameters.

One of these types:

Properties below are from the Psd2AisConsentParameter subtype. View the full schema for full details.

Structured PSD2 consent definition for Account Information Service scopes.

accountIdsArray<string>

Explicit account identifiers granted for PSD2_AIS (Account Information Service) access. If accountIds are not set, the consent will apply to all PSU accounts available at the ASPSP.

balancesboolean

Whether balances can be read.

psuIpAddressstring

PSU (Payment Service User) IP address (IPv4 or IPv6 format)

psuLocalestring

Locale string (format: xx-yy, e.g., 'sv-SE', 'en-GB', 'no-NO'), recommended for proper localization of consent flows and user communications.

transactionsboolean

Whether transactions can be fetched.

validUntilstring[date]

Requested expiration date for the consent (format: YYYY-MM-DD). The ASPSP may enforce a shorter expiration period than requested.

Example
{  "company": "se-nordea",  "loginMethod": "SWEDISH_MOBILE_BANKID_SAME_DEVICE",  "parameters": []}