POST api/InvoiceAnalyzer/InitiateRewardPayment
Request Information
URI Parameters
None.
Body Parameters
ReqRewardPayment| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
Required Matching regular expression pattern: ^((\d+)((\.\d{1,2})?))$ |
|
| VendorId | integer |
Required |
|
| VendorBankAccountId | integer |
Required |
|
| PaymentSource | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"VendorId": 2,
"VendorBankAccountId": 3,
"PaymentSource": "sample string 4"
}
application/xml, text/xml
Sample:
<ReqRewardPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEOWAY.Models.Request.InvoiceModule"> <Amount>1</Amount> <PaymentSource>sample string 4</PaymentSource> <VendorBankAccountId>3</VendorBankAccountId> <VendorId>2</VendorId> </ReqRewardPayment>
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. |