Transactions

Transactions endpoint.

Get Transactions

GET https://pomeranianstoner.com/api/v1/transactions

This endpoint allows you to get transactions ONLY for given user.

Headers

Name
Type
Description

token

string

User specific token. (Session only)

{
    "count": 2,
    "results": [
      {
        "id": 1,
        "amount": 12000,32 <positive-decimal>,
        "main_category": "Income general",
        "sub_category": "Salary",
        "name": "Transaction1",
        "type": "income",
        "date": 20180203073000 <timestamp>
      },
      {
        "id": 2,
        "amount": 580,00 <positive-decimal>,
        "main_category": "House general",
        "sub_category": "Rent",
        "name": "Transaction2",
        "type": "expense",
        "date": 20180203073000 <timestamp>
      }
    ]
}

Last updated

Was this helpful?