POST api/v1/payv1/Recharge

Request Information

URI Parameters

None.

Body Parameters

RechargeParam
NameDescriptionTypeAdditional information
Money

decimal number

Required

PayType

integer

Required

CountryCode

string

None.

RealName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Money": 1.0,
  "PayType": 2,
  "CountryCode": "sample string 3",
  "RealName": "sample string 4"
}

application/xml, text/xml

Sample:
<RechargeParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params">
  <CountryCode>sample string 3</CountryCode>
  <Money>1</Money>
  <PayType>2</PayType>
  <RealName>sample string 4</RealName>
</RechargeParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SMHRetRechargeDto
NameDescriptionTypeAdditional information
ID

integer

None.

Status

integer

None.

Message

string

None.

PayType

string

None.

Service

string

None.

IsSdkPay

boolean

None.

Data

Object

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<SMHRetRechargeDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Status>2</Status>
  <Message>sample string 3</Message>
  <PayType>sample string 4</PayType>
  <Service>sample string 5</Service>
  <IsSdkPay>true</IsSdkPay>
  <Data />
</SMHRetRechargeDto>

text/json

Sample:
{
  "ID": 1,
  "Status": 2,
  "Message": "sample string 3",
  "PayType": "sample string 4",
  "Service": "sample string 5",
  "IsSdkPay": true,
  "Data": {}
}

text/xml

Sample:
<SMHRetRechargeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.SMH">
  <Data />
  <ID>1</ID>
  <IsSdkPay>true</IsSdkPay>
  <Message>sample string 3</Message>
  <PayType>sample string 4</PayType>
  <Service>sample string 5</Service>
  <Status>2</Status>
</SMHRetRechargeDto>