POST api/Online/TopUpCredits

Request Information

URI Parameters

None.

Body Parameters

TopUpModel
NameDescriptionTypeAdditional information
MerchantId

integer

None.

Token

string

None.

Amount

string

None.

PhoneNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MerchantId": 1,
  "Token": "sample string 2",
  "Amount": "sample string 3",
  "PhoneNumber": "sample string 4"
}

application/xml, text/xml

Sample:
<TopUpModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Amount>sample string 3</Amount>
  <MerchantId>1</MerchantId>
  <PhoneNumber>sample string 4</PhoneNumber>
  <Token>sample string 2</Token>
</TopUpModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.