POST PaymentCollection/CancelPayment?access_token={access_token}
请求参数
URI 参数
| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| access_token | string |
Required |
Body 参数
CancelPaymentApplyRP| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| applyId | string |
无。 |
|
| batNo | string |
无。 |
|
| cancelReason | integer |
无。 |
|
| cancelRemark | string |
无。 |
|
| unitId | string |
无。 |
|
| userId | string |
无。 |
请求格式
application/json, text/json
示例:
{
"applyId": "sample string 1",
"batNo": "sample string 2",
"cancelReason": 3,
"cancelRemark": "sample string 4",
"unitId": "sample string 5",
"userId": "sample string 6"
}
application/xml, text/xml
示例:
<CancelPaymentApplyRP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.DTO.Module.Order.Order.Request"> <unitId xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.DTO.Base">sample string 5</unitId> <userId xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.DTO.Base">sample string 6</userId> <applyId>sample string 1</applyId> <batNo>sample string 2</batNo> <cancelReason>3</cancelReason> <cancelRemark>sample string 4</cancelRemark> </CancelPaymentApplyRP>
application/x-www-form-urlencoded
示例:
Sample not available.
Response 信息
资源描述
HttpResponseMessage| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| Version | Version |
无。 |
|
| Content | HttpContent |
无。 |
|
| StatusCode | HttpStatusCode |
无。 |
|
| ReasonPhrase | string |
无。 |
|
| Headers | Object 集合 |
无。 |
|
| RequestMessage | HttpRequestMessage |
无。 |
|
| IsSuccessStatusCode | boolean |
无。 |