Introduction
The Server-to-Server (S2S) Net Banking integration lets you initiate net banking payments entirely from your backend. EximPe returns an ACS (Access Control Server) template that you render in the customer’s browser, which automatically redirects them to their bank’s net banking portal to authorise the payment.18+ Banks Supported
SBI, HDFC, ICICI, Axis, Kotak and many more
ACS Redirect
Seamlessly redirect customers to their bank’s portal via Base64-encoded HTML
Real-time Callbacks
Receive instant payment status updates via server-to-server webhooks
Prerequisites
Before you begin, ensure you have:- Credentials: Your Client ID and Client Secret
- Domain Whitelist: Whitelisted your website domain in the EximPe dashboard
- Webhook URL: A secure endpoint to receive payment status updates
- Callback URL: A publicly accessible URL configured in your EximPe dashboard for server-to-server callbacks
- HTTPS Endpoint: All S2S endpoints must be served over HTTPS
- Initiate payment with the customer’s selected bank code
- Render the ACS template to redirect the customer to their bank
- Check payment transaction status
- EximPe sends Server-to-Server callback response
Step 1: Initiate Payment
Send aPOST request to the Create Order endpoint with collection_mode set to "s2s" and mop_type set to "net_banking". Include the customer’s chosen bank code in netbanking_details.
Required parameters for S2S Net Banking:
collection_mode: must be"s2s"mop_type: must be"net_banking"netbanking_details.bank_name: name of the selected bank (see Supported Banks)buyer.ip_address: customer’s device IP address (used for fraud prevention)buyer.user_agent: customer’s browser user-agent string (used for fraud prevention)
Request Headers
Response
order_id: Unique order identifier for tracking the transactionacs_template: Base64-encoded HTML form that redirects the customer to their bank’s net banking portal
Step 2: Render ACS Template
Decode the Base64acs_template and render it in the customer’s browser. The embedded form auto-submits and takes the customer directly to their bank’s authentication page.
Step 3: Check Payment Transaction Status
Use the Order Status API to retrieve the current payment status:For detailed parameters and response formats, see the Get Order API
Payment Status Values
| Status | Description |
|---|---|
payment_pending | Payment initiated, awaiting completion |
payment_successful | Payment completed successfully |
failed | Payment failed or was declined |
Step 4: Server-to-Server Callback Response
EximPe sends real-time webhook notifications when payment status changes:Supported Banks
- Airtel Payments Bank
- Andhra Pragathi Grameena Bank
- AU Small Finance Bank
- Axis Bank
- Axis Bank - Corporate
- Bandhan Bank - Retail Banking
- Bank of Bahrain and Kuwait
- Bank of Baroda - Corporate
- Bank of Baroda - Retail Banking
- Bank of India
- Bank of India - Corporate
- Bank of Maharashtra
- Barclays - Corporate
- Canara Bank
- Capital Small Finance Bank
- Central Bank of India
- City Union Bank
- Cosmos Bank
- CSB Bank Limited
- DBS Bank Ltd
- DCB Bank - Personal
- Deutsche Bank
- Dhanlaxmi Bank
- Dhanlaxmi Bank - Corporate
- Equitas Small Finance Bank
- ESAF Small Finance Bank
- Federal Bank
- Fincare Bank
- Gujarat State Co-operative Bank Limited
- HDFC Bank
- HDFC Corporate
- HSBC Retail NetBanking
- ICICI Bank
- ICICI Bank - Corporate
- IDBI Bank
- IDBI Bank - Corporate
- IDFC FIRST Bank
- Indian Bank
- Indian Overseas Bank
- Indian Overseas Bank - Corporate
- IndusInd Bank
- Jammu and Kashmir Bank
- Jana Small Finance Bank
- Janata Sahakari Bank Ltd Pune
- Kalyan Janata Sahakari Bank
- Karnataka Bank Ltd
- Karnataka Gramin Bank
- Karnataka Vikas Grameena Bank
- Karur Vysya Bank
- Kotak Mahindra Bank
- Maharashtra Gramin Bank
- Mehsana urban Co-op Bank
- NKGSB Co-op Bank
- Nutan Nagarik Sahakari Bank Limited
- Punjab & Sind Bank
- Punjab National Bank - Corporate
- Punjab National Bank - Retail Banking
- RBL Bank
- RBL Bank Limited - Corporate
- Saraswat Bank
- SBM Bank India
- Shamrao Vithal Bank - Corporate
- Shamrao Vithal Co-operative Bank
- Shivalik Small Finance Bank
- South Indian Bank
- Standard Chartered Bank
- State Bank Of India
- State Bank of India - Corporate
- Suryoday Small Finance Bank
- Tamil Nadu State Co-operative Bank
- Tamilnad Mercantile Bank Ltd
- Thane Bharat Sahakari Bank Ltd
- The Kalupur Commercial Co-Operative Bank
- The Surat Peoples Co-operative Bank Ltd
- The Sutex Co-op Bank Ltd
- TJSB Bank
- UCO Bank
- UCO Bank Corporate
- Ujjivan Small Finance Bank
- Union Bank of India
- Union Bank of India - Corporate
- Utkarsh Small Finance Bank
- Varachha Co-operative Bank Limited
- Yes Bank - Corporate
- Yes Bank Ltd
- Zoroastrian Co-Operative Bank Ltd
Next Steps
- Go Live: Switch to production credentials after thorough testing
- Monitor: Track success rates and error patterns via your EximPe dashboard