Redirect User
After successfully creating an order using the Create Order API, Elite Neo Bank returns a hosted checkout URL in the:Payment Flow
- Merchant creates payment order
- Elite Neo Bank returns
payment_link - Merchant redirects customer to hosted checkout
- Customer completes payment
- Elite Neo Bank redirects customer back to merchant
return_url - Merchant verifies payment using Order Status API or Webhook
Example Create Order Response
Redirect Customer
Redirect the customer to:JavaScript Redirect Example
PHP Redirect Example
Successful Payment Redirection
After the customer completes the payment successfully, Elite Neo Bank redirects the customer back to the merchantreturn_url.
The redirect is sent as a GET request with:
Example Redirect URL
Important Notes
- The
return_urlmust be publicly accessible - Always use HTTPS URLs
order_idreturned in redirect is the merchant order ID- Frontend redirects should not be used as final payment confirmation
- Always verify payment using:
- Order Status API
- Webhook notifications
Recommended Verification Flow
After receiving the redirect:- Extract
order_id - Call Order Status API
- Verify payment status server-side
- Update transaction status in your system
Why Verification is Important
Customer redirects may fail due to:- Browser interruptions
- Network issues
- User closing the page
- Device crashes
Recommended Integration Flow
- Create Order
- Redirect customer to
payment_link - Customer completes payment
- Receive redirect on
return_url - Verify transaction using APIs/webhooks
- Mark order as successful
Best Practices
- Always verify payment status server-side
- Do not trust frontend redirects alone
- Store merchant
order_idsecurely - Use unique order IDs for every transaction
- Enable webhook handling for real-time updates
