POST api/payment/SIB/generateQR?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
PaymentQrRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| acessToken | string |
None. |
|
| transactionReferenceID | string |
None. |
|
| amount | string |
None. |
|
| name | string |
None. |
|
| phoneNumber | string |
None. |
|
| Devatha | string |
None. |
|
| idProof | string |
None. |
|
| idProofNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"acessToken": "sample string 1",
"transactionReferenceID": "sample string 2",
"amount": "sample string 3",
"name": "sample string 4",
"phoneNumber": "sample string 5",
"Devatha": "sample string 6",
"idProof": "sample string 7",
"idProofNo": "sample string 8"
}
application/xml, text/xml
Sample:
<PaymentQrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models"> <Devatha>sample string 6</Devatha> <acessToken>sample string 1</acessToken> <amount>sample string 3</amount> <idProof>sample string 7</idProof> <idProofNo>sample string 8</idProofNo> <name>sample string 4</name> <phoneNumber>sample string 5</phoneNumber> <transactionReferenceID>sample string 2</transactionReferenceID> </PaymentQrRequest>
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>