POST api/v1/hubtel/purchase-airtime
Request Information
URI Parameters
None.
Body Parameters
HubtelPurchaseAirtimeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Msisdn | string |
None. |
|
| Amount | decimal number |
None. |
|
| RequestId | string |
Required Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9.|/-]+$)) |
|
| CountryId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Msisdn": "sample string 1",
"Amount": 2.0,
"RequestId": "sample string 3",
"CountryId": "sample string 4"
}
application/xml, text/xml
Sample:
<HubtelPurchaseAirtimeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects"> <CountryId>sample string 4</CountryId> <RequestId>sample string 3</RequestId> <Amount>2</Amount> <Msisdn>sample string 1</Msisdn> </HubtelPurchaseAirtimeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.