POST api/SendPayAPI/PayWithBill?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
MostPayWithBillReq| Name | Description | Type | Additional information |
|---|---|---|---|
| payeeCode | string |
None. |
|
| extTranId | string |
None. |
|
| vatRegNo | string |
None. |
|
| desc | string |
None. |
|
| srcAcntCode | string |
None. |
|
| bills | Collection of BillInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"payeeCode": "sample string 1",
"extTranId": "sample string 2",
"vatRegNo": "sample string 3",
"desc": "sample string 4",
"srcAcntCode": "sample string 5",
"bills": [
{
"billId": 1,
"tranAmount": 2,
"tranCur": "sample string 3"
},
{
"billId": 1,
"tranAmount": 2,
"tranCur": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<MostPayWithBillReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sendmn.Inbound.Models">
<bills>
<BillInfo>
<billId>1</billId>
<tranAmount>2</tranAmount>
<tranCur>sample string 3</tranCur>
</BillInfo>
<BillInfo>
<billId>1</billId>
<tranAmount>2</tranAmount>
<tranCur>sample string 3</tranCur>
</BillInfo>
</bills>
<desc>sample string 4</desc>
<extTranId>sample string 2</extTranId>
<payeeCode>sample string 1</payeeCode>
<srcAcntCode>sample string 5</srcAcntCode>
<vatRegNo>sample string 3</vatRegNo>
</MostPayWithBillReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PayRes| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | string |
None. |
|
| responseDesc | string |
None. |
|
| tranId | string |
None. |
|
| extTranId | string |
None. |
|
| tranAmnt | string |
None. |
|
| tranCur | string |
None. |
|
| vatSlipNo | string |
None. |
|
| vatLottery | string |
None. |
|
| vatQrCode | string |
None. |
|
| userMessage | string |
None. |
|
| vatRegNo | string |
None. |
|
| vatAmt | string |
None. |
|
| tranDate | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": "sample string 1",
"responseDesc": "sample string 2",
"tranId": "sample string 3",
"extTranId": "sample string 4",
"tranAmnt": "sample string 5",
"tranCur": "sample string 6",
"vatSlipNo": "sample string 7",
"vatLottery": "sample string 8",
"vatQrCode": "sample string 9",
"userMessage": "sample string 10",
"vatRegNo": "sample string 11",
"vatAmt": "sample string 12",
"tranDate": "sample string 13"
}
application/xml, text/xml
Sample:
<PayRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sendmn.Inbound.Models"> <extTranId>sample string 4</extTranId> <responseCode>sample string 1</responseCode> <responseDesc>sample string 2</responseDesc> <tranAmnt>sample string 5</tranAmnt> <tranCur>sample string 6</tranCur> <tranDate>sample string 13</tranDate> <tranId>sample string 3</tranId> <userMessage>sample string 10</userMessage> <vatAmt>sample string 12</vatAmt> <vatLottery>sample string 8</vatLottery> <vatQrCode>sample string 9</vatQrCode> <vatRegNo>sample string 11</vatRegNo> <vatSlipNo>sample string 7</vatSlipNo> </PayRes>