Skip to main content
GET
/
api
/
bank
/
transactions
/
{id}
Get transaction by ID
curl --request GET \
  --url https://api.ai2fin.com/api/bank/transactions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "date": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "amount": 123,
  "type": "debit",
  "categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "category": {
    "id": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "color": "<string>",
    "isTaxDeductible": true,
    "taxCategory": "<string>",
    "defaultGstRate": 123
  },
  "merchant": "<string>",
  "isTaxDeductible": true,
  "businessUsePercentage": 50,
  "gstAmount": 123,
  "gstRate": 123,
  "gstIncluded": true
}

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/login endpoint

Path Parameters

id
string
required

Response

Transaction retrieved

id
string<uuid>
date
string<date-time>
description
string
amount
number
type
enum<string>
Available options:
debit,
credit
categoryId
string<uuid>
category
object
merchant
string
isTaxDeductible
boolean
businessUsePercentage
number
Required range: 0 <= x <= 100
gstAmount
number
gstRate
number
gstIncluded
boolean