POST api/Payment/Save
Request Information
URI Parameters
None.
Body Parameters
PaymenHeaderModelName | Description | Type | Additional information |
---|---|---|---|
BusinessId | integer |
None. |
|
BusinessName | string |
None. |
|
PaymentProfileID | string |
None. |
|
UserId | integer |
None. |
|
TotalPaymentAmount | decimal number |
None. |
|
PaymentDate | string |
None. |
|
Last4DigitsCard | string |
None. |
|
Brand | string |
None. |
|
SystemId | integer |
None. |
|
TowCompany | string |
None. |
|
TowCompanyId | integer |
None. |
|
PaymentDetailsList | Collection of PaymenDetailsModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "BusinessId": 1, "BusinessName": "sample string 2", "PaymentProfileID": "sample string 3", "UserId": 4, "TotalPaymentAmount": 5.0, "PaymentDate": "sample string 6", "Last4DigitsCard": "sample string 7", "Brand": "sample string 8", "SystemId": 1, "TowCompany": "sample string 9", "TowCompanyId": 1, "PaymentDetailsList": [ { "TowPaymentsHeaderId": 1, "TowId": 2, "RecordId": "sample string 3" }, { "TowPaymentsHeaderId": 1, "TowId": 2, "RecordId": "sample string 3" } ] }
application/xml, text/xml
Sample:
<PaymenHeaderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models"> <Brand>sample string 8</Brand> <BusinessId>1</BusinessId> <BusinessName>sample string 2</BusinessName> <Last4DigitsCard>sample string 7</Last4DigitsCard> <PaymentDate>sample string 6</PaymentDate> <PaymentDetailsList> <PaymenDetailsModel> <RecordId>sample string 3</RecordId> <TowId>2</TowId> <TowPaymentsHeaderId>1</TowPaymentsHeaderId> </PaymenDetailsModel> <PaymenDetailsModel> <RecordId>sample string 3</RecordId> <TowId>2</TowId> <TowPaymentsHeaderId>1</TowPaymentsHeaderId> </PaymenDetailsModel> </PaymentDetailsList> <PaymentProfileID>sample string 3</PaymentProfileID> <SystemId>1</SystemId> <TotalPaymentAmount>5</TotalPaymentAmount> <TowCompany>sample string 9</TowCompany> <TowCompanyId>1</TowCompanyId> <UserId>4</UserId> </PaymenHeaderModel>
application/x-www-form-urlencoded
Sample:
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. |