GET
/
connect
/
{account_id}
/
transactions
curl --request GET \
  --url https://api.zingfi.co/connect/{account_id}/transactions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id":"96df2fcc-a5f4-4164-b048-33e0652ad93a",
    "date":"10-06-2023 12:17:40",
    "type":"debit",
    "amount":6500,
    "balance":5500,
    "currency":"NGN",
    "narration":"PACK OF GUMMY BEARS"
  },
  {
    "id":"e735682c-058d-48db-af43-d8cdc24fc2df",
    "date":"10-06-2023 11:53:40",
    "type":"debit",
    "amount":7000,
    "balance":12000,
    "currency":"NGN",
    "narration":"DODO PIZZA SUMN SUMN"
  },
  {
    "id":"914154bd-e5fd-48e0-82cb-1bd3df44cb22",
    "date":"10-06-2023 11:29:40",
    "type":"credit",
    "amount":12500,
    "balance":19000,
    "currency":"NGN",
    "narration":"STUFF N STUFF"
  }
]

Parameters

account_id
string
required

The account_id of the user

start_date
string
required

Start date you want transactions from

end_date
string
required

End date you want transactions from

Response Fields

id
string

Transaction ID

date
string

Date of the transaction

type
string

Transaction type, whether credit or debit

amount
number

The transaction amount

balance
number

Account balance after transaction

currency
string

The currency the transaction was made in

narration
string

Details or description of the transaction

[
  {
    "id":"96df2fcc-a5f4-4164-b048-33e0652ad93a",
    "date":"10-06-2023 12:17:40",
    "type":"debit",
    "amount":6500,
    "balance":5500,
    "currency":"NGN",
    "narration":"PACK OF GUMMY BEARS"
  },
  {
    "id":"e735682c-058d-48db-af43-d8cdc24fc2df",
    "date":"10-06-2023 11:53:40",
    "type":"debit",
    "amount":7000,
    "balance":12000,
    "currency":"NGN",
    "narration":"DODO PIZZA SUMN SUMN"
  },
  {
    "id":"914154bd-e5fd-48e0-82cb-1bd3df44cb22",
    "date":"10-06-2023 11:29:40",
    "type":"credit",
    "amount":12500,
    "balance":19000,
    "currency":"NGN",
    "narration":"STUFF N STUFF"
  }
]