Skip to main content

ImportNotification

eventType stringrequired

Possible values: [AccountCreated, AccountDeleted, AccountUpdated, AccountTypeUpdated, TransactionsImported]

eventData object

Account event details

partnerIdstringnullable

Partner ID

userIdstringnullable

User ID

account object

Account details

idstringrequired

Account identifier

Possible values: non-empty

Example: 5dshw36
accountTypeIdstringrequired

Account type identifier

Possible values: non-empty

Example: amazon
namestringnullable

Account name

Example: Connector to Amazon #1
statusstringrequired

Account status

  • Idle - OK, no processing currently takes place
  • Updating - OK, transactions are currently being downloaded
  • PreparingUpdate - OK, transactions download is about to start
  • Error
  • ErrorCredentialsFailed
  • ErrorCredentialsMissing

Possible values: non-empty

Example: Idle
elementStatistics object

Element statistics

countinteger<int32>

The number of elements

Example: 123
firststring<date-time>nullable

First element date

Example: 2021-11-17T12:15:16
laststring<date-time>nullable

Last element date

Example: 2021-11-17T12:15:16
accountFields object

Account fields

The fields list depends on the account type

property name*stringnullable
errors object[]

List of errors currently active on the account.

  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • warnings object[]

    List of warnings currently active on the account.

  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • idstring

    Notification Id

    webhookIdstring

    Webhook Id

    eventRaisedAtstring<date-time>

    Date and time when the event was triggered

    eventData object

    Import event details

    partnerIdstring

    Partner ID

    userIdstringnullable

    User ID

    accountIdstring

    Account ID

    transactions object

    Transactions import details

    countReceivedinteger<int32>

    The number of transactions received

    The total nomber of transactions downloaded from the provider

    Example: 100
    countAddedinteger<int32>

    The number of added transactions

    The number transactions that were downloaded for the first time and added

    Example: 10
    countUpdatedinteger<int32>

    The number of updated transactions

    The number of transactions that were already downloaded before, but this download has new data for these transactions

    Example: 5
    bookingDateStartstring<date-time>nullable

    Booking date and time of the earliest imported transaction

    bookingDateEndstring<date-time>nullable

    Booking date and time of the latest imported transaction

    createdAtstring<date-time>

    Import date and time

    Example: 2024-03-24T13:05:15.000
    errorstringnullabledeprecated

    Error message

    Example: An error occurred when importing transactions
    statusstringrequired

    Data import status

    • Done - Import completed successfully
    • Importing - Currently importing
    • Failed - Import failed

    Possible values: non-empty

    Example: Done
    warnings object[]
  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • errors object[]
  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • dataImportIdstringnullable
    report objectnullable

    Report details

    idstring

    Report ID

    Example: 8fkjh5hr
    namestring

    Report name

    Example: Payment report
    elementStatistics object

    Report statistics

    countinteger<int32>

    Number of transactions in the report

    Example: 123
    firststring<date-time>nullabledeprecated
    bookingDateStartstring<date-time>nullable

    The booking date and time of the earliest transaction in the report

    laststring<date-time>nullabledeprecated
    bookingDateEndstring<date-time>nullable

    The booking date and time of the latest transaction in the report

    reportDatestring<date-time>nullable

    Report date

    Example: 2022-03-24T10:01:01.000
    reportPeriod objectnullable

    Report period

    startstring<date-time>nullable

    The earliest report period date and time

    Example: 2023-10-30T10:01:11.123
    endstring<date-time>nullable

    The latest report period date and time

    Example: 2023-10-30T10:01:11.123
    depositDatestring<date-time>nullable

    Deposit date

    Example: 2022-03-24T00:00:00.000
    createdAtstring<date-time>

    Report creation date and time

    Example: 2022-03-24T10:01:01.000
    modifiedAtstring<date-time>

    Last report modification date and time

    Example: 2022-03-24T10:01:01.000
    importedAtstring<date-time>nullable

    Import date

    Example: 2022-03-24T00:00:00.000
    stateReportState

    Report state

    Possible values: [available, downloaded, importing, imported, download_error, import_error, skipped]

    errorstringnullabledeprecated

    Error

    warnings object[]
  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • errors object[]
  • Array [
  • typestring

    Type or general classification of the error.

    Example: AccountCredentialsInvalid
    messagestring

    Error message.

    providerMessagestringnullable

    Original error message from the PSP.

    isUserActionRequiredboolean

    Whether a user action is required to resolve the error.

    Example: true
    isTemporaryboolean

    If the error is temporary.

    Example: false
  • ]
  • ImportNotification
    {
    "eventData": {
    "partnerId": "string",
    "userId": "string",
    "accountId": "string",
    "transactions": {
    "countReceived": 100,
    "countAdded": 10,
    "countUpdated": 5,
    "bookingDateStart": "2024-07-29T15:51:28.071Z",
    "bookingDateEnd": "2024-07-29T15:51:28.071Z",
    "createdAt": "2024-03-24T13:05:15.000",
    "status": "Done",
    "warnings": [
    {
    "type": "AccountCredentialsInvalid",
    "message": "string",
    "providerMessage": "string",
    "isUserActionRequired": true,
    "isTemporary": false
    }
    ],
    "errors": [
    {
    "type": "AccountCredentialsInvalid",
    "message": "string",
    "providerMessage": "string",
    "isUserActionRequired": true,
    "isTemporary": false
    }
    ],
    "dataImportId": "string"
    },
    "report": {
    "id": "8fkjh5hr",
    "name": "Payment report",
    "elementStatistics": {
    "count": 123,
    "bookingDateStart": "2024-07-29T15:51:28.071Z",
    "bookingDateEnd": "2024-07-29T15:51:28.071Z"
    },
    "reportDate": "2022-03-24T10:01:01.000",
    "reportPeriod": {
    "start": "2023-10-30T10:01:11.123",
    "end": "2023-10-30T10:01:11.123"
    },
    "depositDate": "2022-03-24T00:00:00.000",
    "createdAt": "2022-03-24T10:01:01.000",
    "modifiedAt": "2022-03-24T10:01:01.000",
    "importedAt": "2022-03-24T00:00:00.000",
    "state": "available",
    "warnings": [
    {
    "type": "AccountCredentialsInvalid",
    "message": "string",
    "providerMessage": "string",
    "isUserActionRequired": true,
    "isTemporary": false
    }
    ],
    "errors": [
    {
    "type": "AccountCredentialsInvalid",
    "message": "string",
    "providerMessage": "string",
    "isUserActionRequired": true,
    "isTemporary": false
    }
    ]
    }
    },
    "eventType": "string",
    "id": "string",
    "webhookId": "string",
    "eventRaisedAt": "2024-07-29T15:51:28.071Z"
    }