POST api/Order/Payment
Request Information
URI Parameters
None.
Body Parameters
OrderInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CreditCardNo | string |
None. |
|
| ExpireDate | string |
None. |
|
| CardHolderName | string |
None. |
|
| CVC | string |
None. |
|
| ProductCode | string |
None. |
|
| CustomerCode | string |
None. |
|
| InstallmentCount | string |
None. |
|
| IsInstalledProcess | boolean |
None. |
|
| CouponCode | string |
None. |
|
| IsTimeLimited | string |
None. |
|
| CompanyId | decimal number |
None. |
|
| UserId | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CreditCardNo": "sample string 1",
"ExpireDate": "sample string 2",
"CardHolderName": "sample string 3",
"CVC": "sample string 4",
"ProductCode": "sample string 5",
"CustomerCode": "sample string 6",
"InstallmentCount": "sample string 7",
"IsInstalledProcess": true,
"CouponCode": "sample string 9",
"IsTimeLimited": "sample string 10",
"CompanyId": 11.0,
"UserId": 12.0
}
application/xml, text/xml
Sample:
<OrderInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile"> <CVC>sample string 4</CVC> <CardHolderName>sample string 3</CardHolderName> <CompanyId>11</CompanyId> <CouponCode>sample string 9</CouponCode> <CreditCardNo>sample string 1</CreditCardNo> <CustomerCode>sample string 6</CustomerCode> <ExpireDate>sample string 2</ExpireDate> <InstallmentCount>sample string 7</InstallmentCount> <IsInstalledProcess>true</IsInstalledProcess> <IsTimeLimited>sample string 10</IsTimeLimited> <ProductCode>sample string 5</ProductCode> <UserId>12</UserId> </OrderInfoRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | ResultType |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"ErrorMessage": "sample string 1"
}
application/xml, text/xml
Sample:
<OrderInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile"> <_x003C_ErrorMessage_x003E_k__BackingField>sample string 1</_x003C_ErrorMessage_x003E_k__BackingField> <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField> </OrderInfoResponse>