POST api/payment/qrcode/generate?userId={userId}&companyId={companyId}&payFor={payFor}&payFrom={payFrom}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| companyId | integer |
Required |
|
| payFor | string |
Default value is Common |
|
| payFrom | string |
Default value is Donation |
Body Parameters
PaymentCanQrRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| transactionReferenceID | string |
None. |
|
| qrAmount | string |
None. |
|
| devatha | string |
None. |
|
| name | string |
None. |
|
| phoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"transactionReferenceID": "sample string 1",
"qrAmount": "sample string 2",
"devatha": "sample string 3",
"name": "sample string 4",
"phoneNumber": "sample string 5"
}
application/xml, text/xml
Sample:
<PaymentCanQrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <devatha>sample string 3</devatha> <name>sample string 4</name> <phoneNumber>sample string 5</phoneNumber> <qrAmount>sample string 2</qrAmount> <transactionReferenceID>sample string 1</transactionReferenceID> </PaymentCanQrRequest>
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>