DOCUMENTATION

Integrate TakaPay payments

TakaPay is a REST API plus a hosted checkout. Your server creates an invoice with an API key, the customer Send Money on bKash, Rocket, or Nagad, and TakaPay notifies your server via webhook when payment is verified — no login needed.

বাংলাদেশি ডেভেলপারদের জন্য: API key দিয়ে ইনভয়েস বানান → কাস্টমারকে /pay/id লিংক দিন → আমরা তোমার server-এ webhook পাঠাব → order fulfill করো।

BASE URL

http://localhost:4000/api/v1

All JSON. All routes need X-Api-Key: YOUR_STORE_API_KEY.

Payment loop

  1. 1. POST /v1/payments — create invoice (API key)
  2. 2. Redirect buyer to /pay/{id}
  3. 3. Buyer Send Money → submits TrxID on checkout
  4. 4. TakaPay Android app auto-forwards SMS receipt
  5. 5. TakaPay fires payment.verified webhook → your server fulfils