Ttushe / docs
nsk_test_Operational

List every leg of one ledger post (by groupId)

Returns all of this partner's legs for one groupId — two for an internal transfer (the debit and the credit, on different accounts), one for a deposit, withdrawal, levy or fee. This is how you answer "did the other side land?". It cannot be a filter on the account-scoped list, because the counterparty leg is on a different account and that list is scoped to one. Each leg's balanceAfter is windowed over its own account, so both sides report their own running balance rather than a shared figure. System counter-legs are never returned, matching the account statement: a partner sees their customers' legs, not the platform's internal side of the post. An unknown groupId is an empty list, not a 404 — it is a filtered collection, and absence is a legitimate answer.

GEThttps://api.trytushe.com/v1/transactions
GET/v1/transactions

Authorization

api-key
x-api-key<token>

In: header

Query Parameters

groupId*string

The groupId from any transaction line.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "transactions": [      {        "id": "0198…",        "groupId": "0198…",        "type": "deposit",        "direction": "credit",        "status": "posted",        "amount": "100000",        "currency": "NGN",        "balanceAfter": "73000",        "accountId": "account:018f4be0-0000-7000-8000-000000000010",        "accountUuid": "018f4be0-0000-7000-8000-000000000010",        "category": "bank_payout",        "customerId": "018f4be0-0000-7000-8000-0000000000c1",        "ledgerAccount": "system:018f4be0-…:cash",        "counterparty": {          "accountName": "CHIDI OBI",          "accountNumber": "******6789",          "bankCode": "058",          "bankName": "GTBank",          "recipientId": null,          "payoutId": "018f4be0-0000-7000-8000-00000000a1b2"        },        "provider": "paystack",        "paymentMethod": "bank_transfer",        "instrument": {          "brand": "visa",          "last4": "4081",          "issuer": "GTBANK"        },        "reference": "string",        "narration": "string",        "metadata": {},        "sessionId": "000001260809120000123456789012",        "postedAt": "2026-08-09T19:04:11.220Z",        "valueDate": "2026-08-09T19:04:11.220Z"      }    ]  }}