ApnaPaisa lets you accept UPI, cards, net banking and wallets through a single REST API and a hosted checkout. Payments are processed by our RBI-authorised payment partner — card and UPI credentials never touch your servers or ours.
How it works
- Your server creates an order with
POST /api/v1/orders. - Redirect the customer to the returned
checkout_url(or open it in a popup withcheckout.js). - The customer pays; we verify the payment server-side with the provider.
- We redirect back to your
success_urlwith a signature and send a signedpayment.successwebhook. - Your server confirms with
GET /api/v1/orders/{id}before fulfilling.
Base URL
https://apnapaisa.softwearapp.com/api/v1
Conventions
- All amounts are integers in paise (₹499.00 =
49900). - Requests and responses are JSON (UTF-8). Timestamps are Unix seconds (UTC).
- Successful responses:
{"success": true, "data": {…}}. Errors:{"success": false, "error": {"code", "message", "field"}}. - The same API serves sandbox and live; the environment is selected by the key you use.