Home - os-salahuddin/php8-cluster GitHub Wiki

Welcome to the stpay-personal-docs wiki!

Features:

  • Auth
  • Profile
  • Saved Wallet
  • History
  • Add money
  • Send Money
  • Request money
  • Make Payment
  • Pay Bill
  • Bank Beneficiary
  • MFS Beneficiary
  • Card Bill Payment
  • Offer & Promotions

Overview of the APIS

Total endpoints: 176

API consumed by:

Mobile App: 83

Outbound dependencies:

  • Our microservice does not make outbound requests, except to third-party banks.
  • All bank integrations must go through personal API. Already integrated are: SEBL, BRAC, MTB, EBL, CBL, Bkash, Nagad and Upay.

Others Misc API Endpoint Usage

Add Money

  • Endpoints: (15)
    • GET /nagad/payment/verify?req_reference_id=
    • GET /upay/payment/verify?invoice_id=
    • GET /bkash/payment/verify?req_reference_id=100002578_66bdc6e54a233
    • GET /api/v1/private/transaction/instant-money-transfer/history
    • GET /api/v1/private/transaction/add-money/sebl/create/8
    • POST /api/v1/private/transaction/add-money/sebl-cs/create/10
    • POST /sebl-cs/ipn
    • POST /add-money-by-card-sebl/payment-reverify
    • POST /sebl-cs/card/payment/cs-verify
    • POST /api/v1/private/transaction/add-money/card/create/1
    • POST /card/payment/cs-verify
    • POST /api/v1/private/transaction/add-money/cbl/create/3
    • POST /add-money/cbl/verify
    • POST /api/v1/private/transaction/add-money-mtb/ib/delete-link-account
    • POST /add-money-by-ib/mtb-verify
  • Status: used by mobile app

Invoice

  • Endpoints: (22)

    • GET /api/v1/invoice/bill-amount-receivable
    • GET /api/v1/invoice/bill-amount-payable
    • GET /api/v1/invoice/total-sales
    • GET /api/v1/invoice/my-items
    • GET /api/v1/invoice/receivable-invoice
    • GET /api/v1/invoice/receivable-invoice/1
    • GET /api/v1/invoice/privacy-settings
    • POST /api/v1/invoice/privacy-settings
    • GET /api/v1/private/deshi-invoice-token
    • GET /api/v1/invoice/invoice-statuses
    • GET /api/v1/invoice/shop
    • GET /api/v1/invoice/shop/search?search=bata
    • GET /api/v1/invoice/shop/item/10000407
    • GET /api/v1/invoice/shop/item/search/10000407
    • GET /api/v1/invoice/shop/item/10000407/12
    • GET /api/v1/invoice/orders/summary
    • POST /api/v1/invoice/orders/execution
    • GET /api/v1/invoice/orders
    • GET /api/v1/invoice/orders/53
    • GET /api/v1/invoice/orders/cancel/53
    • GET /api/v1/invoice/business/categories
    • GET /api/v1/invoice/shop/categories/10000407
  • Status: Not used currently

Deals

  • Endpoints: (1)
    • GET /api/v1/private/deals
  • Status: Not used currently

Forgot Password

  • Endpoints: (3)
    • POST /api/v1/auth/forgot-password/send-otp
    • POST /api/v1/auth/forgot-password/verify-otp
    • POST /api/v1/auth/forgot-password/reset
  • Status: Not used currently

Voucher

  • Endpoints: (19)

    • GET /api/v1/private/wallet/voucher/categories
    • GET /api/v1/private/wallet/voucher/brand/all?category_id=17
    • GET /api/v1/private/wallet/voucher/brands-of-home
    • GET /api/v1/private/wallet/voucher/brand/6f1926ce-01ec-4fdb-bba9-325bfd3b2578/offers
    • POST /api/v1/private/voucher/offer-purchase/summary
    • POST /api/v1/private/voucher/offer-purchase/execute
    • GET /api/v1/private/wallet/voucher/purchased
    • GET /api/v1/private/wallet/voucher/search?search=Aarong
    • GET /api/v1/categories
    • GET /api/v1/categories/12
    • GET /api/v1/brands/6f1926ce-01ec-4fdb-bba9-325bfd3b2578
    • GET /api/v1/purchase/history/d306ebdc-9f4f-4458-9cfd-349185a3e874
    • GET /api/v1/search/category/brand/Aarong
    • GET /api/v1/private/wallet/mobile-recharge/mobile-operators
    • GET /api/v1/private/wallet/mobile-recharge/summary-using-amount
    • GET /api/v1/private/wallet/mobile-recharge/execute
    • GET /api/v1/mobile-recharge/operators
    • POST /api/v1/purchase/execute
    • GET /api/v1/purchase/check/7843bd2a-0da3-408d-959b-f37b60c47ca6
  • Status: Not used currently

TOPUP

  • Endpoints: (5)

    • GET /api/v1/private/wallet/mobile-recharge/mobile-operators
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-amount
    • POST /api/v1/private/wallet/mobile-recharge/execute
    • POST /api/v1/mobile-recharge/operators
    • POST /api/v1/purchase/execute
  • Status: Not used currently

Mobile Recharge

  • Endpoints: (10)

    • POST /api/v1/private/wallet/mobile-recharge/my-offer-plans
    • POST /api/v1/private/wallet/mobile-recharge/voice-plans
    • POST /api/v1/private/wallet/mobile-recharge/internet-plans
    • POST /api/v1/private/wallet/mobile-recharge/bundle-plans
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-my-plan
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-voice-plan
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-internet-plan
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-bundle-plan
    • GET /api/v1/private/wallet/mobile-recharge/mobile-operators
    • POST /api/v1/private/wallet/mobile-recharge/summary-using-amount
    • POST /api/v1/private/wallet/mobile-recharge/execute
  • Status: Not used currently

Invoice Payment

  • Endpoints: (2)

    • POST /api/v1/private/transaction/invoice-payment/confirmation
    • POST /api/v1/private/transaction/invoice-payment/execute
  • Status: Not used currently

Offer & Promotion - Discount Card Purchase

  • Endpoints: (8)

    • GET /api/v1/private/wallet/voucher/brands-of-home
    • GET /api/v1/private/wallet/voucher/categories
    • GET /api/v1/private/wallet/voucher/brand/all?category_id=10
    • GET /api/v1/private/wallet/voucher/brand/6f1926ce-01ec-4fdb-bba9-325bfd3b2578/offers
    • POST /api/v1/private/voucher/offer-purchase/summary
    • POST /api/v1/private/voucher/offer-purchase/execute
    • GET /api/v1/private/wallet/voucher/purchased?status=current
    • GET /api/v1/private/wallet/voucher/search?search=boitoi
  • Status: Not used currently

Instant Money Transfer

  • Endpoints: (4)

    • POST /api/v1/private/transaction/withdraw-money-npsb-mtb/ib/ob-get-balance
    • POST /api/v1/private/transaction/instant-money-transfer/summary
    • POST /api/v1/private/transaction/instant-money-transfer/execute
    • GET /api/v1/private/transaction/instant-money-transfer/history
  • Status: Not used currently

Add Money via Bank

  • Endpoints: (3)

    • POST /api/v1/private/transaction/add-money-bank-request/summary
    • POST /api/v1/private/transaction/add-money-bank-request/execute
    • GET /api/v1/private/transaction/add-money-bank-request/history
  • Status: Not used currently

Shop Promotions

  • Endpoints: (1)
    • GET /api/v1/private/shop-promotions/show-all
  • Status: Not used currently