ShaPay is a non-custodial payment automation platform built for Bangladeshi MFS wallets, local bank transfers, and international gateways. Every payment your customer sends goes directly into your own wallet or bank account with 0% gateway commission.
Tip
Looking for REST endpoint schemas, interactive request builders, and multi-language code snippets? Visit the Developer API Reference →
Why ShaPay?
Direct Wallet Ownership: Funds settle directly into your bKash, Nagad, Rocket, Upay, Bank, or Binance account—never held by a middleman.
Zero Percentage Cuts: Operate on flat, predictable merchant plans instead of losing 2%–3.5% per order.
Dual Verification Modes: Combine official tokenized merchant APIs with real-time personal/agent MFS verification via the ShaPay Android Sync App.
1-Click Storefront Plugins: Official installable packages for WordPress/WooCommerce, WHMCS, SMM Panels, and custom REST apps.
Domain & Checkout Architecture
ShaPay separates merchant management from live customer checkout for strict cookie and session isolation:
Surface
URL
Role
Merchant Portal
https://shapay.me
Dashboard, brands, wallets, invoices, plans, and logs
Hosted Checkout & API
https://pay.shapay.me
/api/payment/create, /api/payment/verify, and customer checkout UI
System Overview & Flow
Understanding how a customer order moves from your website or app through ShaPay Hosted Checkout and back to your server.
End-to-End Lifecycle
Create Payment Intent: Your backend sends a POST request to https://pay.shapay.me/api/payment/create with the order amount, customer details, success_url, cancel_url, and optional webhook_url.
Customer Redirect: ShaPay responds with a unique transaction_id and hosted payment_url. Redirect the customer to that URL.
Automated Receipt Matching: Customer pays via their chosen MFS or bank method. ShaPay verifies the receipt atomically and locks the TrxID against replay.
Webhook & Return Verification: ShaPay dispatches your webhook and redirects the customer back. Your server calls https://pay.shapay.me/api/payment/verify to confirm COMPLETED status before fulfilling the order.
Merchant Prerequisites
An active ShaPay merchant account with an active plan (Client Area → Plans).
At least one configured Brand profile with your store name, logo, and domain.
For personal/agent MFS or bank SMS automation: an Android 8.0+ phone with stable internet running the ShaPay Sync APK.
Note
Official tokenized APIs (such as bKash Merchant Tokenized, Nagad Merchant, or Binance Pay) verify server-to-server directly and do not require an Android phone.
Brand & API Key Setup
Each website or application you connect to ShaPay is organized under a Brand so its logo, callback rules, and API credentials remain isolated.
Never expose your API-KEY in frontend browser JavaScript or mobile app bundles. Always initiate and verify payments from your backend server.
Post-Setup Checklist
Before accepting real customer payments in production, run through these verification checks:
Production Gate Checks
HTTPS Enforced: Confirm your success_url, cancel_url, and webhook_url all use valid https:// TLS certificates.
Server-Side Verify Check: Ensure your callback handler calls /api/payment/verify and checks both status === "COMPLETED" and the exact expected invoice amount.
Idempotent Fulfillment: Store the returned transaction_id as unique in your orders table so repeated browser refreshes or webhook retries never credit a customer twice.
Live Test Payment: Run a small ৳10 live payment on your enabled MFS wallet to confirm webhook delivery and automatic order completion.
Payments & Transactions
Track every checkout session, verified MFS TrxID, bank transfer slip, and raw SMS confirmation from your Merchant Portal.
Transaction Statuses
Status
Meaning
PENDING
Checkout created or awaiting SMS/gateway verification. Do not fulfill order yet.
COMPLETED
Payment verified against gateway callback or SMS receipt. Safe to fulfill order once.
ERROR
Cancelled, expired, or mismatched payment attempt.
Exports & Audit Logs
Navigate to Merchant Portal → Transactions to filter by brand, payment method, TrxID, or date range, and export CSV reconciliation statements at any time.
Supported Gateways
Enable or disable individual payment rails per brand inside Merchant Portal → Gateways / Wallet Settings.
Local Banks: City Bank, Islami Bank, BRAC Bank, Dutch-Bangla Bank, Eastern Bank, and manual/slip-verified bank deposits.
International & Crypto: Binance Pay and global card/wallet connectors.
Invoices & Payment Links
Collect automated payments without writing a single line of code—ideal for agencies, freelancers, Facebook commerce, and WhatsApp billing.
Creating a Branded Invoice
Open Merchant Portal → Invoices and click Create Invoice.
Enter your customer's name, email, payable amount, and brand.
Copy the generated https://shapay.me/invoice/{id} URL and send it to your client.
One-Click Payment Links
Use Payment Links to generate reusable or fixed-amount checkout links that open ShaPay Hosted Checkout immediately.
Android Sync App
The official ShaPay Android Bridge securely forwards incoming MFS and bank deposit SMS notifications to your merchant account so customer TrxIDs verify in ~1.2 seconds.
Installation & Pairing
Download and install the official Android APK below on the phone that receives your MFS/bank SMS alerts.
In your dashboard, open Merchant Portal → Devices and copy your Device Key.
Open the Android app, paste your Device Key, grant SMS read permission, and disable battery optimization for uninterrupted 24/7 background sync.
Enter your Send Money / Cash Out wallet number in Wallet Settings and ensure your paired Android Bridge device is online. Customers will see clear step-by-step instructions on the checkout screen and submit their TrxID for instant auto-verification.
WordPress & WooCommerce
Accept automated bKash, Nagad, Rocket, and Bank payments on any WooCommerce store in under 3 minutes.
Plugin Setup Steps
Download the official WooCommerce gateway ZIP package below.
In WordPress Admin, navigate to Plugins → Add New → Upload Plugin, upload WP.zip, and click Activate.
Go to WooCommerce → Settings → Payments and enable ShaPay.
Paste your Brand API Key and confirm the Gateway URL is set to https://pay.shapay.me/.
Official pre-built gateway modules for web hosting automation, SMM panels, and native Android apps.
WHMCS Gateway Module
Extract WHMCS.zip into your WHMCS root directory (modules/gateways/), activate the gateway under System Settings → Payment Gateways, and enter your Brand API Key. Callbacks automatically validate invoice ID, currency, and exact amount before marking hosting invoices paid.