get https://api.demo.getontop.com/client-wallet/clients/transactions
This endpoint exposes all journal entries made into the Client ledger. It is a paginated list so it can be traversed using page and/or size query parameters.
curl 'https://api.demo.getontop.com/client-wallet/clients/transactions?page=1&size=200' \
--header 'Authorization: Bearer'
{
"content":[
{
"journal_id":223,
"wallet_id":4,
"client_id":305,
"idempotence_key":"2234db48f5d4f87118759fb125789ea4",
"amount":-1.000000,
"reason":"PAYMENT",
"operation":"WITHDRAWAL",
"transaction_data":{
"payment_order_id":"335",
"payment_purpose":"Client payment to worker"
},
"created_at":"2023-09-29T18:11:32.131304Z"
}
]
}