Dynamic QR payments
Create a unique, amount-locked Raast QR for every order or invoice.
Payment API · For developers & businesses
Connect your website, app or ERP to Star Logics payments with a few API calls. Create dynamic QR payments, get a webhook the instant money arrives, and track every transaction.
# Create a dynamic QR payment
POST /v1/payments/qr
{
"amount": 3450,
"currency": "PKR",
"reference": "ORDER-1042"
}
# Response · 201 Created
{
"id": "pay_8Fk2Qm7x",
"status": "pending",
"qr_payload": "000201010212…"
}
# We call your server when the customer pays
POST https://your-app.com/webhooks/payments
{
"event": "payment.paid",
"id": "pay_8Fk2Qm7x",
"reference": "ORDER-1042",
"amount": 3450,
"channel": "raast",
"paid_at": "2026-10-22T21:41:07+05:00"
}
# Reply 200 OK, then mark ORDER-1042 as paid
Illustrative example. The full API reference is shared during onboarding.
Not every business wants to switch software. Schools, clinics, online stores, ERPs and SaaS products already have systems that work. What they are missing is a simple way to accept instant bank payments and know, automatically, when an order has been paid.
The Star Logics Payment API gives you exactly that. Your system asks for a payment and gets back a dynamic Raast QR for the exact amount. When the customer pays from their bank app, we call your webhook with the payment details, and your system marks the order as paid.
Key features of Payment API by Star Logics, designed for businesses in Pakistan.
Create a unique, amount-locked Raast QR for every order or invoice.
Your server is notified the moment a payment is confirmed.
Pass your order or invoice ID and get it back with every event.
Look up the status of any payment at any time.
Reconcile payments by day, reference or status.
Authenticated API keys and HTTPS on every request.
Works with any language or framework that can make HTTPS requests.
Built on Pakistan's national instant payment rails.
Our team helps your developers from the first call to go-live.
Prefer ready-made software? Every Star Logics product already has QR payments built in, with no integration work needed.
We onboard your business and share your keys and the API reference.
Your system sends the amount and your order reference.
Display the dynamic QR on your checkout, invoice or app.
We notify your server the moment the customer pays.
You can accept Raast QR payments in your website, mobile app, ERP or billing system: create a dynamic QR for each order, get notified when it is paid, and reconcile every transaction.
We send a webhook to your server as soon as the payment is confirmed, including your order reference, the amount and the time of payment. You can also check any payment's status through the API.
Any language or framework that can make HTTPS requests and read JSON, including PHP, Node.js, Python, Java and .NET.
Yes. The full API reference is shared during onboarding, and our engineers help your team integrate and go live.
No. Customers pay with any banking app or mobile wallet in Pakistan that supports Raast QR.