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. |
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. |
currency_code string | 3 letters ISO 4217 currency code. |
date date | Transaction date |
is_deleted boolean | Flag to indicate that the transaction was deleted. |
account account hash | Mini account representation of the transaction's account. |
category category hash | Mini category representation of the transaction's category. |
updated_at timestamp | Timestamp recording when the transaction was last updated. |
resource_type string, constant | |
resource_uri string |
Example transaction resource
{
"id": 1000013102238,
"description": "CB Monop Paris",
"raw_description": "Paiement Carte 029412 75 monop paris",
"amount": -9.39,
"currency_code": "EUR",
"date": "2016-02-22",
"updated_at": "2016-02-22T13:27:53Z",
"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"
},
"resource_uri": "/v2/transactions/1000013102238",
"resource_type": "transaction"
}