POST api/Payment/PushNotification
Documentation for 'PushNotification'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | Documentation for 'model'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"request": "sample string 1",
"trx_id": "sample string 2",
"merchant_id": "sample string 3",
"merchant": "sample string 4",
"bill_no": "sample string 5",
"payment_reff": "sample string 6",
"payment_date": "sample string 7",
"payment_status_code": "sample string 8",
"payment_status_desc": "sample string 9",
"signature": "sample string 10"
}
application/xml, text/xml
Sample:
<faspay xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <request>sample string 1</request> <trx_id>sample string 2</trx_id> <merchant_id>sample string 3</merchant_id> <merchant>sample string 4</merchant> <bill_no>sample string 5</bill_no> <payment_reff>sample string 6</payment_reff> <payment_date>sample string 7</payment_date> <payment_status_code>sample string 8</payment_status_code> <payment_status_desc>sample string 9</payment_status_desc> <signature>sample string 10</signature> <IP_ADDRESS>sample string 11</IP_ADDRESS> </faspay>
Response Information
Response body formats
application/json, text/json
Sample:
{
"response": "sample string 1",
"trx_id": "sample string 2",
"merchant_id": "sample string 3",
"bill_no": "sample string 4",
"response_code": "sample string 5",
"response_desc": "sample string 6",
"response_date": "sample string 7"
}
application/xml, text/xml
Sample:
<faspay xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <response>sample string 1</response> <trx_id>sample string 2</trx_id> <merchant_id>sample string 3</merchant_id> <bill_no>sample string 4</bill_no> <response_code>sample string 5</response_code> <response_desc>sample string 6</response_desc> <response_date>sample string 7</response_date> </faspay>