Dipocket PSD2 API

This API provides possibility to fetch account information, funds confirmation and initiate payments on behalf of end users.

Base URLs:

https://openbanking.dipocket.org (Production environment)

https://openbanking.dipocket.site (Sandbox environment)

Introduction

AIS flow

The following diagram shows the account information flow.

Account information

PIS flow

There are domestic, sepa and cross border payments available in aspsp-api. The following diagram shows the payment initiation flow.

Payment Initiation

There are mandatory fields for each of payment products:

Fieldtypedomestic-credit-transferssepa-credit-transferscross-border-credit-transfers
debtorAccountAccountReferencenot requirednot requirednot required
instructedAmountAmountmandatory, inatructedAmount.currency can be only HUF or PLNmandatorymandatory
creditorNameStringmandatorymandatorymandatory
creditorAccountAccountReferencemandatorymandatorymandatory
creditorTypeINDIVIDUAL, COMPANYmandatorymandatorymandatory
creditorAgentStringnot requiredmandatorymandatory
creditorAddressAddressnot requiredmandatory only creditorAddress.country fieldmandatory
remittanceInformationUnstructuredStringmandatorymandatorymandatory

COF flow

The following diagram shows confirmation of funds flow. Confirmation of funds

Onboarding

In order to access the PSD2 APIs you will need a valid QWAC certificate.

Sandbox

There is no need to do onboarding, use Dipocket certificate to access sandbox. Download sandbox certificate here.

Production

Before you can use aspsp-api, we should onboard your application. Please send your production certificate to the following e-mail: psd2api@dipocket.org. After your application will be onboarded, we will inform you by the confirmation e-mail. If you have problems accessing sandbox or production, please contact us at: psd2api@dipocket.org.

Confirmation of Funds

POST/{brandId}/bg/v2/consents/confirmation-of-funds
Request
POST https://openbanking.dipocket.org/{brandId}/bg/v2/consents/confirmation-of-funds HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
TPP-Redirect-URI: https://my-awesome-ui/ok
TPP-Nok-Redirect-URI: https://my-awesome-ui/error

Body
{
  "account": {
    "iban": "FI4950009420028730"
  }
}

Creates a confirmation of funds consent resource at the ASPSP regarding confirmation of funds access to an account specified in this request.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
TPP-Redirect-URIheaderstringtrueURI of the TPP, where the flow shall be redirected to after consent was successfully confirmed by the user.
TPP-Nok-Redirect-URIheaderstringfalseIf this URI is contained, the TPP is asking to redirect the transaction flow to this address instead of TPP-Redirect-URI in case if something went wrong or consent was cancelled.
bodybodyCofConsentRequesttruenone
StatusMeaningDescriptionSchema
200OKOKConsentResponse

Confirmation of Funds Request

POST/{brandId}/bg/v1/funds-confirmations
Request
POST https://openbanking.dipocket.org/{brandId}/bg/v1/funds-confirmations HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Consent-ID: c67a3de6-5176-4c7d-a64d-e6ac4f31e848

Body
{
  "account": {
    "iban": "FI4950009420028730"
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  }
}

Creates a confirmation of funds request at the ASPSP.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
Consent-IDheaderstringtrueThe consent identification assigned to the created resource.
bodybodyConfirmationOfFundsRequesttruenone

Responses

StatusMeaningDescriptionSchema
200OKOKConfirmationOfFundsResponse
GET/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId}
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId} HTTP/1.1
Host: localhost:8080
Accept: */*

Returns the content of an account information consent object.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueThe consent identification assigned to the created resource.
StatusMeaningDescriptionSchema
200OKOKCofConsentDetails
DELETE/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId}
Request
DELETE https://openbanking.dipocket.org/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId} HTTP/1.1
Host: localhost:8080

The TPP can revoke an account information consent object if needed with the following call.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueContains the resource-ID of the consent to be deleted.
StatusMeaningDescriptionSchema
200OKOKNone

Get Status Request

GET/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId}/status
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v2/consents/confirmation-of-funds/{consentId}/status HTTP/1.1
Host: localhost:8080
Accept: */*

Can check the status of an account information consent resource.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueThe consent identification assigned to the created resource.

Responses

StatusMeaningDescriptionSchema
200OKOKConsentStatusDto

Payment initiation

Payment Initiation Request

POST/{brandId}/bg/v1/payments/{paymentProduct}
Request
POST https://openbanking.dipocket.org/{brandId}/bg/v1/payments/{paymentProduct} HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
TPP-Redirect-URI: https://my-awesome-ui/ok
TPP-Nok-Redirect-URI: https://my-awesome-ui/error

Body
{
  "debtorAccount": {
    "iban": "FI4950009420028730"
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  },
  "creditorName": "Merchant123",
  "creditorAccount": {
    "iban": "FI4950009420028730"
  },
  "creditorType": "INDIVIDUAL",
  "creditorAgent": "SBANFIHH",
  "creditorAddress": {
    "streetName": "Sörnäistenlaituri",
    "buildingNumber": "23",
    "townName": "Helsinki",
    "postCode": "00530",
    "country": "FI"
  },
  "remittanceInformationUnstructured": "For the friend"
}

Creates a payment initiation request at the ASPSP.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
paymentProductpathstringtrueThe possible values are 'domestic-credit-transfers', 'sepa-credit-transfers' or 'cross-border-credit-transfer'.
TPP-Redirect-URIheaderstringtrueURI of the TPP, where the flow shall be redirected to after consent was successfully confirmed by the user.
TPP-Nok-Redirect-URIheaderstringfalseIf this URI is contained, the TPP is asking to redirect the transaction flow to this address instead of TPP-Redirect-URI in case if something went wrong or consent was cancelled.
bodybodyPaymentDetailstruenone

Responses

StatusMeaningDescriptionSchema
200OKOKPaymentsInitiationResponse

Get Payment Request

GET/{brandId}/bg/v1/payments/{paymentProduct}/{paymentId}
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/payments/{paymentProduct}/{paymentId} HTTP/1.1
Host: localhost:8080
Accept: */*

Returns the content of a payment object.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
paymentProductpathstringtrueThe possible values are 'domestic-credit-transfers', 'sepa-credit-transfers' or 'cross-border-credit-transfer'.
paymentIdpathstringtrueResource Identification of the related payment.

Responses

StatusMeaningDescriptionSchema
200OKOKPaymentRequest

Get Transaction Status Request

GET/{brandId}/bg/v1/payments/{paymentProduct}/{paymentId}/status
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/payments/{paymentProduct}/{paymentId}/status HTTP/1.1
Host: localhost:8080
Accept: */*

Can check the status of a payment initiation.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
paymentProductpathstringtrueThe possible values are 'domestic-credit-transfers', 'sepa-credit-transfers' or 'cross-border-credit-transfer'.
paymentIdpathstringtrueResource Identification of the related payment.

Responses

StatusMeaningDescriptionSchema
200OKOKTransactionStatusDto

Account information

POST/{brandId}/bg/v1/consents
Request
POST https://openbanking.dipocket.org/{brandId}/bg/v1/consents HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
TPP-Redirect-URI: https://my-awesome-ui/ok
TPP-Nok-Redirect-URI: https://my-awesome-ui/error

Body
{
  "access": {
    "accounts": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "balances": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "transactions": [
      {
        "iban": "FI4950009420028730"
      }
    ]
  },
  "recurringIndicator": true,
  "validUntil": "2023-10-10",
  "frequencyPerDay": 0
}

Creates an account information consent resource at the ASPSP regarding access to accounts specified in this request or without dedicated account.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
TPP-Redirect-URIheaderstringtrueURI of the TPP, where the flow shall be redirected to after consent was successfully confirmed by the user.
TPP-Nok-Redirect-URIheaderstringfalseIf this URI is contained, the TPP is asking to redirect the transaction flow to this address instead of TPP-Redirect-URI in case if something went wrong or consent was cancelled.
bodybodyConsentRequesttruenone
StatusMeaningDescriptionSchema
200OKOKConsentResponse
GET/{brandId}/bg/v1/consents/{consentId}
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/consents/{consentId} HTTP/1.1
Host: localhost:8080
Accept: */*

Returns the content of an account information consent object.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueIdentification of the consent resource as it is used in the API structure.
StatusMeaningDescriptionSchema
200OKOKConsentDetailsDto
DELETE/{brandId}/bg/v1/consents/{consentId}
Request
DELETE https://openbanking.dipocket.org/{brandId}/bg/v1/consents/{consentId} HTTP/1.1
Host: localhost:8080

The TPP can delete an account information consent object if needed with the following call.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueContains the resource-ID of the consent to be deleted.
StatusMeaningDescriptionSchema
200OKOKNone
GET/{brandId}/bg/v1/consents/{consentId}/status
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/consents/{consentId}/status HTTP/1.1
Host: localhost:8080
Accept: */*

Can check the status of an account information consent resource.

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
consentIdpathstringtrueIdentification of the consent resource as it is used in the API structure.
StatusMeaningDescriptionSchema
200OKOKConsentStatusDto

Read Account List

GET/{brandId}/bg/v1/accounts
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/accounts HTTP/1.1
Host: localhost:8080
Accept: */*
Consent-ID: 41f1884e-2002-40ed-b43b-ab9e5e8a19e6

Reads a list of bank accounts, with balances where required.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
Consent-IDheaderstringtrueIdentification of the corresponding consent as granted by the PSU

Responses

StatusMeaningDescriptionSchema
200OKOKAccountsListDto

Read Account Details

GET/{brandId}/bg/v1/accounts/{accountId}
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/accounts/{accountId} HTTP/1.1
Host: localhost:8080
Accept: */*
Consent-ID: 41f1884e-2002-40ed-b43b-ab9e5e8a19e6

Reads details about an account, with balances where required.

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
accountIdpathstringtrueThis identification is denoting the addressed account. The account-id is retrieved by using a "Read Account List" call.
Consent-IDheaderstringtrueIdentification of the corresponding consent as granted by the PSU

Responses

StatusMeaningDescriptionSchema
200OKOKAccountDetailsResponse

Read Transaction List

GET/{brandId}/bg/v1/accounts/{accountId}/transactions
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/accounts/{accountId}/transactions?dateFrom=string&dateTo=string HTTP/1.1
Host: localhost:8080
Accept: */*
Consent-ID: 41f1884e-2002-40ed-b43b-ab9e5e8a19e6

This operation is used to fetch available account transactions by provided account id. This can be either booked or pending transactions

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
accountIdpathstringtrueThis identification is denoting the addressed account. The account-id is retrieved by using a "Read Account List" call.
dateFromquerystringtrueStarting date (inclusive the date dateFrom)
dateToquerystringtrueEnd date (inclusive the date dateTo)
Consent-IDheaderstringtrueIdentification of the corresponding consent as granted by the PSU

Responses

StatusMeaningDescriptionSchema
200OKOKTransactionsListDto

Read Transaction Details

GET/{brandId}/bg/v1/accounts/{accountId}/transactions/{transactionId}
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/accounts/{accountId}/transactions/{transactionId} HTTP/1.1
Host: localhost:8080
Accept: */*
Consent-ID: 41f1884e-2002-40ed-b43b-ab9e5e8a19e6

Reads transaction details from a given transaction addressed by "transactionId" on a given account addressed by "account-id".

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
accountIdpathstringtrueThis identification is denoting the addressed account. The account-id is retrieved by using a "Read Account List" call.
transactionIdpathstringtrueThis identification is given by the attribute transactionId of the corresponding entry of a transaction list.
Consent-IDheaderstringtrueIdentification of the corresponding consent as granted by the PSU

Responses

StatusMeaningDescriptionSchema
200OKOKTransactionsDetailsResponse

Read Balance

GET/{brandId}/bg/v1/accounts/{accountId}/balances
Request
GET https://openbanking.dipocket.org/{brandId}/bg/v1/accounts/{accountId}/balances HTTP/1.1
Host: localhost:8080
Accept: */*
Consent-ID: 41f1884e-2002-40ed-b43b-ab9e5e8a19e6

Reads account data from a given account addressed by "account-id".

Parameters

NameInTypeRequiredDescription
brandIdpathstringtrueId of brand (list of Dipocket brands is available by GET /brands)
accountIdpathstringtrueThis identification is denoting the addressed account. The account-id is retrieved by using a "Read Account List" call.
Consent-IDheaderstringtrueIdentification of the corresponding consent as granted by the PSU

Responses

StatusMeaningDescriptionSchema
200OKOKAccountBalancesDto

Brands

Get brands

GET/brands
Request
GET https://openbanking.dipocket.org/brands HTTP/1.1
Host: localhost:8080
Accept: */*

Returns the list of Dipocket brands.

Responses

StatusMeaningDescriptionSchema
200OKOKBrandsResponse

Schemas

AccountReference

AccountReference example
{
  "iban": "FI4950009420028730"
}

PSU’s account number.

Properties

NameTypeRequiredDescription
ibanstringtrueThe International Bank Account Number.

CofConsentRequest

CofConsentRequest example
{
  "account": {
    "iban": "FI4950009420028730"
  }
}

Properties

NameTypeRequiredDescription
accountAccountReferencefalsePSU’s account number.

ConsentResponse

ConsentResponse example
{
  "consentId": "c67a3de6-5176-4c7d-a64d-e6ac4f31e848",
  "consentStatus": "received",
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
consentIdstringfalseThe consent identification assigned to the created resource.
consentStatusstringfalseAuthentication status of the consent.
_linksobjectfalsenone
» additionalPropertiesLinkfalsenone
Enumerated Values
PropertyValue
consentStatusreceived
consentStatusrejected
consentStatuspartiallyAuthorised
consentStatusvalid
consentStatusrevokedByPsu
consentStatusexpired
consentStatusterminatedByTpp
Link example
{
  "href": "string"
}

Properties

NameTypeRequiredDescription
hrefstringtrueLink to resource.

Address

Address example
{
  "streetName": "Sörnäistenlaituri",
  "buildingNumber": "23",
  "townName": "Helsinki",
  "postCode": "00530",
  "country": "FI"
}

Creditor address. Not required for domestic payments

Properties

NameTypeRequiredDescription
streetNamestringfalseStreet name. Required field for SWIFT payments.
buildingNumberstringfalseBuilding number. Required field for SWIFT payments.
townNamestringfalseTown name. Required field for SWIFT payments.
postCodestringfalsePost code. Required field for SWIFT payments.
countrystringfalseTwo-letter country codes defined in ISO 3166-1. Required field for SWIFT and SEPA payments.

Amount

Amount example
{
  "currency": "EUR",
  "amount": "5877.78"
}

Amount with currency

Properties

NameTypeRequiredDescription
currencystringtrueISO 4217 Alpha 3 currency code.
amountstringtrueThe amount given with fractional digits, where fractions must be compliant to the currency definition. Negative amounts are signed by minus. The decimal separator is a dot.

PaymentDetails

PaymentDetails example
{
  "debtorAccount": {
    "iban": "FI4950009420028730"
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  },
  "creditorName": "Merchant123",
  "creditorAccount": {
    "iban": "FI4950009420028730"
  },
  "creditorType": "INDIVIDUAL",
  "creditorAgent": "SBANFIHH",
  "creditorAddress": {
    "streetName": "Sörnäistenlaituri",
    "buildingNumber": "23",
    "townName": "Helsinki",
    "postCode": "00530",
    "country": "FI"
  },
  "remittanceInformationUnstructured": "For the friend"
}

Properties

NameTypeRequiredDescription
debtorAccountAccountReferencefalsePSU’s account number.
instructedAmountAmounttrueAmount with currency
creditorNamestringtrueName of the creditor.
creditorAccountAccountReferencetruePSU’s account number.
creditorTypestringtrueCreditor type. Possible values: INDIVIDUAL or COMPANY
creditorAgentstringfalseUnique and unambiguous identification of a financial institution, as assigned under an internationally recognised or proprietary identification scheme.
creditorAddressAddressfalseCreditor address. Not required for domestic payments
remittanceInformationUnstructuredstringtrueUnstructured message to be assigned to a payment instruction. Number of supported lines and structure of each line depend on the payment type and the chosen ASPSP and is provided in the payment type information. In case values of both remittanceInformation and referenceNumber field are provided, the referenceNumber will be used.
Enumerated Values
PropertyValue
creditorTypeINDIVIDUAL
creditorTypeCOMPANY

PaymentsInitiationResponse

PaymentsInitiationResponse example
{
  "transactionStatus": "ACCC",
  "paymentId": "737192d0-9f3b-49b4-85bb-f612ce8726b7",
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
transactionStatusstringfalseThe transaction status is filled with codes of the ISO 20022 data table.
paymentIdstringfalseResource Identification of the related payment.
_linksobjectfalsenone
» additionalPropertiesLinkfalsenone
Enumerated Values
PropertyValue
transactionStatusACCC
transactionStatusACCP
transactionStatusACSC
transactionStatusACSP
transactionStatusACTC
transactionStatusACWC
transactionStatusACWP
transactionStatusRCVD
transactionStatusPDNG
transactionStatusRJCT
transactionStatusCANC
transactionStatusACFC
transactionStatusPATC
transactionStatusPART

ConfirmationOfFundsRequest

ConfirmationOfFundsRequest example
{
  "account": {
    "iban": "FI4950009420028730"
  },
  "instructedAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  }
}

Properties

NameTypeRequiredDescription
accountAccountReferencefalsePSU’s account number.
instructedAmountAmountfalseAmount with currency

ConfirmationOfFundsResponse

ConfirmationOfFundsResponse example
{
  "fundsAvailable": true
}

Properties

NameTypeRequiredDescription
fundsAvailablebooleanfalseEquals true if sufficient funds are available at the time of the request, false otherwise.

AccountAccess

AccountAccess example
{
  "accounts": [
    {
      "iban": "FI4950009420028730"
    }
  ],
  "balances": [
    {
      "iban": "FI4950009420028730"
    }
  ],
  "transactions": [
    {
      "iban": "FI4950009420028730"
    }
  ]
}

Requested access services.

Properties

NameTypeRequiredDescription
accounts[AccountReference]falseIs asking for detailed account information.
balances[AccountReference]falseIs asking for balances of the addressed accounts.
transactions[AccountReference]falseIs asking for transactions of the addressed accounts.

ConsentRequest

ConsentRequest example
{
  "access": {
    "accounts": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "balances": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "transactions": [
      {
        "iban": "FI4950009420028730"
      }
    ]
  },
  "recurringIndicator": true,
  "validUntil": "2023-10-10",
  "frequencyPerDay": 0
}

Properties

NameTypeRequiredDescription
accessAccountAccesstrueRequested access services.
recurringIndicatorbooleantruetrue, if the consent is for recurring access to the account data
false, if the consent is for one access to the account data
validUntilstring(date)trueThis parameter is defining a valid until date for the requested consent. The content is the local ASPSP date in ISODate Format.
frequencyPerDayinteger(int32)falseNot supported. This field indicates the requested maximum frequency for an access without PSU involvement per day.

CofConsentDetails

CofConsentDetails example
{
  "account": {
    "iban": "FI4950009420028730"
  },
  "consentStatus": "received"
}

Properties

NameTypeRequiredDescription
accountAccountReferencefalsePSU’s account number.
consentStatusstringfalseAuthentication status of the consent.
Enumerated Values
PropertyValue
consentStatusreceived
consentStatusrejected
consentStatuspartiallyAuthorised
consentStatusvalid
consentStatusrevokedByPsu
consentStatusexpired
consentStatusterminatedByTpp

ConsentStatusDto

ConsentStatusDto example
{
  "consentStatus": "received"
}

Properties

NameTypeRequiredDescription
consentStatusstringfalsenone
Enumerated Values
PropertyValue
consentStatusreceived
consentStatusrejected
consentStatuspartiallyAuthorised
consentStatusvalid
consentStatusrevokedByPsu
consentStatusexpired
consentStatusterminatedByTpp

PaymentRequest

PaymentRequest example
{
  "transactionStatus": "ACCC",
  "paymentId": "737192d0-9f3b-49b4-85bb-f612ce8726b7",
  "paymentDetails": {
    "debtorAccount": {
      "iban": "FI4950009420028730"
    },
    "instructedAmount": {
      "currency": "EUR",
      "amount": "5877.78"
    },
    "creditorName": "Merchant123",
    "creditorAccount": {
      "iban": "FI4950009420028730"
    },
    "creditorType": "INDIVIDUAL",
    "creditorAgent": "SBANFIHH",
    "creditorAddress": {
      "streetName": "Sörnäistenlaituri",
      "buildingNumber": "23",
      "townName": "Helsinki",
      "postCode": "00530",
      "country": "FI"
    },
    "remittanceInformationUnstructured": "For the friend"
  },
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
transactionStatusstringfalseThe transaction status is filled with codes of the ISO 20022 data table.
paymentIdstringfalseResource Identification of the related payment.
paymentDetailsPaymentDetailsfalsenone
_linksobjectfalsenone
» additionalPropertiesLinkfalsenone
Enumerated Values
PropertyValue
transactionStatusACCC
transactionStatusACCP
transactionStatusACSC
transactionStatusACSP
transactionStatusACTC
transactionStatusACWC
transactionStatusACWP
transactionStatusRCVD
transactionStatusPDNG
transactionStatusRJCT
transactionStatusCANC
transactionStatusACFC
transactionStatusPATC
transactionStatusPART

TransactionStatusDto

TransactionStatusDto example
{
  "transactionStatus": "ACCC"
}

Properties

NameTypeRequiredDescription
transactionStatusstringfalseThe transaction status is filled with codes of the ISO 20022 data table.
Enumerated Values
PropertyValue
transactionStatusACCC
transactionStatusACCP
transactionStatusACSC
transactionStatusACSP
transactionStatusACTC
transactionStatusACWC
transactionStatusACWP
transactionStatusRCVD
transactionStatusPDNG
transactionStatusRJCT
transactionStatusCANC
transactionStatusACFC
transactionStatusPATC
transactionStatusPART

ConsentDetailsDto

ConsentDetailsDto example
{
  "access": {
    "accounts": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "balances": [
      {
        "iban": "FI4950009420028730"
      }
    ],
    "transactions": [
      {
        "iban": "FI4950009420028730"
      }
    ]
  },
  "recurringIndicator": true,
  "validUntil": "2019-08-24",
  "consentStatus": "received",
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
accessAccountAccessfalseRequested access services.
recurringIndicatorbooleanfalsenone
validUntilstring(date)falsenone
consentStatusstringfalsenone
_linksobjectfalsenone
» additionalPropertiesLinkfalsenone
Enumerated Values
PropertyValue
consentStatusreceived
consentStatusrejected
consentStatuspartiallyAuthorised
consentStatusvalid
consentStatusrevokedByPsu
consentStatusexpired
consentStatusterminatedByTpp

AccountDetails

AccountDetails example
{
  "resourceId": "33154",
  "iban": "string",
  "currency": "EUR",
  "ownerName": "Krzysztofa Dell",
  "product": "string",
  "cashAccountType": "CACC",
  "name": "string",
  "status": "enabled",
  "details": "string",
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
resourceIdstringtrueThis is the data element to be used in the path when retrieving data from a dedicated account.
ibanstringtrueThis data element can be used in the body of the Consent Request Message for retrieving account access consent from this payment account.
currencystringtrueAccount currency
ownerNamestringfalseName of the legal account owner.
productstringfalseProduct Name of the Bank for this account, proprietary definition.
cashAccountTypestringfalseExternalCashAccountType1Code from ISO 20022
namestringfalseName of the account, as assigned by the ASPSP, in agreement with the account owner in order to provide an additional means of identification of the account.
statusstringtrueAccount status
detailsstringfalseCharacteristics of the account
_linksobjecttrueLinks to balances and transactions for the account.
» additionalPropertiesLinkfalsenone
Enumerated Values
PropertyValue
cashAccountTypeCACC
cashAccountTypeCASH
cashAccountTypeCHAR
cashAccountTypeCISH
cashAccountTypeCOMM
cashAccountTypeCPAC
cashAccountTypeLLSV
cashAccountTypeLOAN
cashAccountTypeMGLD
cashAccountTypeMOMA
cashAccountTypeNREX
cashAccountTypeODFT
cashAccountTypeONDP
cashAccountTypeOTHR
cashAccountTypeSACC
cashAccountTypeSLRY
cashAccountTypeSVGS
cashAccountTypeTAXE
cashAccountTypeTRAN
cashAccountTypeTRAS
statusenabled
statusdeleted
statusblocked

AccountsListDto

AccountsListDto example
{
  "accounts": [
    {
      "resourceId": "33154",
      "iban": "string",
      "currency": "EUR",
      "ownerName": "Krzysztofa Dell",
      "product": "string",
      "cashAccountType": "CACC",
      "name": "string",
      "status": "enabled",
      "details": "string",
      "_links": {
        "property1": {
          "href": "string"
        },
        "property2": {
          "href": "string"
        }
      }
    }
  ]
}

Properties

NameTypeRequiredDescription
accounts[AccountDetails]falsenone

AccountDetailsResponse

AccountDetailsResponse example
{
  "account": {
    "resourceId": "33154",
    "iban": "string",
    "currency": "EUR",
    "ownerName": "Krzysztofa Dell",
    "product": "string",
    "cashAccountType": "CACC",
    "name": "string",
    "status": "enabled",
    "details": "string",
    "_links": {
      "property1": {
        "href": "string"
      },
      "property2": {
        "href": "string"
      }
    }
  }
}

Properties

NameTypeRequiredDescription
accountAccountDetailsfalsenone

AccountReport

AccountReport example
{
  "booked": [
    {
      "transactionId": "string",
      "entryReference": "string",
      "creditorName": "Rut Rameshvara",
      "creditorAccount": {
        "iban": "FI4950009420028730"
      },
      "debtorName": "Bityah Amita",
      "debtorAccount": {
        "iban": "FI4950009420028730"
      },
      "mandateId": "string",
      "transactionAmount": {
        "currency": "EUR",
        "amount": "5877.78"
      },
      "bookingDate": "2019-08-24T14:15:22Z",
      "valueDate": "2019-08-24T14:15:22Z",
      "remittanceInformationUnstructured": "For the friend",
      "bankTransactionCode": "string",
      "proprietaryBankTransactionCode": "string"
    }
  ],
  "pending": [
    {
      "transactionId": "string",
      "entryReference": "string",
      "creditorName": "Rut Rameshvara",
      "creditorAccount": {
        "iban": "FI4950009420028730"
      },
      "debtorName": "Bityah Amita",
      "debtorAccount": {
        "iban": "FI4950009420028730"
      },
      "mandateId": "string",
      "transactionAmount": {
        "currency": "EUR",
        "amount": "5877.78"
      },
      "bookingDate": "2019-08-24T14:15:22Z",
      "valueDate": "2019-08-24T14:15:22Z",
      "remittanceInformationUnstructured": "For the friend",
      "bankTransactionCode": "string",
      "proprietaryBankTransactionCode": "string"
    }
  ],
  "information": [
    {
      "transactionId": "string",
      "entryReference": "string",
      "creditorName": "Rut Rameshvara",
      "creditorAccount": {
        "iban": "FI4950009420028730"
      },
      "debtorName": "Bityah Amita",
      "debtorAccount": {
        "iban": "FI4950009420028730"
      },
      "mandateId": "string",
      "transactionAmount": {
        "currency": "EUR",
        "amount": "5877.78"
      },
      "bookingDate": "2019-08-24T14:15:22Z",
      "valueDate": "2019-08-24T14:15:22Z",
      "remittanceInformationUnstructured": "For the friend",
      "bankTransactionCode": "string",
      "proprietaryBankTransactionCode": "string"
    }
  ],
  "_links": {
    "property1": {
      "href": "string"
    },
    "property2": {
      "href": "string"
    }
  }
}

Properties

NameTypeRequiredDescription
booked[Transaction]falseList of transactions in status "booked"
pending[Transaction]falseList of transactions in status "pending"
information[Transaction]falseList of transactions in status "information"
_linksobjectfalseContains a link to account details resource.
» additionalPropertiesLinkfalsenone

Transaction

Transaction example
{
  "transactionId": "string",
  "entryReference": "string",
  "creditorName": "Rut Rameshvara",
  "creditorAccount": {
    "iban": "FI4950009420028730"
  },
  "debtorName": "Bityah Amita",
  "debtorAccount": {
    "iban": "FI4950009420028730"
  },
  "mandateId": "string",
  "transactionAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  },
  "bookingDate": "2019-08-24T14:15:22Z",
  "valueDate": "2019-08-24T14:15:22Z",
  "remittanceInformationUnstructured": "For the friend",
  "bankTransactionCode": "string",
  "proprietaryBankTransactionCode": "string"
}

List of transactions in status "information"

Properties

NameTypeRequiredDescription
transactionIdstringfalseA unique and immutable identifier used to identify the transaction resource.
entryReferencestringfalsenone
creditorNamestringfalseName of the creditor if a "Debited" transaction
creditorAccountAccountReferencefalsePSU’s account number.
debtorNamestringfalseName of the debtor if a "Credited" transaction
debtorAccountAccountReferencefalsePSU’s account number.
mandateIdstringfalseIdentification of Mandates, e.g. a SEPA Mandate ID
transactionAmountAmounttrueAmount with currency
bookingDatestring(date-time)falseThe Date when an entry is posted to an account on the ASPSPs books.
valueDatestring(date-time)falseDate and time at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.
remittanceInformationUnstructuredstringtrueUnstructured message to be assigned to a payment instruction. Number of supported lines and structure of each line depend on the payment type and the chosen ASPSP and is provided in the payment type information. In case values of both remittanceInformation and referenceNumber field are provided, the referenceNumber will be used.
bankTransactionCodestringfalseBank transaction code as used by the ASPSP andusingthesubelementsof this structured code defined by ISO20022.
proprietaryBankTransactionCodestringfalseproprietary bank transaction code as used within a community or within an ASPSP e.g. for MT94x based transaction reports

TransactionsListDto

TransactionsListDto example
{
  "account": {
    "iban": "FI4950009420028730"
  },
  "transactions": {
    "booked": [
      {
        "transactionId": "string",
        "entryReference": "string",
        "creditorName": "Rut Rameshvara",
        "creditorAccount": {
          "iban": "FI4950009420028730"
        },
        "debtorName": "Bityah Amita",
        "debtorAccount": {
          "iban": "FI4950009420028730"
        },
        "mandateId": "string",
        "transactionAmount": {
          "currency": "EUR",
          "amount": "5877.78"
        },
        "bookingDate": "2019-08-24T14:15:22Z",
        "valueDate": "2019-08-24T14:15:22Z",
        "remittanceInformationUnstructured": "For the friend",
        "bankTransactionCode": "string",
        "proprietaryBankTransactionCode": "string"
      }
    ],
    "pending": [
      {
        "transactionId": "string",
        "entryReference": "string",
        "creditorName": "Rut Rameshvara",
        "creditorAccount": {
          "iban": "FI4950009420028730"
        },
        "debtorName": "Bityah Amita",
        "debtorAccount": {
          "iban": "FI4950009420028730"
        },
        "mandateId": "string",
        "transactionAmount": {
          "currency": "EUR",
          "amount": "5877.78"
        },
        "bookingDate": "2019-08-24T14:15:22Z",
        "valueDate": "2019-08-24T14:15:22Z",
        "remittanceInformationUnstructured": "For the friend",
        "bankTransactionCode": "string",
        "proprietaryBankTransactionCode": "string"
      }
    ],
    "information": [
      {
        "transactionId": "string",
        "entryReference": "string",
        "creditorName": "Rut Rameshvara",
        "creditorAccount": {
          "iban": "FI4950009420028730"
        },
        "debtorName": "Bityah Amita",
        "debtorAccount": {
          "iban": "FI4950009420028730"
        },
        "mandateId": "string",
        "transactionAmount": {
          "currency": "EUR",
          "amount": "5877.78"
        },
        "bookingDate": "2019-08-24T14:15:22Z",
        "valueDate": "2019-08-24T14:15:22Z",
        "remittanceInformationUnstructured": "For the friend",
        "bankTransactionCode": "string",
        "proprietaryBankTransactionCode": "string"
      }
    ],
    "_links": {
      "property1": {
        "href": "string"
      },
      "property2": {
        "href": "string"
      }
    }
  }
}

Properties

NameTypeRequiredDescription
accountAccountReferencefalsePSU’s account number.
transactionsAccountReportfalsenone

TransactionsDetailsResponse

TransactionsDetailsResponse example
{
  "transactionsDetails": {
    "transactionId": "string",
    "entryReference": "string",
    "creditorName": "Rut Rameshvara",
    "creditorAccount": {
      "iban": "FI4950009420028730"
    },
    "debtorName": "Bityah Amita",
    "debtorAccount": {
      "iban": "FI4950009420028730"
    },
    "mandateId": "string",
    "transactionAmount": {
      "currency": "EUR",
      "amount": "5877.78"
    },
    "bookingDate": "2019-08-24T14:15:22Z",
    "valueDate": "2019-08-24T14:15:22Z",
    "remittanceInformationUnstructured": "For the friend",
    "bankTransactionCode": "string",
    "proprietaryBankTransactionCode": "string"
  }
}

Properties

NameTypeRequiredDescription
transactionsDetailsTransactionfalseList of transactions in status "information"

AccountBalancesDto

AccountBalancesDto example
{
  "account": {
    "iban": "FI4950009420028730"
  },
  "balances": [
    {
      "balanceAmount": {
        "currency": "EUR",
        "amount": "5877.78"
      },
      "balanceType": "expected",
      "lastChangeDateTime": "2019-08-24T14:15:22Z",
      "referenceDate": "2019-08-24T14:15:22Z"
    }
  ]
}

Properties

NameTypeRequiredDescription
accountAccountReferencefalsePSU’s account number.
balances[Balance]falsenone

Balance

Balance example
{
  "balanceAmount": {
    "currency": "EUR",
    "amount": "5877.78"
  },
  "balanceType": "expected",
  "lastChangeDateTime": "2019-08-24T14:15:22Z",
  "referenceDate": "2019-08-24T14:15:22Z"
}

Properties

NameTypeRequiredDescription
balanceAmountAmounttrueAmount with currency
balanceTypestringtrueType of the balance.
lastChangeDateTimestring(date-time)falseThis data element might be used to indicate e.g. with the expected or booked balance that no action is known on the account, which is not yet booked.
referenceDatestring(date-time)falseIndicates the date of the balance
Enumerated Values
PropertyValue
balanceTypeexpected
balanceTypeclosingBooked
balanceTypeinterimAvailable
balanceTypeinterimBooked

BrandInfo

BrandInfo example
{
  "brandName": "EnableBanking",
  "brandId": "654321",
  "authorizationEndpoint": "https://psd2-auth-test.dipocket.org/authorize"
}

List of Dipocket brands with id's and authorisation endpoints

Properties

NameTypeRequiredDescription
brandNamestringfalseName of Dipocket brand
brandIdstringfalseDipocket brand id, which is needed to access PSD2 endpoints
authorizationEndpointstringfalseLink to Dipocket brand's authorisation endpoint. Each brand use their own endpoint.

BrandsResponse

BrandsResponse example
{
  "brands": [
    {
      "brandName": "EnableBanking",
      "brandId": "654321",
      "authorizationEndpoint": "https://psd2-auth-test.dipocket.org/authorize"
    }
  ]
}

Properties

NameTypeRequiredDescription
brands[BrandInfo]falseList of Dipocket brands with id's and authorisation endpoints