POST api/EShop/Pay?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
确认支付 支付的逻辑在后台计算,前台只需要传来订单ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
OrderPayVM| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID |
ms92订单ID |
globally unique identifier |
None. |
| PayType |
支付方式 目前没用 只有一种余额支付 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "b41e7ff8-b3b5-4e4b-849a-ec6cdba7e242",
"PayType": "sample string 2"
}
application/xml, text/xml
Sample:
<OrderPayVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.EShop.ViewModel"> <OrderID>b41e7ff8-b3b5-4e4b-849a-ec6cdba7e242</OrderID> <PayType>sample string 2</PayType> </OrderPayVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ReturnCode |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 1",
"Data": true
}
application/xml, text/xml
Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>true</Data> <Message>sample string 1</Message> </ResultModelOfboolean>