Accept QRIS, bank Virtual Accounts, and E-Wallets through a single API integration. Automatic callbacks, real-time balance, and disbursement in one dashboard.
curl -X POST https://pga.lottonesia.org/api/v1/payin_create.php \ -H 'Content-Type: application/json' \ -d '{"merchant_id":"MCH001","order_id":"INV-001", "amount":50000,"channel":"QRIS", "notify_url":"https://toko.id/notify","sign":"..."}' → {"code":0,"data":{"trx_id":"LP...","status":"PENDING", "payment_link":"https://.../pay?trx=LP..."}}
Sign = UPPER(MD5(sorted_params&key=SECRET)). Signing guide • Channels JSON • Health
Four connected core products — from online checkout to mass withdrawals.
Payin API with 15+ channels: QRIS, BCA, BRI, Mandiri, BNI, Permata, CIMB, Danamon, BSI, OCBC, DANA, OVO, GoPay, ShopeePay, LinkAja with automatic callbacks.
Visit Product →Create payment links without coding via /pay?trx=... Great for manual invoices, WA commerce, and social commerce.
Create Link →Send funds to many accounts at once via payout_create.php. Balance debited on create, auto-refunded on failure.
Visit Product →One QR for all e-wallets & m-banking. PAID status triggers balance credit + callback forward to your server.
Check Channels →From online stalls to enterprises — same infrastructure, adaptive scale.
Pick methods your customers use: QRIS, bank VA, e-wallets. Channel → upstream mapping is centralized; you just send one channel code.
Payin, payout, balance, ledger, callback logs, and merchant/admin dashboards in one consistent, audited database.
Idempotent order_id, anti double-credit/refund, callback forwarding + status re-query. Logs in files & database.
Register → get merchant_id / api_secret → create manual payment links → share with customers. No API integration needed to start today.
Register as SME →Full server-to-server integration: create → query → callback verify → ledger reconciliation. Flexible per-merchant fees, payout limits & approvals.
Discuss Requirements →One channel parameter — we handle the rest upstream.
We apply layered security practices. Official license claims are shown only if your company actually holds them — otherwise we stay honest about technical controls.
Per-request MD5-uppercase signatures, bcrypt password hashing, server-side-only upstream credentials, per-mutation ledger audit, and blocking payment simulation in live mode. Delete install.php after installation.
Learn Secure Integration →Merchant → payin_create (signed) → LottoPay → Banking Partner → QRIS/VA/E-Wallet → callback → verify → credit 1x → forward to notify_url → reply HTTP 200 + SUCCESS
Use payin_query for reconciliation. Never trust browser status — trust verified callbacks + server queries.
Copy-paste a snippet, swap the secret, and test instantly in sandbox (mock_mode=1).
function sign($p,$s){
ksort($p); $a=[];
foreach($p as $k=>$v){
if($v===''||$v===null) continue;
$a[]="$k=$v";
}
return strtoupper(md5(
implode('&',$a).'&key='.$s));
}const crypto=require('crypto'); function sign(p,s){ const q=Object.keys(p).sort() .map(k=>k+'='+p[k]).join('&') +'&key='+s; return crypto.createHash('md5') .update(q).digest('hex') .toUpperCase(); }
import hashlib
def sign(p,s):
q='&'.join(f"{k}={p[k]}"
for k in sorted(p))
q+=f"&key={s}"
return hashlib.md5(
q.encode()).hexdigest().upper()Fees apply only to successful transactions, per chosen payment method.
Final merchant rates, no hidden fees. Pay only on success.
See pricing →Disbursement to banks & e-wallets. Debited on create, auto-refunded on FAILED.
See pricing →Enable mock_mode=1 to test create → simulate pay → callback without touching real balance.
Try Sandbox →Cannot find an answer? Contact us.
Example usage patterns from segments that commonly use LottoPay.
"QRIS + VA checkout in one API cut our integration time from weeks to days."
Culinary SME · BandungPayment Links for WA orders"Consistent callbacks and a clear ledger make daily reconciliation much easier."
Top-Up & Gaming · JakartaHigh daily payin volume"Mass disbursement + auto-refund helps our finance team process payouts drama-free."
SaaS & Services · SurabayaUnified payin + payoutConnect your business to an Indonesian payment gateway today — start from a free sandbox.
Support: [email protected] • Base URL: https://pga.lottonesia.org