post https://api-staging.pluralonline.com/api/v1/netbanking/process/payment/1
Use the below endpoint to Process Payment Netbanking.
Request Parameters:
Parameter Name | Type | Description |
---|---|---|
pay_code* | string | pay_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_no | integer (Length = 20 Characters) | Vaild mobile number |
country_code | integer (Length = 10 Characters) | Vaild country code. |
email_id | string (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 Name | Type | Description |
---|---|---|
content | string | Html content to load the output data. |
payment_id | long | Unique payment id. |
order_id | long | Unique order id. |
amount_in_paise | long | Amount paid in paise. |
response_code | string | Response code. |
response_message | string | Short message about code. |