POST Integration/BuyAirtime
Request Information
URI Parameters
None.
Body Parameters
InputRequestName | Description | Type | Additional information |
---|---|---|---|
DevicePlatform | string |
None. |
|
DeviceVersion | string |
None. |
|
MaxiCashAppVersion | string |
None. |
|
MaxiCashAppVersionName | string |
None. |
|
DeviceKey | string |
None. |
|
DeviceToken | string |
None. |
|
DeviceLanguage | string |
None. |
|
DeviceID | string |
None. |
|
RequestData | string |
None. |
|
UserToken | string |
None. |
|
SessionToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DevicePlatform": "sample string 1", "DeviceVersion": "sample string 2", "MaxiCashAppVersion": "sample string 3", "MaxiCashAppVersionName": "sample string 4", "DeviceKey": "sample string 5", "DeviceToken": "sample string 6", "DeviceLanguage": "sample string 7", "DeviceID": "sample string 8", "RequestData": "sample string 9", "UserToken": "sample string 10", "SessionToken": "sample string 11" }
application/xml, text/xml
Sample:
<InputRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashWebApi.Models"> <DeviceID>sample string 8</DeviceID> <DeviceKey>sample string 5</DeviceKey> <DeviceLanguage>sample string 7</DeviceLanguage> <DevicePlatform>sample string 1</DevicePlatform> <DeviceToken>sample string 6</DeviceToken> <DeviceVersion>sample string 2</DeviceVersion> <MaxiCashAppVersion>sample string 3</MaxiCashAppVersion> <MaxiCashAppVersionName>sample string 4</MaxiCashAppVersionName> <RequestData>sample string 9</RequestData> <SessionToken>sample string 11</SessionToken> <UserToken>sample string 10</UserToken> </InputRequest>
application/x-www-form-urlencoded
Sample:
DevicePlatform=value&DeviceVersion=value&MaxiCashAppVersion=value&MaxiCashAppVersionName=value&DeviceKey=value&DeviceToken=value&DeviceLanguage=value&DeviceID=value&RequestData=value&UserToken=value&SessionToken=value
Response Information
Resource Description
ServiceResponseName | Description | Type | Additional information |
---|---|---|---|
SessionToken | string |
None. |
|
ResponseStatus | string |
None. |
|
ResponseError | string |
None. |
|
ResponseData | string |
None. |
|
ResponseDesc | string |
None. |
|
TransactionID | string |
None. |
|
Reference | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "SessionToken": "sample string 1", "ResponseStatus": "sample string 2", "ResponseError": "sample string 3", "ResponseData": "sample string 4", "ResponseDesc": "sample string 5", "TransactionID": "sample string 6", "Reference": "sample string 7" }
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxiCashWebApi.Models"> <Reference>sample string 7</Reference> <ResponseData>sample string 4</ResponseData> <ResponseDesc>sample string 5</ResponseDesc> <ResponseError>sample string 3</ResponseError> <ResponseStatus>sample string 2</ResponseStatus> <SessionToken>sample string 1</SessionToken> <TransactionID>sample string 6</TransactionID> </ServiceResponse>