Developer & Panel Integration
Connect automated wallet & InstaPay payment confirmations to your SMM panel or custom website. Sign in to get your Site ID & API Key.
Webhook · POST
Callback / Webhook Integration
For Custom Website integration, configure a Callback URL (webhook) in your site settings. The system sends a POST request to your server when a payment is confirmed.
Parameters sent by SMS-Kash
| Parameter | Type | Description |
|---|---|---|
key | string | API key from your site settings |
action | string | Always "addPayment" |
username | string | Username to credit |
amount | float | Amount after currency conversion |
details | string | Additional details (empty by default) |
In site settings, set
Callback URL to your custom webhook path. Your server must return a JSON response with a status field.
Request Payload Example
JSON
{
"key": "YOUR_API_KEY_FROM_SITE_SETTINGS",
"action": "addPayment",
"username": "client_username",
"amount": 5.00,
"details": ""
}
Expected Response
{"status": "success"}
{"status": "error", "message": "reason"}
Manual Integration
Send a POST request to confirm a wallet or InstaPay bank transfer directly from your backend.
Endpoint
Body Fields
| Field | Method | Description |
|---|---|---|
phone | Wallet | Sender mobile wallet number |
payment_method | InstaPay | Set to "instapay_bank" |
reference | InstaPay | Transaction reference number from SMS |
amount | Both | Transfer amount in EGP |
username | Both | Client identifier / username |
siteid | Both | Your active Site ID |
Request Payload
{
"phone":"USER PHONE WHITH SENT CASH",
"amount":"AMOUNT OF TRANSCTIONS",
"username":"DETAILS FOR RECOGNIZE USER",
"siteid":"YOUR ACTIVE SITE ID "
}
{
"payment_method": "instapay_bank",
"reference": "TRANSACTION_REFERENCE_NUMBER",
"amount": "TRANSACTION_AMOUNT",
"username": "CLIENT_USERNAME",
"siteid": "YOUR_SITE_ID"
}
Response
{
"code": 200,
"message":"Success Transaction",
"trans_id" : "TRANSCTION ID",
"sender":"CLIENT PHONE WHIS USE FOR TRANSFER",
"amount":"VALUE OF TRANSFER",
"currency":"EGP",
"time":"TRANSCTION TIME"
}
{
"code": 400,
"message":"ERROR MESSAGE"
}
Get Site & Exchange Rate Details
Retrieve wallet numbers, live exchange rate, store currency labels, and InstaPay handles for a specific site.
Endpoint
Response
{
"wallet": "01000000000,01100000000",
"rate": "50.00",
"sympol_currancy": "EGP",
"sympol_currancy_ar": "جنيه مصري",
"storecurrency": "USD",
"storecurrency_ar": "دولار",
"instapay_number": "user1@instapay,user2@instapay"
}
{
"message": "Record not found."
}