Transaction resource represents an operation on an account.
Its amount
can be either negative or positive. The sign depends on the nature of the transaction (debit - credit).
Field | Description |
---|---|
id long | Transaction's unique identifier. |
resource_uri string | |
resource_type string, constant | |
description string | Transaction's description cleaned and processed by the API. |
raw_description string | Transaction's raw description taken from the bank's website. |
amount double | Transaction's amount. A positive value indicates a credit and a negative value indicates a debit. |
date date | Transaction date |
updated_at timestamp | Timestamp recording when the transaction was last updated. |
currency_code string | 3 letters ISO 4217 currency code. |
is_deleted boolean | Flag to indicate that the transaction was deleted. |
category category hash | Mini category representation of the transaction's category. |
account account hash | Mini account representation of the transaction's account. |
is_future boolean | Flag to indicate that the transaction will be debited in the future and doesn’t affect the account’s balance. |
show_client_side boolean | Flag to indicate if the transaction should be displayed in your frontend. The value is set to false for transactions from a differed debit card account after the same transaction has been added on the related checking account. |
Example transaction resource
{
"id": 1000013102238,
"resource_uri": "/v2/transactions/1000013102238",
"resource_type": "transaction",
"description": "CB Monop Paris",
"raw_description": "Paiement Carte 029412 75 monop paris",
"amount": -9.39,
"date": "2016-02-22",
"updated_at": "2016-02-22T13:27:53Z",
"currency_code": "EUR",
"is_deleted": false,
"category": {
"id": 168,
"resource_uri": "/v2/categories/168",
"resource_type": "category"
},
"account": {
"id": 2341339,
"resource_uri": "/v2/accounts/2341339",
"resource_type": "account"
},
"is_future": false,
"show_client_side": true
}