POST api/wallet/topup

POST Begin a wallet top-up. Body has Amount. Creates the pending record and returns the parameters the app posts to GKash. Nothing is credited here.

Request Information

URI Parameters

None.

Body Parameters

TWalletTopup
NameDescriptionTypeAdditional information
Amount

decimal number

None.

Lang

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "Lang": "sample string 2"
}

application/xml, text/xml

Sample:
<SQLFunction.TWalletTopup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTapi20.AppsDAL">
  <Amount>1</Amount>
  <Lang>sample string 2</Lang>
</SQLFunction.TWalletTopup>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.