POST api/EShop/Pay?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

确认支付 支付的逻辑在后台计算,前台只需要传来订单ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

OrderPayVM
NameDescriptionTypeAdditional information
OrderID

ms92订单ID

globally unique identifier

None.

PayType

支付方式 目前没用 只有一种余额支付

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderID": "9a183fdc-4903-4934-8f4b-75048859a310",
  "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>9a183fdc-4903-4934-8f4b-75048859a310</OrderID>
  <PayType>sample string 2</PayType>
</OrderPayVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional 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>