API reference
Scroll down for example requests and responses.
Base URLs:
https://api.tilisy.com (deprecated)
# Flow diagrams
# Account information flow
Application (i.e. API client) makes GET /aspsps request to obtain a list of available ASPSPs along with necessary meta data.
List of available ASPSPs is returned and displayed to a PSU.
The PSU selects desired ASPSP and an application makes POST /auth request, specifying desired ASPSP and providing information about needed access rights.
Enable Banking starts authorisation in a desired ASPSP.
Enable Banking responds to the client with a redirect url to a Enable Banking page, where PSU needs to be redirected.
The PSU is redirected to the Enable Banking page.
After the PSU is redirected, Enable Banking does interactions with an ASPSP necessary to get authorised access to the PSU's account.
These actions are ASPSP-specific and may be different depending of the authentication method (which may be specified at step 3).
The PSU is redirected to the callback URL provided by the application with additional parameters added in its query string.
If the authorisation went successfully then query string from step 8 will contain
code
parameter, which needs to be sent in POST /sessions request.The Enable Banking API will respond with created session_id along with a list of accessible accounts and their details.
Note that some of the information returned in that call is shown only once.
After successfull response to POST /sessions request the application can start making requests to Enable Banking API to fetch information about session, account balances and transactions.
Possible query parameters returned in the step 8 (parameters follow The OAuth 2.0 Authorization Framework (opens new window)):
code
— authorisation code.state
— same as state, provided in the step 1.error
— error codeerror_description
— human-readable error description
Possible error descriptions:
Denied data sharing consent
— user cancelled authentication before accepting data sharing consent (error code isaccess_denied
)Cancelled by user
— user cancelled authorisation of access to account information (error code isaccess_denied
). There are also arbitrary error descriptions possible, which are coming from ASPSPs.
# Payment initiation flow
Application (i.e. API client) makes GET /aspsps request to obtain a list of available ASPSPs along with necessary meta data.
List of available ASPSPs is returned and displayed to a PSU.
The PSU selects desired ASPSP and the application makes POST /payments request, specifying a desired ASPSP, providing details for the payment to be initiated and other details such as callback URL, preferred authentication method, etc.
Enable Banking responds to the application with an ID assigned to the payment and a URL of the page, where PSU needs to be redirected.
The PSU is redirected to the Enable Banking page, where they shall review payment details and terms of the service.
After the PSU accepted term of service, Enable Banking does interactions with the ASPSP necessary to initiate the payment and complete its authorisation.
These actions are ASPSP-specific and may be different depending of the authentication method (which may be specified at step 3).
The PSU is redirected to the callback URL provided by the application with additional parameters added in its query string.
Possible query parameters returned in the step 7:
state
— same as state, provided in the step 1.error
— error codeerror_description
— human-readable error description
Possible error descriptions:
Cancelled by user
— user cancelled authorisation of the payment (error code isaccess_denied
). There are also arbitrary error descriptions possible, which are coming from ASPSPs.
# Authentication
In order to get access to this API you need to:
- Generate a private RSA key and a self-signed certificate;
- Upload the certificate to enablebanking.com and get application ID;
- Construct JWT with the data described below and signed with your private key;
- Send the JWT in the Authorization header.
# Private key and certificate generation
Generating private RSA key
openssl genrsa -out private.key 4096
OpenSSL CLI can be used for generation of a private key and self-signed certificate.
Make sure you keep the private key in secret (e.g. don't expose it to client, share with anyone nor embed into mobile or other apps intalled to user devices).
Generating self-signed certificate
openssl req -new -x509 -days 365 -key private.key -out public.crt -subj "/C=FI/ST=Uusima/L=Helsinki/O=ExampleOrganisation/CN=www.bigorg.com"
You should replace values under -subj
with appropriate values.
Alternatively you can use the private key generated in your browser when registering a new application. Just choose Generate in the browser (using SubtleCrypto) and export private key option when registering an application, and the private key will be exported after the application has been registered (the corresponding certificate will be used for the app registration).
# Certificate upload and application registration
In order to register a new application you need to have an account on enablebanking.com website. You can create one by going to https://enablebanking.com/sign-in/ and entering your email address (one-time authentication link will be sent to your email address).
In the app registration form (https://enablebanking.com/cp/applications) you will be asked to upload public certificate that you created for the application being registered.
An application can be registered to either PRODUCTION
(aka "live") or SANDBOX
(aka "simulation")
environment. Applications can not be transferred from the sandbox to the production environment and
vice-versa.
Applications registered into the sandbox environment are activated automatically, while applications registered to the production environment at first appear as pending and will be either activated automatically when a first account is linked or manually when contractual formalities for the use of the API are cleared. For more information please contact us at info@enablebanking.com.
App registration
curl -X POST -H "Authorization: Bearer YOUR-JWT-ON-ENABLEBANKING-COM" \
-H "Content-Type: application/json" \
-d "{\"name\":\"My app\",\"certificate\":\"$(cat public.crt | tr '\n' '|' | sed 's/|/\\n/g')\",\"environment\":\"SANDBOX\",\"redirect_urls\":[\"https://example.org/\"]}" \
https://enablebanking.com/api/applications
You can also register an application sending POST request containing JSON with the application details and public certificate to https://enablebanking.com/api/applications endpoint.
After the registration is complete, you would receive application id to be used when forming JTW token.
# JWT format and signature
JWT example
eyJ0eXAiOiAiSldUIiwgImFsZyI6ICJSUzI1NiIsICJraWQiOiAiY2Y1ODliZTMtMzc1NS00NjViLWE4ZGYtYTkwYTE2YTMxNDAzIn0.eyJpc3MiOiAiZW5hYmxlYmFua2luZy5jb20iLCAiYXVkIjogImFwaS50aWxpc3kuY29tIiwgImlhdCI6IDE2MDE0NTY3NjgsICJleHAiOiAxNjAxNTQzMTY4fQ.daO3ENSYIA3ud7Ay7uGQ0xxqq9r4_WLcM5SbrN_6_fqsFZXFdoGQA5nKiyP8Ot4nWdYcZvaNWxEAOIodUFndOP8pjihF9-rMXuNGEjde1cq2WjYzKwiIeodUej8okDWdB--szcgurzGMd8RRMjqr951PWqnXS-PbrRsavDHp8l2q4YBjh2m80nRruKnQCAn0dtm4A5G9rZaEowo9z-c8HJU101jKddyOpHhl9UvxVrERzHtyO4LdidiP4rP1hmaVMWybSbcIMI_h30qjqWP21kYRH9ENITTttbf0uZIa8s74jKYxNIdiiDyRaq9WjoPolrHI_ZxcMjp8mmCKX-N-1w
You can read more about JWT here: https://jwt.io/introduction/
JWT header must contain following fields:
- "typ": "JWT" (always the same)
- "alg": "RS256" (always the same, only RS256 is supported)
- "kid": "<application_id>" (application id obtained after certificate upload)
JWT body must contain following fields:
- "iss": "enablebanking.com" (always the same)
- "aud": "api.enablebanking.com" (always the same, formerly had to be "api.tilisy.com", which is now depricated)
- "iat": 1601456603 (timestamp when the token is being created)
- "exp": 1601460262 (timestamp when the token expires)
Maximum allowed time-to-live for token is 86400 seconds (24 hours). Tokens created with longer TTL are not accepted by the API.
Check code samples in C#, Node.js, PHP, Python and Ruby in our Github repository (opens new window)
https://github.com/enablebanking/enablebanking-api-samples
# Send request with JWT provided
Example request
GET https://api.enablebanking.com/application HTTP/1.1
Host: api.enablebanking.com
Authorization: Bearer eyJ0eXAiOiAiSldUIiwgImFsZyI6ICJSUzI1NiIsICJraWQiOiAiY2Y1ODliZTMtMzc1NS00NjViLWE4ZGYtYTkwYTE2YTMxNDAzIn0.eyJpc3MiOiAiZW5hYmxlYmFua2luZy5jb20iLCAiYXVkIjogImFwaS5lbmFibGViYW5raW5nLmNvbSIsICJpYXQiOiAxNjAxNDU2NzY4LCAiZXhwIjogMTYwMTU0MzE2OH0.daO3ENSYIA3ud7Ay7uGQ0xxqq9r4_WLcM5SbrN_6_fqsFZXFdoGQA5nKiyP8Ot4nWdYcZvaNWxEAOIodUFndOP8pjihF9-rMXuNGEjde1cq2WjYzKwiIeodUej8okDWdB--szcgurzGMd8RRMjqr951PWqnXS-PbrRsavDHp8l2q4YBjh2m80nRruKnQCAn0dtm4A5G9rZaEowo9z-c8HJU101jKddyOpHhl9UvxVrERzHtyO4LdidiP4rP1hmaVMWybSbcIMI_h30qjqWP21kYRH9ENITTttbf0uZIa8s74jKYxNIdiiDyRaq9WjoPolrHI_ZxcMjp8mmCKX-N-1w
In order to authenticate your application, you need to provide JWT in the "Authorization" header of your request.
# User sessions
The following operations can be used to initiate and complete end-user authorization for access to account information. The other operations provide possibility to retrieve session status and other details and to close (delete) a session.
# Start user authorization
POST /auth
Start authorization by getting a redirect link and redirecting a PSU to that link
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | StartAuthorizationRequest | true | none |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
POST https://api.enablebanking.com/auth HTTP/1.1
Host: api.enablebanking.com
Content-Type: application/json
Accept: application/json
Authorization: Bearer <JWT>
Request body
{
"access": {
"valid_until": "2020-12-01T12:00:00.000000+00:00"
},
"aspsp": {
"name": "Nordea",
"country": "FI"
},
"state": "3a57e2d3-2e0c-4336-af9b-7fa94f0606a3",
"redirect_url": "http://example.com",
"psu_type": "business",
"auth_method": "methodName",
"credentials": {
"userId": "MyUsername"
},
"credentials_autosubmit": true,
"language": "fi",
"psu_id": "string"
}
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | StartAuthorizationResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"url": "https://tilisy.enablebanking.com/welcome?sessionid=73100c65-c54d-46a1-87d1-aa3effde435a",
"authorization_id": "73100c65-c54d-46a1-87d1-aa3effde435a",
"psu_id_hash": "string"
}
# Authorize user session
POST /sessions
Authorize user session by provided authorization code
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | AuthorizeSessionRequest | true | none |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
POST https://api.enablebanking.com/sessions HTTP/1.1
Host: api.enablebanking.com
Content-Type: application/json
Accept: application/json
Authorization: Bearer <JWT>
Request body
{
"code": "string"
}
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | AuthorizeSessionResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"session_id": "string",
"accounts": [
{
"account_id": {
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
},
"all_account_ids": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"account_servicer": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"name": "string",
"details": "string",
"usage": "PRIV",
"cash_account_type": "CACC",
"product": "string",
"currency": "string",
"psu_status": "string",
"credit_limit": {
"currency": "EUR",
"amount": "1.23"
},
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"identification_hashes": [
"WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"WwpbCiJhc3BzcF9uYW1lIgpdLApbCiJhc3BzcF9jb3VudHJ5IgpdLApbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoib3RoZXIiLAoic2NoZW1lX25hbWUiCl0sClsKImFjY291bnQiLAoiYWNjb3VudF9pZCIsCiJvdGhlciIsCiJpZGVudGlmaWNhdGlvbiIKXQpd.AOm/TULGPD4a4GdcWhR9xh0GPlPUZuB2O1S9SYFWEz0="
]
}
],
"aspsp": {
"name": "Nordea",
"country": "FI"
},
"psu_type": "business",
"access": {
"valid_until": "2021-01-01T00:00:00Z"
}
}
# Get session data
GET /sessions/{session_id}
Get session data by session id
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
session_id | path | string(uuid) | true | Previously authorized session id |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/sessions/{session_id} HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | GetSessionResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"access": {
"valid_until": "2020-12-01T12:00:00.000000+00:00"
},
"accounts": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"accounts_data": [
{
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"uid": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"aspsp": {
"country": "FI",
"name": "Nordea"
},
"authorized": "2020-12-01T12:00:00.000000+00:00",
"created": "2020-12-01T12:00:00.000000+00:00",
"psu_type": "business",
"status": "AUTHORIZED"
}
# Delete session
DELETE /sessions/{session_id}
Delete session by session id. PSU's bank consent will be closed automatically if possible
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
session_id | path | string(uuid) | true | Previously authorized session id |
Psu-Ip-Address | header | string | false | PSU IP address |
Psu-User-Agent | header | string | false | PSU browser User Agent |
Psu-Referer | header | string | false | PSU Referer |
Psu-Accept | header | string | false | PSU accept header |
Psu-Accept-Charset | header | string | false | PSU charset |
Psu-Accept-Encoding | header | string | false | PSU accept encoding |
Psu-Accept-language | header | string | false | PSU accept language |
Psu-Geo-Location | header | string | false | Comma separated latitude and longitude coordinates without spaces |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
DELETE https://api.enablebanking.com/sessions/{session_id} HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Psu-Ip-Address: string
Psu-User-Agent: string
Psu-Referer: string
Psu-Accept: string
Psu-Accept-Charset: string
Psu-Accept-Encoding: string
Psu-Accept-language: string
Psu-Geo-Location: -1.2345,6.789
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | SuccessResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"message": "OK"
}
# Accounts data
# Get account details
GET /accounts/{account_id}/details
Fetching account details from ASPSP for an account by its ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
account_id | path | string(uuid) | true | Account id |
Psu-Ip-Address | header | string | false | PSU IP address |
Psu-User-Agent | header | string | false | PSU browser User Agent |
Psu-Referer | header | string | false | PSU Referer |
Psu-Accept | header | string | false | PSU accept header |
Psu-Accept-Charset | header | string | false | PSU charset |
Psu-Accept-Encoding | header | string | false | PSU accept encoding |
Psu-Accept-language | header | string | false | PSU accept language |
Psu-Geo-Location | header | string | false | Comma separated latitude and longitude coordinates without spaces |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/accounts/{account_id}/details HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Psu-Ip-Address: string
Psu-User-Agent: string
Psu-Referer: string
Psu-Accept: string
Psu-Accept-Charset: string
Psu-Accept-Encoding: string
Psu-Accept-language: string
Psu-Geo-Location: -1.2345,6.789
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | AccountResource |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"account_id": {
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
},
"all_account_ids": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"account_servicer": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"name": "string",
"details": "string",
"usage": "PRIV",
"cash_account_type": "CACC",
"product": "string",
"currency": "string",
"psu_status": "string",
"credit_limit": {
"currency": "EUR",
"amount": "1.23"
},
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"identification_hashes": [
"WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"WwpbCiJhc3BzcF9uYW1lIgpdLApbCiJhc3BzcF9jb3VudHJ5IgpdLApbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoib3RoZXIiLAoic2NoZW1lX25hbWUiCl0sClsKImFjY291bnQiLAoiYWNjb3VudF9pZCIsCiJvdGhlciIsCiJpZGVudGlmaWNhdGlvbiIKXQpd.AOm/TULGPD4a4GdcWhR9xh0GPlPUZuB2O1S9SYFWEz0="
]
}
# Get account balances
GET /accounts/{account_id}/balances
Fetching account balances from ASPSP for an account by its ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
account_id | path | string(uuid) | true | PSU account ID accessible in the provided session |
Psu-Ip-Address | header | string | false | PSU IP address |
Psu-User-Agent | header | string | false | PSU browser User Agent |
Psu-Referer | header | string | false | PSU Referer |
Psu-Accept | header | string | false | PSU accept header |
Psu-Accept-Charset | header | string | false | PSU charset |
Psu-Accept-Encoding | header | string | false | PSU accept encoding |
Psu-Accept-language | header | string | false | PSU accept language |
Psu-Geo-Location | header | string | false | Comma separated latitude and longitude coordinates without spaces |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/accounts/{account_id}/balances HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Psu-Ip-Address: string
Psu-User-Agent: string
Psu-Referer: string
Psu-Accept: string
Psu-Accept-Charset: string
Psu-Accept-Encoding: string
Psu-Accept-language: string
Psu-Geo-Location: -1.2345,6.789
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | HalBalances |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"balances": [
{
"name": "Booked balance",
"balance_amount": {
"currency": "EUR",
"amount": "1.23"
},
"balance_type": "(ISO20022 ClosingBooked) Accounting Balance",
"last_change_date_time": "2019-08-24T14:15:22Z",
"reference_date": "2019-08-24",
"last_committed_transaction": "4604aa90-f8a8-4180-92d8-0c3270846f0a"
}
]
}
# Get account transactions
GET /accounts/{account_id}/transactions
Fetching account transactions from ASPSP for an account by its ID
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
account_id | path | string(uuid) | true | PSU account ID accessible in the provided session |
date_from | query | string(date) | false | Date to fetch transactions from (including the date, UTC timezone is assumed) |
date_to | query | string(date) | false | Date to fetch transactions to (including the date, UTC timezone is assumed) |
continuation_key | query | string | false | Key, allowing iterate over multiple API pages of transactions |
transaction_status | query | TransactionStatus | false | Filter transactions by provided status |
Psu-Ip-Address | header | string | false | PSU IP address |
Psu-User-Agent | header | string | false | PSU browser User Agent |
Psu-Referer | header | string | false | PSU Referer |
Psu-Accept | header | string | false | PSU accept header |
Psu-Accept-Charset | header | string | false | PSU charset |
Psu-Accept-Encoding | header | string | false | PSU accept encoding |
Psu-Accept-language | header | string | false | PSU accept language |
Psu-Geo-Location | header | string | false | Comma separated latitude and longitude coordinates without spaces |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/accounts/{account_id}/transactions HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Psu-Ip-Address: string
Psu-User-Agent: string
Psu-Referer: string
Psu-Accept: string
Psu-Accept-Charset: string
Psu-Accept-Encoding: string
Psu-Accept-language: string
Psu-Geo-Location: -1.2345,6.789
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | HalTransactions |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"transactions": [
{
"entry_reference": "5561990681",
"merchant_category_code": "5511",
"transaction_amount": {
"currency": "EUR",
"amount": "1.23"
},
"creditor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"creditor_account": {
"iban": "FI1737631867613465"
},
"creditor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"debtor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"debtor_account": {
"iban": "FI8638798819867751"
},
"debtor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"bank_transaction_code": {
"description": "Utlandsbetalning",
"code": "12",
"sub_code": "32"
},
"credit_debit_indicator": "CRDT",
"status": "BOOK",
"booking_date": "2020-01-03",
"value_date": "2020-01-02",
"transaction_date": "2020-01-01",
"balance_after_transaction": {
"currency": "EUR",
"amount": "1.23"
},
"reference_number": "RF07850352502356628678117",
"remittance_information": [
"RF07850352502356628678117",
"Gift for Alex"
],
"debtor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"creditor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"exchange_rate": {
"unit_currency": "EUR",
"exchange_rate": "string",
"rate_type": "SPOT",
"contract_identification": "string",
"instructed_amount": {
"currency": "EUR",
"amount": "1.23"
}
},
"note": "string"
}
],
"continuation_key": "string"
}
# Payments
The following operations can be used to initiate a payment and get its status indicating whether the payment was executed, cancelled or rejected.
Please note that in the PRODUCTION environment payment initiation functionality is only available to companies holding a PISP license. To enable payment initiation functionality for your application, please get in touch with us at support.api@enablebanking.com.
In the SANDBOX enviroment payment initiation functionality is automatically enabled for all newly registered applications.
If you are using "on-premise" version on the payment initiation service please consult with this page (opens new window).
# Create Payment
POST /payments
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | CreatePaymentRequest | true | none |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
POST https://api.enablebanking.com/payments HTTP/1.1
Host: api.enablebanking.com
Content-Type: application/json
Accept: application/json
Authorization: Bearer <JWT>
Request body
{
"aspsp": {
"name": "S-Pankki",
"country": "FI"
},
"state": "b463a960-9616-4df6-909f-f80884190c22",
"redirect_url": "https://google.com/",
"psu_type": "personal",
"payment_type": "SEPA",
"payment_request": {
"credit_transfer_transaction": [
{
"instructed_amount": {
"amount": "10.33",
"currency": "EUR"
},
"beneficiary": {
"creditor": {
"name": "Organisation/Person Name"
},
"creditor_account": {
"scheme_name": "IBAN",
"identification": "FI0455231152453547"
}
}
}
]
}
}
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | CreatePaymentResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "PDNG",
"url": "https://sandbox.tilisy.com/pis/start?payment_id=9bbd806c-f144-4eb5-8eb7-48650ff4d56b"
}
# Get Payment
GET /payments/{payment_id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
payment_id | path | string | true | Payment ID |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/payments/{payment_id} HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | GetPaymentResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"payment_id": "d43b87f9-9e28-4802-8eaa-6ee91a40ea71",
"status": "ACCC"
}
# Misc
Operations in this section are auxiliary. One provides the possibility to retrieve a list of ASPSPs (i.e. banks and similar institutions), which are available for retrieval of account information and initiation of payments. The other provides details of the API client application making corresponding request.
# Get list of ASPSPs
GET /aspsps
Get list of ASPSPs with their meta information
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
country | query | string | false | Display only ASPSPs from specified country |
psu_type | query | PSUType | false | Display only ASPSPs which support specified psu type |
service | query | Service | false | Display only ASPSPs which support specified service |
payment_type | query | PaymentType | false | Display only ASPSPs which support specified payment type |
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/aspsps HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | GetAspspsResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"aspsps": [
{
"name": "Nordea",
"country": "FI",
"logo": "https://enablebanking.com/brands/FI/Nordea/",
"psu_types": [
"personal",
"business"
],
"auth_methods": [
{
"name": "string",
"title": "string",
"psu_type": "business",
"credentials": [
{
"name": "userId",
"title": "User ID",
"required": true,
"description": "Your identifier used for logging in to online banking",
"template": "^\\d{8}$"
}
],
"approach": "REDIRECT",
"hidden_method": true
}
],
"maximum_consent_validity": 0,
"sandbox": {
"users": [
{
"username": "MyUsername",
"password": "MySecretPassowrd",
"otp": "123456"
}
]
},
"beta": true,
"bic": "string",
"required_psu_headers": [
"string"
],
"payments": [
{
"payment_type": "SEPA",
"max_transactions": 0,
"currencies": [
"string"
],
"debtor_account_required": false,
"debtor_account_schemas": [
"CHID"
],
"creditor_account_schemas": [
"CHID"
],
"priority_codes": [
"HIGH"
],
"charge_bearer_values": [
"SLEV"
],
"creditor_country_required": false,
"creditor_name_required": false,
"creditor_postal_address_required": false,
"remittance_information_required": false,
"remittance_information_lines": [
{
"min_length": 0,
"max_length": 0,
"pattern": "string"
}
],
"debtor_currency_required": false,
"debtor_contact_email_required": false,
"debtor_contact_phone_required": false,
"creditor_agent_bic_fi_required": false,
"creditor_agent_clearing_system_member_id_required": false,
"allowed_auth_methods": [
"string"
],
"regulatory_reporting_codes": [
{
"value": "string",
"description": "string"
}
],
"regulatory_reporting_code_required": false,
"reference_number_supported": false,
"psu_type": "business"
}
]
}
]
}
# Get application
GET /application
Get application associated with provided JWT key id
Authentication
To make this opteration, API requests must include Authorization
header containing JWT calculated using private RSA key of the client application making the request. See jwtAuthentication.
Example request
GET https://api.enablebanking.com/application HTTP/1.1
Host: api.enablebanking.com
Accept: application/json
Authorization: Bearer <JWT>
Responses
Status | Description | Schema |
---|---|---|
200 | Successful Response | GetApplicationResponse |
401 | Unauthorized | ErrorResponse |
403 | Forbidden | ErrorResponse |
408 | Request Timeout | ErrorResponse |
422 | Unprocessable Entity | ErrorResponse |
500 | Internal Server Error | ErrorResponse |
Example responses
200 Response
{
"name": "string",
"description": "string",
"kid": "string",
"environment": "SANDBOX",
"redirect_urls": [
"http://example.com"
],
"active": true,
"countries": [
"string"
],
"services": [
"AIS"
]
}
# Schemas
# ASPSP
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Name of the ASPSP (i.e. a bank or a similar financial institution) |
country | string | true | Two-letter ISO 3166 code of the country, in which ASPSP operates |
{
"name": "Nordea",
"country": "FI"
}
# ASPSPData
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Name of the ASPSP (i.e. a bank or a similar financial institution) |
country | string | true | Two-letter ISO 3166 code of the country, in which ASPSP operates |
logo | string(uri) | true | ASPSP logo URL. It is possible to transform (e.g. resize) the logo by adding special suffixes at the end of the URL. For example, -/resize/500x/ . For full list of possible transformations, please refer to https://uploadcare.com/docs/transformations/image_transformations/ |
psu_types | [PSUType] | true | list of PSU types supported by ASPSP |
auth_methods | [AuthMethod] | true | list of available authentication methods. Provided in case multiple methods are available or it is possible to supply authentication credentials while initiating authorization. |
maximum_consent_validity | integer | true | Maximum consent validity which bank supports in seconds |
sandbox | SandboxInfo | false | Applicable only to sandbox environment. Additional information necessary to use sandbox environment. |
beta | boolean | true | Flag showing whether implementation is in beta mode |
bic | string | false | BIC of the ASPSP |
required_psu_headers | [string] | false | list of required PSU headers |
payments | [ResponsePaymentType] | false | Supported payment types by country |
{
"name": "Nordea",
"country": "FI",
"logo": "https://enablebanking.com/brands/FI/Nordea/",
"psu_types": [
"personal",
"business"
],
"auth_methods": [
{
"name": "string",
"title": "string",
"psu_type": "business",
"credentials": [
{
"name": "userId",
"title": "User ID",
"required": true,
"description": "Your identifier used for logging in to online banking",
"template": "^\\d{8}$"
}
],
"approach": "REDIRECT",
"hidden_method": true
}
],
"maximum_consent_validity": 0,
"sandbox": {
"users": [
{
"username": "MyUsername",
"password": "MySecretPassowrd",
"otp": "123456"
}
]
},
"beta": true,
"bic": "string",
"required_psu_headers": [
"string"
],
"payments": [
{
"payment_type": "SEPA",
"max_transactions": 0,
"currencies": [
"string"
],
"debtor_account_required": false,
"debtor_account_schemas": [
"CHID"
],
"creditor_account_schemas": [
"CHID"
],
"priority_codes": [
"HIGH"
],
"charge_bearer_values": [
"SLEV"
],
"creditor_country_required": false,
"creditor_name_required": false,
"creditor_postal_address_required": false,
"remittance_information_required": false,
"remittance_information_lines": [
{
"min_length": 0,
"max_length": 0,
"pattern": "string"
}
],
"debtor_currency_required": false,
"debtor_contact_email_required": false,
"debtor_contact_phone_required": false,
"creditor_agent_bic_fi_required": false,
"creditor_agent_clearing_system_member_id_required": false,
"allowed_auth_methods": [
"string"
],
"regulatory_reporting_codes": [
{
"value": "string",
"description": "string"
}
],
"regulatory_reporting_code_required": false,
"reference_number_supported": false,
"psu_type": "business"
}
]
}
# Access
Properties
Name | Type | Required | Description |
---|---|---|---|
accounts | [AccountIdentification] | false | List of accounts access to which is requested. If not set behaviour depends on the bank: some banks allow users to choose list of accessible accounts through their access consent UI, while other may provide access to all accounts or just access to the list of accounts. |
balances | boolean | false | Request consent with balances access |
transactions | boolean | false | Request consent with transactions access |
valid_until | string(date-time) | true | This parameter is requesting a valid until date for the requested consent. The value shall be in RFC3339 date and time format with timezone specified, e.g. 2020-12-01T12:00:00.000000+00:00. The value might get adjusted to fullfil ASPSP requirements. |
{
"accounts": [
{
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
}
],
"balances": true,
"transactions": true,
"valid_until": "2019-08-24T14:15:22Z"
}
# AccountIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
iban | string | false | International Bank Account Number (IBAN) - identification used internationally by financial institutions to uniquely identify the account of a customer. Further specifications of the format and content of the IBAN can be found in the standard ISO 13616 "Banking and related financial services - International Bank Account Number (IBAN)" version 1997-10-01, or later revisions. |
other | GenericIdentification | false | Other identification if iban is not provided |
{
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
}
# AccountResource
Properties
Name | Type | Required | Description |
---|---|---|---|
account_id | AccountIdentification | false | none |
all_account_ids | [GenericIdentification] | false | All account identifiers provided by ASPSPs (including primary identifier available in the accountId field) |
account_servicer | FinancialInstitutionIdentification | false | Information about the financial institution servicing the account |
name | string | false | Account holder(s) name |
details | string | false | Account description set by PSU or provided by ASPSP |
usage | Usage | false | Specifies the usage of the account |
cash_account_type | CashAccountType | true | Specifies the type of the account |
product | string | false | Product Name of the Bank for this account, proprietary definition |
currency | string | true | none |
psu_status | string | false | Relationship between the PSU and the account - Account Holder - Co-account Holder - Attorney |
credit_limit | AmountType | false | Specifies credit limit of the account |
uid | string(uuid) | false | Unique account identificator used for fetching account balances and transactions. It is valid only until the session to which the account belongs is in the AUTHORIZED status. It can be not set in case it is know that it is not possible to fetch balances and transactions for the account (for example, in case the account is blocked or closed at the ASPSP side). |
identification_hash | string | true | Primary account identification hash. It can be used for matching accounts between multiple sessions (even in case the sessions are authorized by different PSUs). |
identification_hashes | [string] | true | List of possible account identification hashes. Identification hash is based on the account number. Some accounts may have multiple account numbers (e.g. IBAN and BBAN). This field contains all possible hashes. Not all of these hashes can be used to uniquely identify an account and that the primary goal of them is to be able to fuzzy matching of accounts by certain properties. Primary hash is included in this list. |
{
"account_id": {
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
},
"all_account_ids": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"account_servicer": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"name": "string",
"details": "string",
"usage": "PRIV",
"cash_account_type": "CACC",
"product": "string",
"currency": "string",
"psu_status": "string",
"credit_limit": {
"currency": "EUR",
"amount": "1.23"
},
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"identification_hashes": [
"WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"WwpbCiJhc3BzcF9uYW1lIgpdLApbCiJhc3BzcF9jb3VudHJ5IgpdLApbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoib3RoZXIiLAoic2NoZW1lX25hbWUiCl0sClsKImFjY291bnQiLAoiYWNjb3VudF9pZCIsCiJvdGhlciIsCiJpZGVudGlmaWNhdGlvbiIKXQpd.AOm/TULGPD4a4GdcWhR9xh0GPlPUZuB2O1S9SYFWEz0="
]
}
# AddressType
Enumerated Values
Value | Description |
---|---|
Business | Business |
Correspondence | Correspondence |
DeliveryTo | DeliveryTo |
MailTo | MailTo |
POBox | POBox |
Postal | Postal |
Residential | Residential |
Statement | Statement |
"Business"
# AmountType
Properties
Name | Type | Required | Description |
---|---|---|---|
currency | string | true | ISO 4217 code of the currency of the amount |
amount | string | true | Numerical value or monetary figure associated with a particular transaction, representing balance on an account, a fee or similar. Represented as a decimal number, using . (dot) as a decimal separator. Allowed precision (number of digits after the decimal separator) varies depending on the currency and is validated differently depending on the context. |
{
"currency": "EUR",
"amount": "1.23"
}
# AuthMethod
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | false | Internal name of the authentication method |
title | string | false | Human-readable title of the authentication method |
psu_type | PSUType | true | PSU type to which the authentication method is applicable |
credentials | [Credential] | false | list of credentials which are possible to supply while initiating authorization. |
approach | AuthenticationApproach | true | Authentication approach used in the current authentication method |
hidden_method | boolean | true | Flag showing whether the current authentication method is hidden from the user. If true then the user will not be able to select this authentication method. It is inly possible to select this authentication method via API. |
{
"name": "string",
"title": "string",
"psu_type": "business",
"credentials": [
{
"name": "userId",
"title": "User ID",
"required": true,
"description": "Your identifier used for logging in to online banking",
"template": "^\\d{8}$"
}
],
"approach": "REDIRECT",
"hidden_method": true
}
# AuthenticationApproach
Enumerated Values
Value | Description |
---|---|
REDIRECT | REDIRECT |
DECOUPLED | DECOUPLED |
EMBEDDED | EMBEDDED |
"REDIRECT"
# AuthorizeSessionRequest
Properties
Name | Type | Required | Description |
---|---|---|---|
code | string | true | Authorization code returned when redirecting PSU |
{
"code": "string"
}
# AuthorizeSessionResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
session_id | string(uuid4) | true | ID of the PSU session |
accounts | [AccountResource] | true | none |
aspsp | ASPSP | true | ASPSP used with the session |
psu_type | PSUType | true | PSU type used with the session |
access | Access | true | Scope of access requested from ASPSP and confirmed by PSU |
{
"session_id": "string",
"accounts": [
{
"account_id": {
"iban": "FI8821291587733472",
"other": {
"identification": "123456",
"scheme_name": "BBAN"
}
},
"all_account_ids": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"account_servicer": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"name": "string",
"details": "string",
"usage": "PRIV",
"cash_account_type": "CACC",
"product": "string",
"currency": "string",
"psu_status": "string",
"credit_limit": {
"currency": "EUR",
"amount": "1.23"
},
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"identification_hashes": [
"WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"WwpbCiJhc3BzcF9uYW1lIgpdLApbCiJhc3BzcF9jb3VudHJ5IgpdLApbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoib3RoZXIiLAoic2NoZW1lX25hbWUiCl0sClsKImFjY291bnQiLAoiYWNjb3VudF9pZCIsCiJvdGhlciIsCiJpZGVudGlmaWNhdGlvbiIKXQpd.AOm/TULGPD4a4GdcWhR9xh0GPlPUZuB2O1S9SYFWEz0="
]
}
],
"aspsp": {
"name": "Nordea",
"country": "FI"
},
"psu_type": "business",
"access": {
"valid_until": "2021-01-01T00:00:00Z"
}
}
# BalanceResource
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Label of the balance |
balance_amount | AmountType | true | none |
balance_type | BalanceStatus | true | Available balance type values |
last_change_date_time | string(date-time) | false | Timestamp of the last change of the balance amount |
reference_date | string(date) | false | Reference date for the balance |
last_committed_transaction | string | false | Identification of the last committed transaction. This is actually useful for instant balance. |
{
"name": "Booked balance",
"balance_amount": {
"currency": "EUR",
"amount": "1.23"
},
"balance_type": "(ISO20022 ClosingBooked) Accounting Balance",
"last_change_date_time": "2019-08-24T14:15:22Z",
"reference_date": "2019-08-24",
"last_committed_transaction": "4604aa90-f8a8-4180-92d8-0c3270846f0a"
}
# BalanceStatus
Enumerated Values
Value | Description |
---|---|
CLAV | (ISO20022 Closing Available) Closing available balance |
CLBD | (ISO20022 ClosingBooked) Accounting Balance |
FWAV | (ISO20022 ForwardAvailable) Balance that is at the disposal of account holders on the date specified |
INFO | (ISO20022 Information) Balance for informational purposes |
ITAV | (ISO20022 InterimAvailable) Available balance calculated in the course of the day |
ITBD | (ISO20022 InterimBooked) Booked balance calculated in the course of the day |
OPAV | (ISO20022 OpeningAvailable) Opening balance that is at the disposal of account holders at the beginning of the date specified |
OPBD | (ISO20022 OpeningBooked) Book balance of the account at the beginning of the account reporting period. It always equals the closing book balance from the previous report |
PRCD | (ISO20022 PreviouslyClosedBooked) Balance of the account at the end of the previous reporting period |
OTHR | Other Balance |
VALU | Value-date balance |
XPCD | (ISO20022 Expected) Instant Balance |
"CLAV"
# BankTransactionCode
Properties
Name | Type | Required | Description |
---|---|---|---|
description | string | false | Arbitrary transaction categorization description |
code | string | false | Specifies the family of a transaction within the domain |
sub_code | string | false | Specifies the sub-product family of a transaction within a specific family |
{
"description": "Utlandsbetalning",
"code": "12",
"sub_code": "32"
}
# Beneficiary
Properties
Name | Type | Required | Description |
---|---|---|---|
creditor_agent | FinancialInstitutionIdentification | false | Identification of the financial institution where the account receiving funds is held |
creditor | PartyIdentification | false | Identification of the party receiving funds |
creditor_account | GenericIdentification | true | Identification of the account receiving funds |
creditor_currency | string | false | ISO 4217 currency code, in which the account receiving funds is held |
{
"creditor": {
"name": "Organisation/Person Name"
},
"creditor_account": {
"scheme_name": "IBAN",
"identification": "FI0455231152453547"
}
}
# CashAccountType
Enumerated Values
Value | Description |
---|---|
CACC | Account used to post debits and credits when no specific account has been nominated |
CASH | Account used for the payment of cash |
CARD | Account used for card payments only |
LOAN | Account used for loans |
SVGS | Account used for savings |
OTHR | Account not otherwise specified |
"CACC"
# CategoryPurposeCode
Enumerated Values
Value | Description |
---|---|
BONU | BONU |
CASH | CASH |
CBLK | CBLK |
CCRD | CCRD |
CORT | CORT |
DCRD | DCRD |
DIVI | DIVI |
DVPM | DVPM |
EPAY | EPAY |
FCOL | FCOL |
GOVT | GOVT |
HEDG | HEDG |
ICCP | ICCP |
IDCP | IDCP |
INTC | INTC |
INTE | INTE |
LOAN | LOAN |
MP2B | MP2B |
MP2P | MP2P |
OTHR | OTHR |
PENS | PENS |
RPRE | RPRE |
RRCT | RRCT |
RVPM | RVPM |
SALA | SALA |
SECU | SECU |
SSBE | SSBE |
SUPP | SUPP |
TAXS | TAXS |
TRAD | TRAD |
TREA | TREA |
VATX | VATX |
WHLD | WHLD |
"BONU"
# ChargeBearerCode
Enumerated Values
Value | Description |
---|---|
SLEV | SLEV |
SHAR | SHAR |
DEBT | DEBT |
CRED | CRED |
"SLEV"
# ClearingSystemMemberIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
clearing_system_id | string | false | ISO20022: Specification of a pre-agreed offering between clearing agents or the channel through which the payment instruction is processed. |
member_id | string | false | ISO20022: Identification of a member of a clearing system. |
{
"clearing_system_id": "NZNCC",
"member_id": 20368
}
# CreatePaymentRequest
Properties
Name | Type | Required | Description |
---|---|---|---|
payment_type | PaymentType | true | An enumeration. |
payment_request | PaymentRequestResource | true | none |
aspsp | ASPSP | true | ASPSP that PSU is going to be authenticated to |
state | string | true | Arbitrary string. Same string will be returned in query parameter when redirecting to the URL passed via redirect_url parameter |
redirect_url | string(uri) | true | URL that PSU will be redirected to after authorization |
psu_type | PSUType | true | PSU type which consent is created for |
credentials | object | false | PSU credentials (User ID, company ID etc.) If not provided, then those are going to be asked from a PSU during authorization |
auth_method | string | false | none |
language | string | false | Preferred PSU language. Two-letter lowercase language code |
{
"aspsp": {
"name": "S-Pankki",
"country": "FI"
},
"state": "b463a960-9616-4df6-909f-f80884190c22",
"redirect_url": "https://google.com/",
"psu_type": "personal",
"payment_type": "SEPA",
"payment_request": {
"credit_transfer_transaction": [
{
"instructed_amount": {
"amount": "10.33",
"currency": "EUR"
},
"beneficiary": {
"creditor": {
"name": "Organisation/Person Name"
},
"creditor_account": {
"scheme_name": "IBAN",
"identification": "FI0455231152453547"
}
}
}
]
}
}
# CreatePaymentResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
payment_id | string(uuid) | true | Payment ID |
status | PaymentStatus | true | Payment status |
url | string(uri) | true | URL to redirect a PSU to |
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "PDNG",
"url": "https://sandbox.tilisy.com/pis/start?payment_id=9bbd806c-f144-4eb5-8eb7-48650ff4d56b"
}
# Credential
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Internal name of the credential. The name is to be used when passing credentials to the "start user authorization" request |
title | string | true | Title for the credential to be displayed to PSU |
required | boolean | true | Indication whether the credential is required |
description | string | false | Description of the credential to be displayed to PSU |
template | string | false | Perl compatible regular expression used for check of the credential format |
{
"name": "userId",
"title": "User ID",
"required": true,
"description": "Your identifier used for logging in to online banking",
"template": "^\\d{8}$"
}
# CreditDebitIndicator
Enumerated Values
Value | Description |
---|---|
CRDT | Credit type transaction |
DBIT | Debit type transaction |
"CRDT"
# CreditTransferTransaction
Properties
Name | Type | Required | Description |
---|---|---|---|
instructed_amount | AmountType | true | none |
beneficiary | Beneficiary | true | none |
payment_id | PaymentIdentification | false | none |
requested_execution_date | RequestedExecutionDate | false | ISO20022: Date at which the initiating party requests the clearing agent to process the payment. API: This date can be used in the following cases: - the single requested execution date for a payment having several instructions. In this case, this field must be set at the payment level. - the requested execution date for a given instruction within a payment. In this case, this field must be set at each instruction level. - The first date of execution for a standing order. When the payment cannot be processed at this date, the ASPSP is allowed to shift the applied execution date to the next possible execution date for non-standing orders. For standing orders, the [executionRule] parameter helps to compute the execution date to be applied. |
reference_number | ReferenceNumber | false | ISO20022: This field specifies the reference assigned by the sender to unambiguously identify the message. |
end_date | EndDate | false | The last applicable day of execution for a given standing order. If not given, the standing order is considered as endless. |
execution_rule | ExecutionRule | false | An enumeration. |
frequency | FrequencyCode | false | An enumeration. |
ultimate_debtor | PartyIdentification | false | none |
ultimate_creditor | PartyIdentification | false | none |
regulatory_reporting | [RegulatoryReporting] | false | none |
remittance_information | UnstructuredRemittanceInformation | false | Payment details. For credit transfers may contain free text, reference number or both at the same time (in case Extended Remittance Information is supported). When it is known that remittance information contains a reference number (either based on ISO 11649 or a local scheme), the reference number is also available via the referenceNumber field of the Transaction data structure. |
{
"instructed_amount": {
"currency": "EUR",
"amount": "1.23"
},
"beneficiary": {
"creditor": {
"name": "Organisation/Person Name"
},
"creditor_account": {
"scheme_name": "IBAN",
"identification": "FI0455231152453547"
}
},
"payment_id": {
"instruction_id": "string",
"end_to_end_id": "string"
},
"requested_execution_date": "2019-08-24T14:15:22Z",
"reference_number": "string",
"end_date": "2019-08-24T14:15:22Z",
"execution_rule": "FWNG",
"frequency": "DAIL",
"ultimate_debtor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"ultimate_creditor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"regulatory_reporting": [
{
"authority": {
"country": "string",
"name": "string"
},
"details": {
"amount": {
"currency": "EUR",
"amount": "1.23"
},
"code": "string",
"information": "string"
}
}
],
"remittance_information": [
"string"
]
}
# CurrencyCode
Properties
Name | Type | Required | Description |
---|---|---|---|
CurrencyCode | string | false | Specifies the currency of the amount or of the account according the ISO 4217 standard |
"EUR"
# EndDate
Properties
Name | Type | Required | Description |
---|---|---|---|
EndDate | string(date-time) | false | The last applicable day of execution for a given standing order. If not given, the standing order is considered as endless. |
"2019-08-24T14:15:22Z"
# Environment
Enumerated Values
Value | Description |
---|---|
SANDBOX | SANDBOX |
PRODUCTION | PRODUCTION |
"SANDBOX"
# ErrorCode
Enumerated Values
Value | Description |
---|---|
ACCESS_DENIED | Access to this resource is denied. Check you access scope. |
ACCOUNT_DOES_NOT_EXIST | No account found matching provided id |
ALREADY_AUTHORIZED | Session is already authorized |
ASPSP_ACCOUNT_NOT_ACCESSIBLE | ASPSP account is not accessible |
ASPSP_ERROR | Error interacting with ASPSP |
ASPSP_TIMEOUT | Timeout interacting with ASPSP |
ASPSP_RATE_LIMIT_EXCEEDED | ASPPS Rate limit exceeded |
ASPSP_UNAUTHORIZED_ACCESS | PSU is unauthorized to interact with ASPSP |
AUTHORIZATION_NOT_PROVIDED | Authorization header is not provided |
CLOSED_SESSION | Session is closed |
DATE_TO_WITHOUT_DATE_FROM | date_from must be provided if date_to provided |
DATE_FROM_IN_FUTURE | date_from can not be in the future |
EXPIRED_AUTHORIZATION_CODE | Authorization code is expired |
EXPIRED_SESSION | Session is expired |
INVALID_ACCOUNT_ID | Either iban or other account identification is required |
INVALID_HOST | Invalid host |
NO_ACCOUNTS_ADDED | No allowed accounts added to the application |
PAYMENT_NOT_FOUND | Payment not found |
PSU_HEADER_NOT_PROVIDED | Required PSU header not provided |
REDIRECT_URI_NOT_ALLOWED | Redirect URI not allowed |
REVOKED_SESSION | Session is revoked |
SESSION_DOES_NOT_EXIST | No session found matching provided id |
UNAUTHORIZED_ACCESS | Unauthorized access |
UNTRUSTED_PAYMENT_PARTY | Either creditor or debtor account is not trusted |
WRONG_ASPSP_PROVIDED | Wrong ASPSP name provided |
WRONG_AUTHORIZATION_CODE | Wrong authorization code provided |
WRONG_DATE_INTERVAL | date_from should be less than or equal date_to |
WRONG_CREDENTIALS_PROVIDED | Wrong credentuals provided |
WRONG_REQUEST_PARAMETERS | Wrong request parameters provided |
WRONG_SESSION_STATUS | Wrong session status |
WRONG_TRANSACTIONS_PERIOD | Wrong transactions period requested |
"ACCESS_DENIED"
# ErrorResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
message | string | true | Error message |
code | integer | false | Error code, identical to the http response code |
error | ErrorCode | false | Text error code |
detail | any | false | Detailed explanation of an error |
{
"message": "Required PSU header not provided",
"code": 422,
"error": "PSU_HEADER_NOT_PROVIDED",
"detail": "PSU header psuIpAddress is not provided"
}
# ExchangeRate
Properties
Name | Type | Required | Description |
---|---|---|---|
unit_currency | CurrencyCode | false | ISO 4217 code of the currency, in which the rate of exchange is expressed in a currency exchange. In the example 1GBP = xxxCUR, the unit currency is GBP. |
exchange_rate | string | false | The factor used for conversion of an amount from one currency to another. This reflects the price at which one currency was bought with another currency. |
rate_type | RateType | false | An enumeration. |
contract_identification | string | false | Unique and unambiguous reference to the foreign exchange contract agreed between the initiating party/creditor and the debtor agent. |
instructed_amount | AmountType | false | Original amount, in which transaction was initiated. In particular, for cross-currency card transactions, the value represents original value of a purchase or a withdrawal in a currency different from the card's native or default currency. |
{
"unit_currency": "EUR",
"exchange_rate": "string",
"rate_type": "SPOT",
"contract_identification": "string",
"instructed_amount": {
"currency": "EUR",
"amount": "1.23"
}
}
# ExecutionRule
Enumerated Values
Value | Description |
---|---|
FWNG | FWNG |
PREC | PREC |
"FWNG"
# FinancialInstitutionIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
bic_fi | string | false | Code allocated to a financial institution by the ISO 9362 Registration Authority as described in ISO 9362 "Banking - Banking telecommunication messages - Business identification code (BIC)". |
clearing_system_member_id | ClearingSystemMemberIdentification | false | Information used to identify a member within a clearing system. |
name | string | false | Name of the financial institution |
{
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
}
# FrequencyCode
Enumerated Values
Value | Description |
---|---|
DAIL | DAIL |
WEEK | WEEK |
TOWK | TOWK |
MNTH | MNTH |
TOMN | TOMN |
QUTR | QUTR |
SEMI | SEMI |
YEAR | YEAR |
"DAIL"
# GenericIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
identification | string | true | An identifier |
scheme_name | SchemeName | true | Name of the identification scheme. Partially based on ISO20022 external code list |
issuer | string | false | Entity that assigns the identification. this could a country code or any organisation name or identifier that can be recognized by both parties |
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
# GetApplicationResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Application name |
description | string | false | Application description |
kid | string(uuid4) | true | Application key id |
environment | Environment | true | Application environment |
redirect_urls | [string] | true | list of allowed redirect urls |
active | boolean | true | Indication whether the application is active |
countries | [string] | true | list of supported countries |
services | [Service] | true | list of supported services |
{
"name": "string",
"description": "string",
"kid": "string",
"environment": "SANDBOX",
"redirect_urls": [
"http://example.com"
],
"active": true,
"countries": [
"string"
],
"services": [
"AIS"
]
}
# GetAspspsResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
aspsps | [ASPSPData] | true | list of available ASPSPs and countries |
{
"aspsps": [
{
"name": "Nordea",
"country": "FI",
"logo": "https://enablebanking.com/brands/FI/Nordea/",
"psu_types": [
"personal",
"business"
],
"auth_methods": [
{
"name": "string",
"title": "string",
"psu_type": "business",
"credentials": [
{
"name": "userId",
"title": "User ID",
"required": true,
"description": "Your identifier used for logging in to online banking",
"template": "^\\d{8}$"
}
],
"approach": "REDIRECT",
"hidden_method": true
}
],
"maximum_consent_validity": 0,
"sandbox": {
"users": [
{
"username": "MyUsername",
"password": "MySecretPassowrd",
"otp": "123456"
}
]
},
"beta": true,
"bic": "string",
"required_psu_headers": [
"string"
],
"payments": [
{
"payment_type": "SEPA",
"max_transactions": 0,
"currencies": [
"string"
],
"debtor_account_required": false,
"debtor_account_schemas": [
"CHID"
],
"creditor_account_schemas": [
"CHID"
],
"priority_codes": [
"HIGH"
],
"charge_bearer_values": [
"SLEV"
],
"creditor_country_required": false,
"creditor_name_required": false,
"creditor_postal_address_required": false,
"remittance_information_required": false,
"remittance_information_lines": [
{
"min_length": 0,
"max_length": 0,
"pattern": "string"
}
],
"debtor_currency_required": false,
"debtor_contact_email_required": false,
"debtor_contact_phone_required": false,
"creditor_agent_bic_fi_required": false,
"creditor_agent_clearing_system_member_id_required": false,
"allowed_auth_methods": [
"string"
],
"regulatory_reporting_codes": [
{
"value": "string",
"description": "string"
}
],
"regulatory_reporting_code_required": false,
"reference_number_supported": false,
"psu_type": "business"
}
]
}
]
}
# GetPaymentResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
payment_id | string(uuid) | true | Payment ID |
status | PaymentStatus | true | Payment status |
{
"payment_id": "d43b87f9-9e28-4802-8eaa-6ee91a40ea71",
"status": "ACCC"
}
# GetSessionResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
status | SessionStatus | true | Session status |
accounts | [string] | true | list of account ids available in the session |
accounts_data | [SessionAccount] | true | Accounts data stored in the session |
aspsp | ASPSP | true | ASPSP used with the session |
psu_type | PSUType | true | PSU type used with the session |
access | Access | true | Scope of access requested from ASPSP and confirmed by PSU |
created | string(date-time) | true | Date and time when the session was created |
authorized | string(date-time) | false | Date and time when the session was authorized |
closed | string(date-time) | false | Date and time when the session was closed |
{
"access": {
"valid_until": "2020-12-01T12:00:00.000000+00:00"
},
"accounts": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"accounts_data": [
{
"identification_hash": "WwpbCiJhY2NvdW50IiwKImFjY291bnRfaWQiLAoiaWJhbiIKXQpd.E8GzhnnsFC7K+4e3YMYYKpyM83Zx6toXrjgcvPP/Lqc=",
"uid": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"aspsp": {
"country": "FI",
"name": "Nordea"
},
"authorized": "2020-12-01T12:00:00.000000+00:00",
"created": "2020-12-01T12:00:00.000000+00:00",
"psu_type": "business",
"status": "AUTHORIZED"
}
# HalBalances
Properties
Name | Type | Required | Description |
---|---|---|---|
balances | [BalanceResource] | true | List of account balances |
{
"balances": [
{
"name": "Booked balance",
"balance_amount": {
"currency": "EUR",
"amount": "1.23"
},
"balance_type": "(ISO20022 ClosingBooked) Accounting Balance",
"last_change_date_time": "2019-08-24T14:15:22Z",
"reference_date": "2019-08-24",
"last_committed_transaction": "4604aa90-f8a8-4180-92d8-0c3270846f0a"
}
]
}
# HalTransactions
Properties
Name | Type | Required | Description |
---|---|---|---|
transactions | [Transaction] | true | List of transactions |
continuation_key | string | true | Value to retrieve next page of transactions. Null if there are no more pages. Only valid in current session. |
{
"transactions": [
{
"entry_reference": "5561990681",
"merchant_category_code": "5511",
"transaction_amount": {
"currency": "EUR",
"amount": "1.23"
},
"creditor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"creditor_account": {
"iban": "FI1737631867613465"
},
"creditor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"debtor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"debtor_account": {
"iban": "FI8638798819867751"
},
"debtor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"bank_transaction_code": {
"description": "Utlandsbetalning",
"code": "12",
"sub_code": "32"
},
"credit_debit_indicator": "CRDT",
"status": "BOOK",
"booking_date": "2020-01-03",
"value_date": "2020-01-02",
"transaction_date": "2020-01-01",
"balance_after_transaction": {
"currency": "EUR",
"amount": "1.23"
},
"reference_number": "RF07850352502356628678117",
"remittance_information": [
"RF07850352502356628678117",
"Gift for Alex"
],
"debtor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"creditor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"exchange_rate": {
"unit_currency": "EUR",
"exchange_rate": "string",
"rate_type": "SPOT",
"contract_identification": "string",
"instructed_amount": {
"currency": "EUR",
"amount": "1.23"
}
},
"note": "string"
}
],
"continuation_key": "string"
}
# PSUType
Enumerated Values
Value | Description |
---|---|
business | business |
personal | personal |
"business"
# PartyIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
name | string | false | Name by which a party is known and which is usually used to identify that party. |
postal_address | PostalAddress | false | none |
organisation_id | GenericIdentification | false | none |
private_id | GenericIdentification | false | none |
{
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
}
# PaymentIdentification
Properties
Name | Type | Required | Description |
---|---|---|---|
instruction_id | string | false | ISO20022: Unique identification as assigned by an instructing party for an instructed party to unambiguously identify the instruction. API: Unique identification shared between the PISP and the ASPSP |
end_to_end_id | string | false | ISO20022: Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain. API: Unique identification shared between the merchant and the PSU |
{
"instruction_id": "string",
"end_to_end_id": "string"
}
# PaymentInformationId
Properties
Name | Type | Required | Description |
---|---|---|---|
PaymentInformationId | string | false | ISO20022 : Reference assigned by a sending party to unambiguously identify the payment information block within the message. |
"string"
# PaymentRequestResource
Properties
Name | Type | Required | Description |
---|---|---|---|
payment_information_id | PaymentInformationId | false | Reference assigned by a sending party to unambiguously identify the payment information block within the message |
payment_type_information | PaymentTypeInformation | false | Set of elements used to further specify the type of payment |
debtor | PartyIdentification | false | Identification of the party sending funds |
debtor_account | GenericIdentification | false | Identification of the account from which funds are sent when the payment is executed. When the debtor account is not provided it is to be chosen by the PSU during payment authorisation flow. |
debtor_agent | FinancialInstitutionIdentification | false | Identification of the financial institution where the debtor account is held. To be provided only in case the financial institution can not be unambiguously identified the ASPSP name towards which the payment is initiated. |
debtor_currency | string | false | ISO 4217 code, in which debtor account is held |
purpose | PurposeCode | false | Underlying reason for the payment |
charge_bearer | ChargeBearerCode | false | Specifies which party/parties will bear the charges associated with the processing of the payment |
credit_transfer_transaction | [CreditTransferTransaction] | true | Payment instructions to be executed towards one or multiple beneficiaries in the payment process. Maximum number of transactions depend on the ASPSP and type of the payment taking into accounts its specificities about payment request handling. |
{
"credit_transfer_transaction": [
{
"instructed_amount": {
"amount": "10.33",
"currency": "EUR"
},
"beneficiary": {
"creditor": {
"name": "Organisation/Person Name"
},
"creditor_account": {
"scheme_name": "IBAN",
"identification": "FI0455231152453547"
}
}
}
],
"debtor_account": {
"scheme_name": "IBAN",
"identification": "FI7727551317119265"
}
}
# PaymentStatus
Enumerated Values
Value | Description |
---|---|
ACCC | AcceptedCreditSettlementCompleted. Settlement on the creditor's account has been completed. |
ACCP | AcceptedCustomerProfile. Preceding check of technical validation was successful. Customer profile check was also successful. |
ACSC | AcceptedSettlementCompleted. Settlement on the debtor's account has been completed. |
ACSP | AcceptedSettlementInProcess. All preceding checks such as technical validation and customer profile were successful. Dynamic risk assessment is now also successful and therefore the Payment Request has been accepted for execution. |
ACTC | AcceptedTechnicalValidation. Authentication and syntactical and semantical validation are successful. |
ACWC | AcceptedWithChange. Instruction is accepted but a change will be made, such as date or remittance not sent. |
ACWP | AcceptedWithoutPosting. Payment instruction included in the credit transfer is accepted without being posted to the creditor's account. |
PART | PartiallyAccepted. A number of transactions have been accepted, whereas another number of transactions have not yet achieved 'accepted' status. |
RCVD | Received. Payment initiation has been received by the receiving agent. |
PDNG | Pending. Payment request or individual transaction included in the Payment Request is pending. Further checks and status update will be performed. |
RJCT | Rejected. Payment request has been rejected. |
ACPT | Accepted. Request is accepted. |
ACCR | AcceptedCancellationRequest. Cancellation is accepted. |
RJCR | RejectedCancellationRequest. Cancellation request is rejected. |
PACR | PartiallyAcceptedCancellationRequest. Cancellation is partially accepted. |
PDCR | PendingCancellationRequest. Cancellation request is pending. |
CNCL | PaymentCancelled. Payment is cancelled. |
NULL | NoCancellationProcess. There is no cancellation process ongoing. |
"ACCC"
# PaymentType
Enumerated Values
Value | Description |
---|---|
SEPA | SEPA |
INST_SEPA | INST_SEPA |
DOMESTIC | DOMESTIC |
CROSSBORDER | CROSSBORDER |
DOMESTIC_SE_GIRO | DOMESTIC_SE_GIRO |
INTERNAL | INTERNAL |
"SEPA"
# PaymentTypeInformation
Properties
Name | Type | Required | Description |
---|---|---|---|
instruction_priority | PriorityCode | false | An enumeration. |
service_level | ServiceLevelCode | false | An enumeration. |
category_purpose | CategoryPurposeCode | false | An enumeration. |
local_instrument | string | false | none |
{
"instruction_priority": "HIGH",
"service_level": "BKTR",
"category_purpose": "BONU",
"local_instrument": "string"
}
# PostalAddress
Properties
Name | Type | Required | Description |
---|---|---|---|
address_type | AddressType | false | Available address type values |
department | string | false | Identification of a division of a large organisation or building. |
sub_department | string | false | Identification of a sub-division of a large organisation or building. |
street_name | string | false | Name of a street or thoroughfare. |
building_number | string | false | Number that identifies the position of a building on a street. |
post_code | string | false | Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail. |
town_name | string | false | Name of a built-up area, with defined boundaries, and a local government. |
country_sub_division | string | false | Identifies a subdivision of a country such as state, region, county. |
country | string | false | Two-letter ISO 3166 code of the country in which a person resides (the place of a person's home). In the case of a company, it is the country from which the affairs of that company are directed. |
address_line | [string] | false | Unstructured address. The two lines must embed zip code and town name |
{
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
}
# PriorityCode
Enumerated Values
Value | Description |
---|---|
HIGH | High priority |
NORM | Normal priority |
EXPR | Express priority. Polish-specific priority code |
"HIGH"
# PurposeCode
Enumerated Values
Value | Description |
---|---|
ACCT | ACCT |
CASH | CASH |
COMC | COMC |
CPKC | CPKC |
TRPT | TRPT |
"ACCT"
# RateType
Enumerated Values
Value | Description |
---|---|
SPOT | Exchange rate applied is the spot rate. |
SALE | Exchange rate applied is the market rate at the time of the sale. |
AGRD | Exchange rate applied is the rate agreed between the parties |
"SPOT"
# ReferenceNumber
Properties
Name | Type | Required | Description |
---|---|---|---|
ReferenceNumber | string | false | ISO20022: This field specifies the reference assigned by the sender to unambiguously identify the message. |
"string"
# RegulatoryAuthority
Properties
Name | Type | Required | Description |
---|---|---|---|
country | string | true | Two-letter ISO 3166 code of the country in which the regulatory authority operates |
name | string | false | Name of the regulatory authority |
{
"country": "string",
"name": "string"
}
# RegulatoryReporting
Properties
Name | Type | Required | Description |
---|---|---|---|
authority | RegulatoryAuthority | false | none |
details | RegulatoryReportingDetails | true | none |
{
"authority": {
"country": "string",
"name": "string"
},
"details": {
"amount": {
"currency": "EUR",
"amount": "1.23"
},
"code": "string",
"information": "string"
}
}
# RegulatoryReportingCode
Properties
Name | Type | Required | Description |
---|---|---|---|
value | string | true | Value of the code, i.e. what needs to be passed as a code when filling in regulatory reporting details. |
description | string | false | Regulatory authority to which reporting shall be made |
{
"value": "string",
"description": "string"
}
# RegulatoryReportingDetails
Properties
Name | Type | Required | Description |
---|---|---|---|
amount | AmountType | false | none |
code | string | false | A code specifying the nature, purpose, and/or reason for the transaction. Codes to be used depend on the regulatory authority, to which they are being reported. |
information | string | false | Additional details that cater for specific domestic regulatory requirements. |
{
"amount": {
"currency": "EUR",
"amount": "1.23"
},
"code": "string",
"information": "string"
}
# RemittanceInformationLineInfo
Properties
Name | Type | Required | Description |
---|---|---|---|
min_length | integer | false | none |
max_length | integer | false | none |
pattern | string | false | none |
{
"min_length": 0,
"max_length": 0,
"pattern": "string"
}
# RequestedExecutionDate
Properties
Name | Type | Required | Description |
---|---|---|---|
RequestedExecutionDate | string(date-time) | false | ISO20022: Date at which the initiating party requests the clearing agent to process the payment. API: This date can be used in the following cases: - the single requested execution date for a payment having several instructions. In this case, this field must be set at the payment level. - the requested execution date for a given instruction within a payment. In this case, this field must be set at each instruction level. - The first date of execution for a standing order. When the payment cannot be processed at this date, the ASPSP is allowed to shift the applied execution date to the next possible execution date for non-standing orders. For standing orders, the [executionRule] parameter helps to compute the execution date to be applied. |
"2019-08-24T14:15:22Z"
# ResponsePaymentType
Properties
Name | Type | Required | Description |
---|---|---|---|
payment_type | PaymentType | true | An enumeration. |
max_transactions | integer | false | none |
currencies | [string] | false | none |
debtor_account_required | boolean | false | none |
debtor_account_schemas | [SchemeName] | false | [An enumeration.] |
creditor_account_schemas | [SchemeName] | false | [An enumeration.] |
priority_codes | [PriorityCode] | false | [An enumeration.] |
charge_bearer_values | [ChargeBearerCode] | false | [An enumeration.] |
creditor_country_required | boolean | false | none |
creditor_name_required | boolean | false | none |
creditor_postal_address_required | boolean | false | none |
remittance_information_required | boolean | false | none |
remittance_information_lines | [RemittanceInformationLineInfo] | false | none |
debtor_currency_required | boolean | false | none |
debtor_contact_email_required | boolean | false | none |
debtor_contact_phone_required | boolean | false | none |
creditor_agent_bic_fi_required | boolean | false | none |
creditor_agent_clearing_system_member_id_required | boolean | false | none |
allowed_auth_methods | [string] | false | none |
regulatory_reporting_codes | [RegulatoryReportingCode] | false | none |
regulatory_reporting_code_required | boolean | false | none |
reference_number_supported | boolean | false | none |
psu_type | PSUType | true | PSU type |
{
"payment_type": "SEPA",
"max_transactions": 0,
"currencies": [
"string"
],
"debtor_account_required": false,
"debtor_account_schemas": [
"CHID"
],
"creditor_account_schemas": [
"CHID"
],
"priority_codes": [
"HIGH"
],
"charge_bearer_values": [
"SLEV"
],
"creditor_country_required": false,
"creditor_name_required": false,
"creditor_postal_address_required": false,
"remittance_information_required": false,
"remittance_information_lines": [
{
"min_length": 0,
"max_length": 0,
"pattern": "string"
}
],
"debtor_currency_required": false,
"debtor_contact_email_required": false,
"debtor_contact_phone_required": false,
"creditor_agent_bic_fi_required": false,
"creditor_agent_clearing_system_member_id_required": false,
"allowed_auth_methods": [
"string"
],
"regulatory_reporting_codes": [
{
"value": "string",
"description": "string"
}
],
"regulatory_reporting_code_required": false,
"reference_number_supported": false,
"psu_type": "business"
}
# SandboxInfo
Properties
Name | Type | Required | Description |
---|---|---|---|
users | [SandboxUser] | false | list of sandbox users which can be used to test sandbox environment |
{
"users": [
{
"username": "MyUsername",
"password": "MySecretPassowrd",
"otp": "123456"
}
]
}
# SandboxUser
Properties
Name | Type | Required | Description |
---|---|---|---|
username | string | false | Username |
password | string | false | Password |
otp | string | false | One time password |
{
"username": "MyUsername",
"password": "MySecretPassowrd",
"otp": "123456"
}
# SchemeName
Enumerated Values
Value | Description |
---|---|
CHID | Clearing Identification Number |
GS1G | GS1GLNIdentifier |
DUNS | Data Universal Numbering System |
BANK | BankPartyIdentification. Unique and unambiguous assignment made by a specific bank or similar financial institution to identify a relationship as defined between the bank and its client. |
TXID | TaxIdentificationNumber |
CUST | CorporateCustomerNumber |
EMPL | EmployerIdentificationNumber |
OTHC | OtherCorporate. Handelsbanken-specific code |
DRLC | DriversLicenseNumber |
CUSI | CustomerIdentificationNumberIndividual. Handelsbanken-specific code |
SOSE | SocialSecurityNumber |
ARNU | AlienRegistrationNumber |
CCPT | PassportNumber |
OTHI | OtherIndividual. Handelsbanken-specific code |
COID | CountryIdentificationCode. Country authority given organisation identification (e.g., corporate registration number) |
SREN | The SIREN number is a 9 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation in France. |
SRET | The SIRET number is a 14 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation unit in France. It consists of the SIREN number, followed by a five digit classification number, to identify the local geographical unit of that entity. |
NIDN | NationalIdentityNumber. Number assigned by an authority to identify the national identity number of a person. |
OAUT | OAUTH2 access token that is owned by the PISP being also an AISP and that can be used in order to identify the PSU |
CPAN | Card PAN (masked or plain) |
BBAN | Basic Bank Account Number. Represents a country-specific bank account number. |
IBAN | International Bank Account Number (IBAN) - identification used internationally by financial institutions to uniquely identify the account of a customer. |
MIBN | Masked IBAN |
BGNR | Swedish BankGiro account number. Used in domestic swedish giro payments |
PGNR | Swedish PlusGiro account number. Used in domestic swedish giro payments |
"CHID"
# Service
Enumerated Values
Value | Description |
---|---|
AIS | AIS |
PIS | PIS |
"AIS"
# ServiceLevelCode
Enumerated Values
Value | Description |
---|---|
BKTR | BKTR |
G001 | G001 |
G002 | G002 |
G003 | G003 |
G004 | G004 |
NUGP | NUGP |
NURG | NURG |
PRPT | PRPT |
SDVA | SDVA |
SEPA | SEPA |
SVDE | SVDE |
URGP | URGP |
URNS | URNS |
"BKTR"
# SessionAccount
Properties
Name | Type | Required | Description |
---|---|---|---|
uid | string(uuid) | true | Account identificator within the session |
identification_hash | string | true | Global account identification hash |
identification_hashes | [string] | true | List of possible account identification hashes. Identification hash is based on the account number. Some accounts may have multiple account numbers (e.g. IBAN and BBAN). This field contains all possible hashes. |
{
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"identification_hash": "string",
"identification_hashes": [
"string"
]
}
# SessionStatus
Enumerated Values
Value | Description |
---|---|
INVALID | INVALID |
PENDING_AUTHORIZATION | PENDING_AUTHORIZATION |
RETURNED_FROM_BANK | RETURNED_FROM_BANK |
AUTHORIZED | AUTHORIZED |
EXPIRED | EXPIRED |
CLOSED | CLOSED |
REVOKED | REVOKED |
"INVALID"
# StartAuthorizationRequest
Properties
Name | Type | Required | Description |
---|---|---|---|
access | Access | true | Scope of access to be request from ASPSP and to be confirmed by PSU |
aspsp | ASPSP | true | ASPSP that PSU is going to be authenticated to |
state | string | true | Arbitrary string. Same string will be returned in query parameter when redirecting to the URL passed via redirect_url parameter |
redirect_url | string(uri) | true | URL that PSU will be redirected to after authorization |
psu_type | PSUType | false | PSU type which consent is created for |
auth_method | string | false | Desired authorization method (in case ASPSP supports multiple). Supported methods can be obtained from ASPSP auth_methods |
credentials | object | false | PSU credentials (User ID, company ID etc.) If not provided, then those are going to be asked from a PSU during authorization |
credentials_autosubmit | boolean | false | Controls wether user credentials will be autosubmitted (if passed). If set to false then credentials form will be prefilled with passed credentials |
language | string | false | Preferred PSU language. Two-letter lowercase language code |
psu_id | string | false | Unique identification of a PSU used in the client's application. It can be used to match sessions of the same user. Although only hashed value is stored, it is recommended to use anonymised identifiers (i.e. digital ID instead of email or social security number). |
{
"access": {
"valid_until": "2020-12-01T12:00:00.000000+00:00"
},
"aspsp": {
"name": "Nordea",
"country": "FI"
},
"state": "3a57e2d3-2e0c-4336-af9b-7fa94f0606a3",
"redirect_url": "http://example.com",
"psu_type": "business",
"auth_method": "methodName",
"credentials": {
"userId": "MyUsername"
},
"credentials_autosubmit": true,
"language": "fi",
"psu_id": "string"
}
# StartAuthorizationResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
url | string(uri) | true | URL to redirect PSU to |
authorization_id | string(uuid) | true | PSU authorisation ID, a value used to identify an authorisation session. Please note that another session ID will used to fetch account data. |
psu_id_hash | string | false | Hashed unique identification of a PSU used in the client's application. |
{
"url": "https://tilisy.enablebanking.com/welcome?sessionid=73100c65-c54d-46a1-87d1-aa3effde435a",
"authorization_id": "73100c65-c54d-46a1-87d1-aa3effde435a",
"psu_id_hash": "string"
}
# SuccessResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
message | string | false | Returns "OK" in case of successfull request |
{
"message": "OK"
}
# Transaction
Properties
Name | Type | Required | Description |
---|---|---|---|
entry_reference | string | false | Unique transaction identifier provided by ASPSP. This identifier is both unique and immutable for accounts with the same identification hashes and can be used for matching transactions across multiple PSU authentication sessions. Usually the same identifier is available for transactions in ASPSP's online/mobile interface and is called archive ID or similarly. Please note that this identifier is not globally unique and same entry references are likely to occur for transactions belonging to different accounts. |
merchant_category_code | string | false | Category code conform to ISO 18245, related to the type of services or goods the merchant provides for the transaction |
transaction_amount | AmountType | true | Monetary sum of the transaction |
creditor | PartyIdentification | false | Identification of the party receiving funds in the transaction |
creditor_account | AccountIdentification | false | Identification of the account on which the transaction is credited |
creditor_agent | FinancialInstitutionIdentification | false | Identification of the creditor agent |
debtor | PartyIdentification | false | Identification of the party sending funds in the transaction |
debtor_account | AccountIdentification | false | Identification of the account on which the transaction is debited |
debtor_agent | FinancialInstitutionIdentification | false | Identification of the debtor agent |
bank_transaction_code | BankTransactionCode | false | Allows the account servicer to correctly report a transaction, which in its turn will help account holders to perform their cash management and reconciliation operations. |
credit_debit_indicator | CreditDebitIndicator | true | Accounting flow of the transaction |
status | TransactionStatus | true | Available transaction status values |
booking_date | string(date) | false | Booking date of the transaction on the account, i.e. the date at which the transaction has been recorded on books |
value_date | string(date) | false | Value date of the transaction on the account, i.e. the date at which funds become available to the account holder (in case of a credit transaction), or cease to be available to the account holder (in case of a debit transaction) |
transaction_date | string(date) | false | Date used for specific purposes: - for card transaction: date of the transaction - for credit transfer: acquiring date of the transaction - for direct debit: receiving date of the transaction |
balance_after_transaction | AmountType | false | Funds on the account after execution of the transaction |
reference_number | string | false | Credit transfer reference number (also known as the creditor reference or the structured creditor reference). The value is set when it is known that the transaction data contains a reference number (in either ISO 11649 or a local format). |
remittance_information | [string] | false | Payment details. For credit transfers may contain free text, reference number or both at the same time (in case Extended Remittance Information is supported). When it is known that remittance information contains a reference number (either based on ISO 11649 or a local scheme), the reference number is also available via the reference_number field. |
debtor_account_additional_identification | [GenericIdentification] | false | All other debtor account identifiers provided by ASPSPs |
creditor_account_additional_identification | [GenericIdentification] | false | All other creditor account identifiers provided by ASPSPs |
exchange_rate | ExchangeRate | false | Provides details on the currency exchange rate and contract. |
note | string | false | The internal note made by PSU |
{
"entry_reference": "5561990681",
"merchant_category_code": "5511",
"transaction_amount": {
"currency": "EUR",
"amount": "1.23"
},
"creditor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"creditor_account": {
"iban": "FI1737631867613465"
},
"creditor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"debtor": {
"name": "MyPreferedAisp",
"postal_address": {
"address_type": "DeliveryTo",
"department": "Department of resources",
"sub_department": "Sub Department of resources",
"street_name": "Vasavagen",
"building_number": "4",
"post_code": "00123",
"town_name": "Helsinki",
"country_sub_division": "Uusima",
"country": "FI",
"address_line": [
"Mr Asko Teirila PO Box 511",
"39140 AKDENMAA FINLAND"
]
},
"organisation_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
},
"private_id": {
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
},
"debtor_account": {
"iban": "FI8638798819867751"
},
"debtor_agent": {
"bic_fi": "string",
"clearing_system_member_id": {
"clearing_system_id": "NZNCC",
"member_id": 20368
},
"name": "string"
},
"bank_transaction_code": {
"description": "Utlandsbetalning",
"code": "12",
"sub_code": "32"
},
"credit_debit_indicator": "CRDT",
"status": "BOOK",
"booking_date": "2020-01-03",
"value_date": "2020-01-02",
"transaction_date": "2020-01-01",
"balance_after_transaction": {
"currency": "EUR",
"amount": "1.23"
},
"reference_number": "RF07850352502356628678117",
"remittance_information": [
"RF07850352502356628678117",
"Gift for Alex"
],
"debtor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"creditor_account_additional_identification": [
{
"identification": "12FR5",
"scheme_name": "COID",
"issuer": "FR"
}
],
"exchange_rate": {
"unit_currency": "EUR",
"exchange_rate": "string",
"rate_type": "SPOT",
"contract_identification": "string",
"instructed_amount": {
"currency": "EUR",
"amount": "1.23"
}
},
"note": "string"
}
# TransactionStatus
Enumerated Values
Value | Description |
---|---|
BOOK | Accounted transaction (ISO20022 Closing Booked) |
CNCL | Cancelled transaction |
HOLD | Account hold |
OTHR | Transaction with unknown status or not fitting the other options |
PDNG | Instant Balance Transaction (ISO20022 Expected) |
RJCT | Rejected transaction |
SCHD | Scheduled transaction |
"BOOK"
# UnstructuredRemittanceInformation
Properties
Name | Type | Required | Description |
---|---|---|---|
UnstructuredRemittanceInformation | [string] | false | Payment details. For credit transfers may contain free text, reference number or both at the same time (in case Extended Remittance Information is supported). When it is known that remittance information contains a reference number (either based on ISO 11649 or a local scheme), the reference number is also available via the referenceNumber field of the Transaction data structure. |
[
"string"
]
# Usage
Enumerated Values
Value | Description |
---|---|
PRIV | private personal account |
ORGA | professional account |
"PRIV"