NEDApayDevelopersConnect API · v1
Build

Read data

Every read route takes the four signature headers plus Authorization: Bearer <access_token>. A route answers only if the user allowed its scope for this link.

Routes

RouteNeeds scopeReturns
GET /accountany linkusername, first_name, and the link's scopes and dates
GET /balancesbalancesThe nTZS balance (in TZS) and the USDC balance (in USD), with as_of
GET /transactionstransactionsA page of transactions, newest first, and next_cursor
GET /stocks/holdingsstocksEach holding: symbol, quantity, price, value, cost, gain
GET /stocks/activitystocksFinished buys and sells
DELETE /linkany linkEnds the link from your side
GET/accountscope: any link

Returns username, first_name, and the link's scopes and dates. Use it to show whose account is linked and when consent runs out.

GET/balancesscope: balances

The nTZS balance, in TZS, and the USDC balance, in USD.

Answer · 200
{ "balances": [ { "asset": "NTZS", "currency": "TZS", "amount": 184500 },
                { "asset": "USDC", "currency": "USD", "amount": 12.4 } ],
  "as_of": "2026-11-18T09:41:00.000Z" }
GET/transactionsscope: transactions

A page of transactions, newest first.

QueryMeaning
limit1 to 100, default 20
cursorPass next_cursor back here for the next page; null means there are no more
from, toISO 8601 dates
Answer · 200
{ "transactions": [ { "id": "...", "type": "ntzs.spend_completed",
                      "direction": "out", "status": "completed",
                      "amount": 15000, "currency": "TZS",
                      "occurred_at": "2026-11-18T06:41:00.000Z" } ],
  "next_cursor": "..." }
  • direction is in, out, swap, or none for an attempt that failed.
  • status is completed, failed or refunded.
  • type says what kind it was, for example ntzs.deposit_completed, wallet.transfer_out, swap.completed.
  • The names of the people a user paid or was paid by are not shared.
GET/stocks/holdingsscope: stocks
Answer · 200
{ "holdings": [ { "symbol": "CRDB", "currency": "TZS", "quantity": 120,
                  "price": 650, "value": 78000, "cost": 72000,
                  "gain": 6000, "gain_pct": 8.33 } ],
  "as_of": "..." }

cost, gain and gain_pct can be null when they cannot be worked out reliably.

GET/stocks/activityscope: stocks

Finished buys and sells.

Ends the link from your side. See Link a user.

When data cannot be read

BALANCE_UNAVAILABLE, HOLDINGS_UNAVAILABLE and UNAVAILABLE answer with status 503. Try again shortly, keep showing the last data you read, and never show a zero in the meantime. The full list is on Errors.