Integration Documentation
Your Live API Credentials
These credentials belong exclusively to your merchant account. All code snippets below are automatically populated with them.
https://api.lpay.cam/v1/create
https://api.lpay.cam/v1/payout
GET /api/v1/payout/{id}
LPay Full-Stack Payment Integration Guide
Complete API documentation for Collections (PayIn) and Automated Disbursements (PayOut)
Accept payments via UPI QR, Intent, NetBanking and Cards. Initiate orders from your server to receive immediate checkout URLs.
Automate withdrawals and settlements directly to user Bank accounts (IMPS), UPI VPAs, and TRC-20 USDT wallets programmatically.
Your Merchant ID and dedicated Secret Keys can be retrieved anytime from the Merchant Details page.
1. PayIn Gateway API (Collection)
Endpoint: https://api.lpay.cam/v1/create
Request Parameters
| PARAMETER | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
merchant_id |
String | YES | Merchant ID assigned by the platform |
api_key |
String | YES | Merchant Communication API Key (PayIn Secret Key) |
order_no |
String | YES | Merchant system unique order ID (e.g. "ORDER_17000001") |
amount |
String / Float | YES | Transaction amount in INR (e.g. "500") |
callback_url |
String (URL) | YES | Webhook URL on your server to receive payment confirmation |
PayIn Implementation Snippet
PayIn Webhook Callback Notification
When customer completes payment, LPay will instantly dispatch an HTTP POST callback to your callback_url:
{
"status": "success",
"order_no": "PAYIN_1700000001",
"amount": 500,
"utr": "426189172635",
"paid_at": "2026-09-09T04:20:15Z",
"sign": "a9b8c7d6e5f4..."
}
Important: Your server must respond with HTTP 200 OK with body SUCCESS to acknowledge receipt.
2. PayOut Gateway API (Disbursement)
Endpoint: https://api.lpay.cam/v1/payout
PayOut Request Parameters
| PARAMETER | TYPE | REQUIRED | DESCRIPTION |
|---|---|---|---|
merchant_id |
String | YES | Merchant ID assigned by the platform |
api_key |
String | YES | PayOut API Secret Key (or Master API Key) |
amount |
String / Float | YES | Amount to disburse in INR (or USDT) |
method |
String | YES | Transfer destination: bank, upi, or usdt |
account |
String | YES | Bank Account Number / UPI ID / USDT Address |
account_holder |
String | Conditional | Beneficiary full legal name (Required for bank) |
bank_name |
String | Conditional | Beneficiary bank name (Required for bank) |
ifsc |
String | Conditional | 11-character Bank IFSC Code (Required for bank) |
PayOut Implementation Snippet
Query PayOut Order Status
Check current payout processing state via GET /api/v1/payout/{payout_id}: