The Categorized Transaction Object in Detail
{
"insights_transaction_id": String,
"insights_account_id": String,
"ob_transaction_id": ?String,
"value_date": ?Date,
"booking_date": ?Date,
"amount": Amount,
"reference": ?String,
"bank_references": ? {
"unstructured": ?String,
"structured": ?String,
"end_to_end": ?String
},
"state": ?Enum<'PROCESSED', 'PENDING', 'CANCELED', 'FAILED'>,
"type": Enum<'DEBIT', 'CREDIT'>,
"method": Enum<'TRANSFER', 'DIRECT_DEBIT', 'INSTANT', 'UNKNOWN'>,
"bank_transaction_code": ?{
"code": ?String,
"sub_code": ?String,
"description": ?String
},
"counter_party": ?{
"iban": ?String,
"account_number": ?String,
"bic": ?String,
"bank_code": ?String,
"holder_name": ?String,
"holder_address": ?{
"country": ?String
}
},
"categories": Array<CategorizedTransactionCategory>,
"brand": ?Brand,
"labels": ?{
<label_key>: String,
},
}
The date on which the transaction was valued by the bank (usually in accounting).
Object containing additional references.
The unstructured reference as it was returned from the bank without any modifications.
This value can be used for reconciliation and transaction matching.
The state of the transaction.
Possible values are:
PROCESSED
- The transaction was processedPENDING
- The transaction is still pending and not yet processedCANCELED
- The transactions was canceledFAILED
- The transaction was not processed
The type property indicates whether funds were withdrawn (DEBIT
) or applied (CREDIT
) to the account.
Possible values are:
DEBIT
- Funds were withdrawn from the accountCREDIT
- Funds were applied to the account
The type property indicates which transaction method was used.
Possible values are:
TRANSFER
- ADEBIT
transaction that was initiated by the consumerDIRECT_DEBIT
- ADEBIT
transactionINSTANT
- AnINSTANT
transactionUNKNOWN
- A transaction that could not be classified
The Bank Transaction Code as provided by the bank. This information allows the customer to correctly report a transaction, which will help to - for example - perform reconciliation operations.
The values of this object are not normalized and the meaning and format could differ per PSD2-framework or even per bank. For more information, visit the related PSD2-API documentation of the specific banks. Some banks (e.g. Berlin-Group PSD2) follow the ISO-20022 Standard.
Specifies the business area of the underlying transaction.
There is no guarantee that the code
-field follows the ISO-20022 Standard.
Specifies the sub-product family within a specific family.
There is no guarantee that the sub_code
-field follows the ISO-20022 Standard.
A textual description of the bank_transaction_code
.
The other party involved in the transaction. This can be empty for some transactions.
The country code in the ISO 3166-1 alpha-2 format, e.g. DE
, GB
, SE
.
Any transaction could match a number of categories. All those matched categories will be reported as a list here.
If the transaction was sent to or received from a known brand, this will be shown in the brand
property.
Any amount of labels consisting of key-value pairs. Can be added/updated with Upsert labels