Get an EMI amount, the bins eligible for EMI, or a calculated EMI plan.
These three pages answer an EMI question for a merchant. Get EMI Amount returns the EMI for an amount. Get Eligible EMI Bins returns the bins that can pay by EMI. Calculate EMI calculates a plan for that merchant.
Authentication
All three pages use a Bearer token.
| Environment | Base URL |
|---|---|
| Test | https://test-partnerapilayer.payu.in/apilayer |
| Production | https://api.payu.in |
Send Authorization: Bearer {access_token} on every call. merchant_id is required on all three pages.
| Page | Route | Required body |
|---|---|---|
| Get EMI Amount | POST /partner/getEmiAmount | merchant_id (digits), amount |
| Get Eligible EMI Bins | POST /partner/getEligibleBins | merchant_id, type, var2 |
| Calculate EMI | POST /partner/calculateEmi | merchant_id (digits) |
Endpoints
These are the EMI pages.
POST /partner/getEmiAmount. EMI for a merchant and an amount. bankcode and tenure can be sent with the request. The request is forwarded to the EMI-as-per-interest service.
POST /partner/getEligibleBins. Bins eligible for EMI. Requires merchant_id, type, and var2. The request is forwarded to the eligible-bins service.
POST /partner/calculateEmi. Calculates EMI for a merchant. amount and bankcode can be sent with the request. reseller_id is not forwarded.
How It Works
Get the EMI amount
Call Get EMI Amount with merchant_id and amount. Add bankcode and tenure when you want them included.
Check eligible bins
Call Get Eligible EMI Bins with merchant_id, type, and var2.
Calculate a plan
Call Calculate EMI with merchant_id. Add amount and bankcode when you want them included.
