POST api/KshetramAPI/PGRaserPay
Request Information
URI Parameters
None.
Body Parameters
Root| Name | Description | Type | Additional information |
|---|---|---|---|
| amount | integer |
None. |
|
| currency | string |
None. |
|
| accept_partial | boolean |
None. |
|
| first_min_partial_amount | integer |
None. |
|
| expire_by | integer |
None. |
|
| reference_id | string |
None. |
|
| description | string |
None. |
|
| customer | Customer |
None. |
|
| notify | Notify |
None. |
|
| reminder_enable | boolean |
None. |
|
| notes | Notes |
None. |
|
| callback_url | string |
None. |
|
| callback_method | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"amount": 1,
"currency": "sample string 2",
"accept_partial": true,
"first_min_partial_amount": 4,
"expire_by": 5,
"reference_id": "sample string 6",
"description": "sample string 7",
"customer": {
"name": "sample string 1",
"contact": "sample string 2",
"email": "sample string 3"
},
"notify": {
"sms": true,
"email": true
},
"reminder_enable": true,
"notes": {
"policy_name": "sample string 1"
},
"callback_url": "sample string 9",
"callback_method": "sample string 10"
}
application/xml, text/xml
Sample:
<Root xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubixKshetramAPI.Models">
<accept_partial>true</accept_partial>
<amount>1</amount>
<callback_method>sample string 10</callback_method>
<callback_url>sample string 9</callback_url>
<currency>sample string 2</currency>
<customer>
<contact>sample string 2</contact>
<email>sample string 3</email>
<name>sample string 1</name>
</customer>
<description>sample string 7</description>
<expire_by>5</expire_by>
<first_min_partial_amount>4</first_min_partial_amount>
<notes>
<policy_name>sample string 1</policy_name>
</notes>
<notify>
<email>true</email>
<sms>true</sms>
</notify>
<reference_id>sample string 6</reference_id>
<reminder_enable>true</reminder_enable>
</Root>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |