POST api/MyBillingPay/AuthGlobalTest

Request Information

URI Parameters

None.

Body Parameters

AuthGlobalClientInfo
NameDescriptionTypeAdditional information
TradeType

*交易模式 1:Android SDK (手遊適用) 2:WEB

string

None.

CustomerId

*用户编号,浣熊用户ID

string

None.

ProductName

*产品名称

string

None.

Amount

*交易金额,测试值150

string

None.

Currency

*币别(TWD/HKD/USD),暂用(TWD)

string

None.

SandBoxMode

*是否為測試環境 true/false

string

None.

ItemCode

*品項代碼

string

None.

ClientType

客户端类型 0 = Wap (默认) 1 = PC

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TradeType": "sample string 1",
  "CustomerId": "sample string 2",
  "ProductName": "sample string 3",
  "Amount": "sample string 4",
  "Currency": "sample string 5",
  "SandBoxMode": "sample string 6",
  "ItemCode": "sample string 7",
  "ClientType": 8
}

application/xml, text/xml

Sample:
<AuthGlobalClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThirdPart.Models.MyCard.MyBillingPay">
  <Amount>sample string 4</Amount>
  <ClientType>8</ClientType>
  <Currency>sample string 5</Currency>
  <CustomerId>sample string 2</CustomerId>
  <ItemCode>sample string 7</ItemCode>
  <ProductName>sample string 3</ProductName>
  <SandBoxMode>sample string 6</SandBoxMode>
  <TradeType>sample string 1</TradeType>
</AuthGlobalClientInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and string [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>