POST Api/VirtualWallet/PerformWalletTopUp
Request Information
URI Parameters
None.
Body Parameters
PerformWalletTopUpRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| WalletTopUpRequestID | globally unique identifier |
None. |
|
| PaymentReference | string |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentTypeID | PaymentTypes |
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:
{
"WalletTopUpRequestID": "4a741cbb-cda2-4293-a758-ddd79adddce4",
"PaymentReference": "sample string 2",
"Amount": 3.0,
"PaymentTypeID": 1,
"Username": "sample string 4",
"Password": "sample string 5",
"DeviceManufacturer": "sample string 6",
"DeviceModel": "sample string 7",
"DeviceSDKInt": "sample string 8",
"DeviceSDKVersion": "sample string 9"
}
application/xml, text/xml
Sample:
<PerformWalletTopUpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models"> <DeviceManufacturer>sample string 6</DeviceManufacturer> <DeviceModel>sample string 7</DeviceModel> <DeviceSDKInt>sample string 8</DeviceSDKInt> <DeviceSDKVersion>sample string 9</DeviceSDKVersion> <Password>sample string 5</Password> <Username>sample string 4</Username> <Amount>3</Amount> <PaymentReference>sample string 2</PaymentReference> <PaymentTypeID>CreditCard</PaymentTypeID> <WalletTopUpRequestID>4a741cbb-cda2-4293-a758-ddd79adddce4</WalletTopUpRequestID> </PerformWalletTopUpRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PerformWalletTopUpResponse| Name | Description | Type | Additional 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:
<PerformWalletTopUpResponse 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> </PerformWalletTopUpResponse>