post https://api.juspay.in/txns#netbanking
Create a payment transaction for NetBanking. Once you have the response, then depending on the “method” attribute, you will need to redirect the customer as explained here. If you receive GET, redirection is done by using the “URL” provided. If you receive POST, then the customer is to be redirected using a form based on the key-value pairs contained in he "params" object.
The payment_method attribute must be one from this table: (except for TPV payments, in which case it must be one from the table noted below) (click to open table)
payment_method | Bank |
---|---|
NB_AXIS | Axis Bank |
NB_BOI | Bank of India |
NB_BOM | Bank of Maharashtra |
NB_CBI | Central Bank Of India |
NB_CORP | Corporation Bank |
NB_DCB | Development Credit Bank |
NB_FED | Federal Bank |
NB_HDFC | HDFC Bank |
NB_ICICI | ICICI Netbanking |
NB_IDBI | Industrial Development Bank of India |
NB_INDB | Indian Bank |
NB_INDUS | IndusInd Bank |
NB_IOB | Indian Overseas Bank |
NB_JNK | Jammu and Kashmir Bank |
NB_KARN | Karnataka Bank |
NB_KVB | Karur Vysya |
NB_SBBJ | State Bank of Bikaner and Jaipur |
NB_SBH | State Bank of Hyderabad |
NB_SBI | State Bank of India |
NB_SBM | State Bank of Mysore |
NB_SBT | State Bank of Travancore |
NB_SOIB | South Indian Bank |
NB_UBI | Union Bank of India |
NB_UNIB | United Bank Of India |
NB_VJYB | Vijaya Bank |
NB_YESB | Yes Bank |
NB_CUB | CityUnion |
NB_CANR | Canara Bank |
NB_SBP | State Bank of Patiala |
NB_CITI | Citi Bank NetBanking |
NB_DEUT | Deutsche Bank |
NB_KOTAK | Kotak Bank |
NB_DLS | Dhanalaxmi Bank |
NB_ING | ING Vysya Bank |
NB_ANDHRA | Andhra Bank |
NB_PNBCORP | Punjab National Bank CORPORATE |
NB_PNB | Punjab National Bank |
NB_BOB | Bank of Baroda |
NB_CSB | Catholic Syrian Bank |
NB_OBC | Oriental Bank Of Commerce |
NB_SCB | Standard Chartered Bank |
NB_TMB | Tamilnad Mercantile Bank |
NB_SARASB | Saraswat Bank |
NB_SYNB | Syndicate Bank |
NB_UCOB | UCO Bank |
NB_BOBCORP | Bank of Baroda Corporate |
NB_ALLB | Allahabad Bank |
NB_BBKM | Bank of Bahrain and Kuwait |
NB_JSB | Janata Sahakari Bank |
NB_LVBCORP | Lakshmi Vilas Bank Corporate |
NB_LVB | Lakshmi Vilas Bank Retail |
NB_NKGSB | North Kanara GSB |
NB_PMCB | Punjab and Maharashtra Coop Bank |
NB_PNJSB | Punjab and Sind Bank |
NB_RATN | Ratnakar Bank |
NB_RBS | Royal Bank of Scotland |
NB_SVCB | Shamrao Vithal Coop Bank |
NB_TNSC | Tamil Nadu State Apex Coop Bank |
NB_DENA | DENA Bank |
NB_COSMOS | COSMOS Bank |
NB_DBS | DBS Bank Ltd |
NB_DCBB | DCB BANK Business |
NB_SVC | SVC Cooperative Bank |
NB_BHARAT | Bharat Bank |
NB_KVBCORP | Karur Vysya Corporate Banking |
NB_UBICORP | Union Bank Corporate Banking |
NB_IDFC | IDFC Bank |
NB_NAIB | The Nainital Bank |
The response for the Netbanking Payment API is a Payment Status Object (click to open table)
Parameter | Type | Description |
---|---|---|
order_id | String | Unique Identifier for the order. |
txn_id | String | Transaction ID for the payment attempt. |
status | String | Status of the transaction. See Appendix below for status mapping. PENDING_VBV indicates that the transaction requires authentication to complete. |
payment.authentication.method | String | HTTP Method for authentication. Can be one of GET or POST (See redirection instructions in the "Handling the Redirection Method" section.) |
payment.authentication.url | String | URL to which the user has to be taken to for completing the authentication |
payment.authentication.params | Object | Present only when the method is POST. This a mapping via a list of key:value pairs that must be sent along with the URL for authentication. Do not hardcode the params in your client * Never assume that you will receive param “x” or param “y”. This is completely dynamic and will vary on a case by case basis. |
Status | ID | Meaning |
---|---|---|
NEW | 10 | Newly created order |
PENDING_VBV | 23 | Authentication is in progress |
CHARGED | 21 | Successful transaction |
AUTHENTICATION_FAILED | 26 | User did not complete authentication |
AUTHORIZATION_FAILED | 27 | User completed authentication, but bank refused the transaction |
JUSPAY_DECLINED | 22 | User input is not accepted by the underlying PG |
AUTHORIZING | 28 | Transaction status is pending from bank |
⭣
The request consists of Payment Method Details, as listed below:
Note:If using the Third-Party Validation (TPV) option, payment_method must be one from this table: (click to open)
Bank Code (payment_method) | Bank Name |
---|---|
JP_ANDHRA | Andhra Bank |
JP_AXIS | Axis Bank |
JP_CANR | Canara Bank |
JP_ICICI | ICICI Bank |
JP_IOB | Indian Overseas Bank |
JP_KVB | Karur Vysya Bank |
JP_PNB | Punjab National Bank |
JP_SBI | State Bank of India |
JP_IDFC | IDFC Bank |
JP_HDFC | HDFC Bank |
JP_YESB | Yes Bank |
JP_DLS | Dhanalaxmi Bank |
JP_CSB | Catholic Syrian Bank |
JP_OBC | Oriental Bank Of Commerce |
JP_LVB | Lakshmi Vilas Bank Retail |
PAY | UPI Intent Payment |
COLLECT | UPI Collect Payment |
INAPP | UPI IN App Payment |