โ‚ฆNaira Exchange ยท Dev Docs

๐Ÿ” Flows

End-to-end journeys that connect the website and the mobile app.

1 ยท Website โ†’ App handoff

  1. Visitor taps Login / Get Started / Buy / Sell on the website.
  2. detectDevice() runs client-side.
  3. iOS/Android โ†’ redirect straight to the store; desktop โ†’ QR/download modal.
  4. User installs the app and authenticates there โ€” the website never sees a session.

2 ยท Buy crypto (mobile)

  1. Select asset โ†’ enter NGN amount.
  2. POST /trade/quote locks a rate for 30s.
  3. Review screen shows rate, fee, total.
  4. Confirm โ†’ POST /trade/buy with a clientTransactionId.
  5. Status screen polls until completed / failed.

3 ยท Sell a gift card

  1. Pick brand โ†’ country โ†’ face value.
  2. Capture front/back photos (camera or gallery).
  3. Optional notes โ†’ review โ†’ POST /giftcards/submit (multipart).
  4. Status tracked as pending_review โ†’ approved/rejected โ†’ paid.