POST api/ApplePay/QueryUserCardCount

Request Information

URI Parameters

None.

Body Parameters

QueryUserCardCountReq
NameDescriptionTypeAdditional information
ReceiptData

string

None.

ReceiptType

integer

None.

UnionId

string

None.

Uuid

string

None.

PayType

integer

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

ApiVer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptData": "sample string 1",
  "ReceiptType": 2,
  "UnionId": "sample string 3",
  "Uuid": "sample string 4",
  "PayType": 5,
  "ProductId": 6,
  "Token": "sample string 7",
  "ChannalId": "sample string 8",
  "Version": "sample string 9",
  "language": "sample string 10",
  "ApiVer": 11
}

application/xml, text/xml

Sample:
<QueryUserCardCountReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ApiVer>11</ApiVer>
  <ChannalId>sample string 8</ChannalId>
  <ProductId>6</ProductId>
  <Token>sample string 7</Token>
  <Version>sample string 9</Version>
  <language>sample string 10</language>
  <PayType>5</PayType>
  <ReceiptData>sample string 1</ReceiptData>
  <ReceiptType>2</ReceiptType>
  <UnionId>sample string 3</UnionId>
  <Uuid>sample string 4</Uuid>
</QueryUserCardCountReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QueryOrderRes
NameDescriptionTypeAdditional information
QueryResult

查询的具体内容

string

None.

UnionId

用户唯一值

string

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "QueryResult": "sample string 1",
  "UnionId": "sample string 2",
  "Message": "sample string 3",
  "Status": 4
}

application/xml, text/xml

Sample:
<QueryOrderRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 3</Message>
  <Status>4</Status>
  <QueryResult>sample string 1</QueryResult>
  <UnionId>sample string 2</UnionId>
</QueryOrderRes>