POST api/KBank/Payment
Request Information
URI Parameters
None.
Body Parameters
RequestPaymentName | Description | Type | Additional information |
---|---|---|---|
functionName | string |
None. |
|
transactionId | string |
None. |
|
transactionDateTime | string |
None. |
|
billerType | string |
None. |
|
billerId | string |
None. |
|
terminalNo | string |
None. |
|
promptPayReferenceNumber | string |
None. |
|
channelCode | string |
None. |
|
tranAmount | string |
None. |
|
senderBankCode | string |
None. |
|
isRetry | string |
None. |
|
reference1 | string |
None. |
|
reference2 | string |
None. |
|
language | string |
None. |
|
apiKey | string |
None. |
|
paymentAdditional | RequestPaymentAdditional |
None. |
Request Formats
application/json, text/json
Sample:
{ "functionName": "sample string 1", "transactionId": "sample string 2", "transactionDateTime": "sample string 3", "billerType": "sample string 4", "billerId": "sample string 5", "terminalNo": "sample string 6", "promptPayReferenceNumber": "sample string 7", "channelCode": "sample string 8", "tranAmount": "sample string 9", "senderBankCode": "sample string 10", "isRetry": "sample string 11", "reference1": "sample string 12", "reference2": "sample string 13", "language": "sample string 14", "apiKey": "sample string 15", "paymentAdditional": { "customerFee": "sample string 1", "partnerFee": "sample string 2", "sponsorBankFee": "sample string 3", "transferWithTax": "sample string 4", "fromProxyValue": "sample string 5", "fromProxyType": "sample string 6", "senderReferenceNo": "sample string 7", "senderTaxID": "sample string 8", "senderAcctName": "sample string 9", "receiverTaxID": "sample string 10", "vatRates": "sample string 11", "vat": "sample string 12", "typeofTaxIncome": "sample string 13", "withholdingTaxRates": "sample string 14", "withholdingTax": "sample string 15", "withholdingTaxConditions": "sample string 16", "settlementDate": "sample string 17", "promptPayFlag": "sample string 18", "typeofSender": "sample string 19", "typeofReceiver": "sample string 20", "duedate": "sample string 21", "rtpReference": "sample string 22", "rqAppId": "sample string 23" } }
application/xml, text/xml
Sample:
<RequestPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BillPaymentGatewayApp.Models"> <apiKey>sample string 15</apiKey> <billerId>sample string 5</billerId> <billerType>sample string 4</billerType> <channelCode>sample string 8</channelCode> <functionName>sample string 1</functionName> <isRetry>sample string 11</isRetry> <language>sample string 14</language> <paymentAdditional> <customerFee>sample string 1</customerFee> <duedate>sample string 21</duedate> <fromProxyType>sample string 6</fromProxyType> <fromProxyValue>sample string 5</fromProxyValue> <partnerFee>sample string 2</partnerFee> <promptPayFlag>sample string 18</promptPayFlag> <receiverTaxID>sample string 10</receiverTaxID> <rqAppId>sample string 23</rqAppId> <rtpReference>sample string 22</rtpReference> <senderAcctName>sample string 9</senderAcctName> <senderReferenceNo>sample string 7</senderReferenceNo> <senderTaxID>sample string 8</senderTaxID> <settlementDate>sample string 17</settlementDate> <sponsorBankFee>sample string 3</sponsorBankFee> <transferWithTax>sample string 4</transferWithTax> <typeofReceiver>sample string 20</typeofReceiver> <typeofSender>sample string 19</typeofSender> <typeofTaxIncome>sample string 13</typeofTaxIncome> <vat>sample string 12</vat> <vatRates>sample string 11</vatRates> <withholdingTax>sample string 15</withholdingTax> <withholdingTaxConditions>sample string 16</withholdingTaxConditions> <withholdingTaxRates>sample string 14</withholdingTaxRates> </paymentAdditional> <promptPayReferenceNumber>sample string 7</promptPayReferenceNumber> <reference1>sample string 12</reference1> <reference2>sample string 13</reference2> <senderBankCode>sample string 10</senderBankCode> <terminalNo>sample string 6</terminalNo> <tranAmount>sample string 9</tranAmount> <transactionDateTime>sample string 3</transactionDateTime> <transactionId>sample string 2</transactionId> </RequestPayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |