Own API. Clear payment states.
Integrate directly with akqr.in. This API is independent of IMB and every other payment gateway. The current version is a safe test environment with payments disabled.
1. Create a test API key
Open Dashboard → API credentials, create a key, then copy it immediately. It is shown once. Store it only on your trusted server. Header: x-smilepay-key.
2. Create order
POST https://akqr.in/api/v1/orders
curl -X POST 'https://akqr.in/api/v1/orders' \
-H 'Content-Type: application/json' \
-H 'x-smilepay-key: YOUR_TEST_API_KEY' \
-d '{"order_id":"SHOP-ORDER-1001","amount":"149.00","payer_phone":""}'Response includes order with status: PENDING and an HTTPS checkout_url on our payment host. The same order ID is idempotent for the same amount.
3. Check order status
curl -H 'x-smilepay-key: YOUR_TEST_API_KEY' \ 'https://akqr.in/api/v1/orders/SHOP-ORDER-1001'
Do not treat a browser redirect or payer message as proof of payment. SUCCESS will only be available after signed server-side verification with an approved payment provider is implemented.
4. Dashboard & hosted checkout APIs
| Endpoint | Purpose | Authentication |
|---|---|---|
GET /api/console/bootstrap | Dashboard analytics and recent orders | Merchant cookie |
GET/POST /api/console/items | Payment links & pages | Merchant cookie |
GET/POST /api/console/receivers | Receiving account configurations | Merchant cookie |
GET/POST /api/console/keys | Create/view test integration keys | Merchant cookie |
GET/PUT /api/console/settings | Checkout branding, URLs, webhook setting | Merchant cookie |
GET https://pay.akqr.in/api/public/p/<id> | Hosted payment-page details | Public token |
5. Webhooks & status verification
Saving a webhook URL in the dashboard does not activate callbacks. Future live integration must verify provider signatures, compare amount/order/merchant, enforce idempotency, then dispatch authenticated webhooks with logged delivery attempts and retries. No API credential or wallet secret should ever appear in a browser.