POST Api/VirtualWallet/WalletTopUp

Request Information

URI Parameters

None.

Body Parameters

VirtualWalletTopUpRequest
NameDescriptionTypeAdditional information
PaymentReference

string

None.

Amount

decimal number

None.

Username

string

None.

Password

string

None.

DeviceManufacturer

string

None.

DeviceModel

string

None.

DeviceSDKInt

string

None.

DeviceSDKVersion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentReference": "sample string 1",
  "Amount": 2.0,
  "Username": "sample string 3",
  "Password": "sample string 4",
  "DeviceManufacturer": "sample string 5",
  "DeviceModel": "sample string 6",
  "DeviceSDKInt": "sample string 7",
  "DeviceSDKVersion": "sample string 8"
}

application/xml, text/xml

Sample:
<VirtualWalletTopUpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <DeviceManufacturer>sample string 5</DeviceManufacturer>
  <DeviceModel>sample string 6</DeviceModel>
  <DeviceSDKInt>sample string 7</DeviceSDKInt>
  <DeviceSDKVersion>sample string 8</DeviceSDKVersion>
  <Password>sample string 4</Password>
  <Username>sample string 3</Username>
  <Amount>2</Amount>
  <PaymentReference>sample string 1</PaymentReference>
</VirtualWalletTopUpRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VirtualWalletTopUpRequest'.

Response Information

Resource Description

VirtualWalletTopUpResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "ServerDateTime": "sample string 3",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<VirtualWalletTopUpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 3</ServerDateTime>
  <Success>true</Success>
</VirtualWalletTopUpResponse>