POST api/payment/makeEzetapPayment?userId={userId}&companyId={companyId}&payFor={payFor}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| companyId | integer |
Required |
|
| payFor | string |
Default value is Common |
Body Parameters
EzetapPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| externalRefNumber | string |
None. |
|
| amount | string |
None. |
|
| Mode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"externalRefNumber": "sample string 1",
"amount": "sample string 2",
"Mode": "sample string 3"
}
application/xml, text/xml
Sample:
<EzetapPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Mode>sample string 3</Mode> <amount>sample string 2</amount> <externalRefNumber>sample string 1</externalRefNumber> </EzetapPaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Data": {},
"Message": "sample string 3",
"Type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>