NEDApayDevelopersConnect API · v1
Environments

Going live

Live means real NEDApay users, who approve the link themselves inside NEDApay. This page covers what your users see, where the link opens, what to handle when they return, and the rules that apply to real data.

Your key
nc_live_…
Who approves
The user, in NEDApay
Who can link
Fully verified users
Access
Read-only, 12 months

Before you receive a live key

From you

  • Your integration handles a declined request, token refresh and a removed link.
  • Your final return address, for example yourapp://nedapay-linked or an https address.
  • Your server addresses, if they are fixed, so calls from elsewhere are refused.
  • A signed data-sharing agreement.
  • A named person we can reach about security.

From NEDApay

  • Your live key and secret, sent once through a private channel.
  • Live linking switched on, first for a small pilot group of users.
  • Your app's name as users will see it on the consent screen.
  • Confirmation of which data you may ask for: balances, transactions, stocks.

What your user sees Live · live key

From tapping Link NEDApay in your app to being back in it. The middle three screens are NEDApay's.

9:41Your app
Your money, next to your studies
Link NEDApay to see your balance, spending and stocks here.
Link NEDApay
1Your server starts a link request, your app opens link_url
9:41NEDApay
Your app wants to view your NEDApay account
It will be able to see
✓ nTZS and USDC balances
✓ Transactions
✓ Stocks you hold
✕ Cannot move money
Allow
2Only what you asked for is listed. Not now sends them back with nothing shared.
9:41NEDApay
☝
Confirm it's you
Fingerprint, face or screen lock
Cancel
3In the app, Allow needs the phone's own unlock. On the web, a second confirm step.
9:42NEDApay
✓
Your app is linked
Remove it any time in Settings
Back to your app
4NEDApay opens your return address straight away with code and state
9:42Your app
NEDApay balanceTZS 184,500USDC 12.40
RecentBill payment −15,000Money in +50,000
Open NEDApay
5Your server swaps the code within 60 seconds, then reads

Where link_url opens

Open it in the system browser or as a normal link from your app. Do not load it inside an embedded web view: the hand-off to the NEDApay app does not work from there.

The user's situationWhat happens
iPhone, NEDApay installedThe NEDApay app opens directly on the consent screen.
Android, NEDApay installedA NEDApay web page opens and hands over to the app. If the app does not open, the user can continue on that page.
No app, or a computerThe same consent on the web at app.nedapay.xyz, after an ordinary sign-in.
Signed out of NEDApayThey sign in first. In the app they are then asked to return to you and tap Link again; on the web the consent follows directly.
Not fully verifiedThey are told linking needs a fully verified account and offered Verify identity. They link after that.
New to NEDApayThey can create an account from the page. Sign-up and verification usually take longer than a request lasts, so expect them back later, tapping Link again.
A request lives 10 minutes. If the user returns to your app without a result, or after a long time, start a fresh request when they tap Link again. Never reuse an old link_url.

Handling the return

The user arrives at your return address in one of two ways.

Return address
Allowed    yourapp://nedapay-linked?code=ncc_…&state=<the state you sent>
Declined   yourapp://nedapay-linked?error=access_denied&state=<the state you sent>
Do thisWhy
Check state firstIt must be the value you created for this user and this attempt. If it is not, stop and show an error.
Send code to your server at onceIt works once and for 60 seconds. Your server swaps it with POST /token and the code_verifier it kept.
On access_deniedShow the account as not linked, with no blame and a way to try again later.
On INVALID_GRANTThe code was late or already used. Ask the user to tap Link again.
Store tokens on your serverEncrypted, per user. Never in the app, never in a URL or a log.

After linking

The user sees when you last looked, and can remove you at any time in NEDApay, under Settings, Linked apps. Access ends at once, and your next call answers 401 LINK_REMOVED.

Links also expire after 12 months, pause while an account is paused, and end if a refresh token is used twice. What each answer means and what to show the user is on Errors.

9:50NEDApay
Settings
Linked apps
Your appCan view: balances, transactions, stocksLinked 18 Nov 2026Last viewed 18 Nov 2026
Remove access
Linked apps, as the user sees it

Rules for real data

Always

  • Say in your app that the data comes from NEDApay and that you can only view it.
  • Call DELETE /link when a user disconnects or deletes their account with you.
  • Read on demand and cache briefly. Keep only what your feature needs, for as long as it needs it.
  • Send users into NEDApay to pay, deposit or trade.
  • Refresh when the user opens your screen. Notifications from NEDApay when something changes are not in version 1.
  • Tell us straight away if a key, secret or token may have leaked. We replace keys the same day.

Never

  • Ask a user for their NEDApay password, code or passkey.
  • Put the secret or any token in a mobile app, a web page, a URL or a log.
  • Share or sell what you read, or use it for anything outside the agreement.
  • Keep reading after a link is removed or expired.
  • Imply that your app holds or moves the user's money.

How live opens

Step 1Readiness reviewWe go through your integration and these pages together.
Step 2Live keyAgreement signed, return address registered, key sent privately.
Step 3PilotLive linking works for a small group of named users. We watch it together.
Step 4OpenEvery fully verified NEDApay user can link.