POST api/payment-gateway/sinopay-back

Request Information

URI Parameters

None.

Body Parameters

Raw
NameDescriptionTypeAdditional information
signature

string

None.

signMethod

string

None.

merId

string

None.

orderId

string

None.

txnAmt

string

None.

txnType

string

None.

txnTime

string

None.

respCode

string

None.

respMsg

string

None.

queryId

string

None.

reqReserved

string

None.

status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "signature": "sample string 1",
  "signMethod": "sample string 2",
  "merId": "sample string 3",
  "orderId": "sample string 4",
  "txnAmt": "sample string 5",
  "txnType": "sample string 6",
  "txnTime": "sample string 7",
  "respCode": "sample string 8",
  "respMsg": "sample string 9",
  "queryId": "sample string 10",
  "reqReserved": "sample string 11",
  "status": "sample string 12"
}

application/xml, text/xml

Sample:
<Sinopay.PurchaseResponse.Raw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AA">
  <merId>sample string 3</merId>
  <orderId>sample string 4</orderId>
  <queryId>sample string 10</queryId>
  <reqReserved>sample string 11</reqReserved>
  <respCode>sample string 8</respCode>
  <respMsg>sample string 9</respMsg>
  <signMethod>sample string 2</signMethod>
  <signature>sample string 1</signature>
  <status>sample string 12</status>
  <txnAmt>sample string 5</txnAmt>
  <txnTime>sample string 7</txnTime>
  <txnType>sample string 6</txnType>
</Sinopay.PurchaseResponse.Raw>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Raw'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.