POST api/WxPay/PaymentDLLWxPayMicroPay

Request Information

URI Parameters

None.

Body Parameters

MicroPayPara
NameDescriptionTypeAdditional information
ProductId

globally unique identifier

None.

ProductName

string

None.

Code

string

None.

Amount

integer

None.

TransactionNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": "45af9cb4-b904-4a4b-9459-bbc7aa9ed741",
  "ProductName": "sample string 2",
  "Code": "sample string 3",
  "Amount": 4,
  "TransactionNo": "sample string 5"
}

application/xml, text/xml

Sample:
<MicroPayPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaymentPackage">
  <Amount>4</Amount>
  <Code>sample string 3</Code>
  <ProductId>45af9cb4-b904-4a4b-9459-bbc7aa9ed741</ProductId>
  <ProductName>sample string 2</ProductName>
  <TransactionNo>sample string 5</TransactionNo>
</MicroPayPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultOfPaymentMessage
NameDescriptionTypeAdditional information
Content

PaymentMessage

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.