OwnPay’s SMS gateway feature turns Android smartphones into real-time payment verification agents. When a customer makes a transfer through a mobile wallet such as bKash, Nagad, or Rocket, the wallet provider sends an SMS confirmation to the registered phone number. A paired Android device running the OwnPay Companion App intercepts that SMS, forwards it to the OwnPay server, and the platform’s parsing engine extracts the transaction details to automatically confirm the matching pending payment. This eliminates the need for manual payment approval on every wallet transfer.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/own-pay/OwnPay-Documentation/llms.txt
Use this file to discover all available pages before exploring further.
Navigating to Paired Devices
In the OwnPay admin dashboard, expand the MOBILE & SMS section in the left sidebar and click Paired Devices. The device management dashboard opens with connection KPI cards and the devices table.Device Requirements
Before pairing, ensure your Android device has the OwnPay Companion App installed, SMS read permission granted to the app, and the app excluded from battery optimisation so its background service is not paused by the OS.Dashboard Overview
The Paired Devices dashboard provides three KPI summary cards at the top of the page:| Card | Description |
|---|---|
| Total Devices | The lifetime count of mobile devices that have been paired with this brand. |
| Active | Devices currently authorised and sending SMS data to the server. |
| Revoked | Devices whose session keys have been manually invalidated by an administrator. |
Pairing a New Device
Open the pairing wizard
On the Paired Devices page, click the Pair New Device button to expand the pairing wizard panel.
Generate a pairing code
Click Generate Pairing Code. OwnPay creates a cryptographically secure 6-digit numeric token (e.g.
240977). This code is valid for 5 minutes — the countdown timer is displayed next to the code.Open the OwnPay Companion App on your Android device
Ensure SMS permission is enabled on the device. Open the OwnPay Companion App and tap Pair with Admin.
Enter the pairing code in the app
Type the 6-digit code displayed in the admin panel into the pairing code field in the Companion App, then tap Confirm.
Connected Devices Table
The devices table provides live status for every paired handset:| Column | Description |
|---|---|
| Device | The device name and hardware fingerprint registered during pairing. |
| Platform | Android OS version and SDK level (e.g. Android 13, SDK 33). |
| Status | Active (online and forwarding SMS), Offline (not responding to heartbeat pings), or Revoked (session invalidated). |
| Last Seen | Timestamp of the most recent heartbeat ping received from the device. |
| Paired | Date and time the device was successfully paired. |
| Actions | Revoke permanently disables this device’s authentication credentials. |
Device Status Indicators
- Active
- Offline
- Revoked
The device is online, has SMS permission enabled, and is actively forwarding incoming messages to the OwnPay server. The Last Seen timestamp will update every few minutes as the app sends regular heartbeat pings.
Revoking a Lost or Unused Device
If a paired device is lost, stolen, decommissioned, or replaced:Locate the device in the table
Find the device entry in the Connected Devices table using its name or hardware fingerprint.
Confirm the revocation
Confirm the prompt. The device’s status immediately changes to
Revoked, and its server-side JWT token is deleted. Even if the physical device still has the Companion App installed, it can no longer communicate with the OwnPay server.Unpairing vs. Revoking
| Action | Effect | Reversible? |
|---|---|---|
| Revoke (from admin panel) | Deletes the device’s server-side JWT token immediately. The device cannot forward SMS until re-paired. | Yes — re-pair the device with a new pairing code. |
| Uninstall app (from device) | Removes the Companion App from the handset but does not immediately revoke the server token. | Revoke from admin panel to clean up the entry. |