POST api/SendPayAPI/PayWithBill
Request Information
URI Parameters
None.
Body Parameters
PayWithBillReqVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PayeeCode | string |
None. |
|
| ExtTranId | string |
None. |
|
| VatRegNo | string |
None. |
|
| Description | string |
None. |
|
| SrcAcntCode | string |
None. |
|
| Bills | Collection of BillInfo |
None. |
|
| Signature | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PayeeCode": "sample string 1",
"ExtTranId": "sample string 2",
"VatRegNo": "sample string 3",
"Description": "sample string 4",
"SrcAcntCode": "sample string 5",
"Bills": [
{
"billId": 1,
"tranAmount": 2,
"tranCur": "sample string 3"
},
{
"billId": 1,
"tranAmount": 2,
"tranCur": "sample string 3"
}
],
"Signature": "sample string 6"
}
application/xml, text/xml
Sample:
<PayWithBillReqVM 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>
<Description>sample string 4</Description>
<ExtTranId>sample string 2</ExtTranId>
<PayeeCode>sample string 1</PayeeCode>
<Signature>sample string 6</Signature>
<SrcAcntCode>sample string 5</SrcAcntCode>
<VatRegNo>sample string 3</VatRegNo>
</PayWithBillReqVM>
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. |