Process Payment Netbanking

Use the below endpoint to Process Payment Netbanking.

Request Parameters:

Parameter NameTypeDescription
pay_code*stringpay_code is the unique identifier of the bank on which net banking transaction is intended. pay_code can be taken from the codes table.
customer_data()
mobile_nointeger
(Length = 20 Characters)
Vaild mobile number
country_codeinteger
(Length = 10 Characters)
Vaild country code.
email_idstring
(Length = 100 Characters)
Email of the user.

Request Body payload:

{
    "netbanking_data": {
        "pay_code": "NB1006"
    },
    "customer_data": {
        "country_code": "91",
        "mobile_number": "9121004027",
        "email_id": "[email protected]"
    }
}

Response Payload:

{
  "content": "<!DOCTYPE html><html><head><title> Redirecting ... </title></head><body><script>var url = 'https://test.pinepg.in/pinepg/v2/process/payment?token=lRPM%2bQYBt%2f3QFrJt5VBAe4rSBIef9B8I5N5zEzmSwms%3d';window.location = url;</script></body></html>",
  "payment_id": 1623429,
  "order_id": 46882,
  "amount_in_paise": 300,
  "response_code": 1,
  "response_message": "Payment Successful!"
}
{}

Response Parameters

Parameter NameTypeDescription
contentstringHtml content to load the output data.
payment_idlongUnique payment id.
order_idlongUnique order id.
amount_in_paiselongAmount paid in paise.
response_codestringResponse code.
response_messagestringShort message about code.
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!