A mobile top-up API created on Flutterwave and Reloadly APIs.
A GET
request which sends a list of supported countries on Reloadly.
Expected Response :
200 OK
A POST
request which allows you retrieve operator information on the mobile number inputed.
Body of request should be in the format ππ½ππ½
{ countryisocode: "recepient's country code",
phoneNumber: "recepient's phone number" }
Expected Response :
200 OK
A POST
endpoint which verifies the user's payment via Flutterwave's verify endpoint. If the verification is successful, airtime top-up endpoint on Reloadly runs.
Format for body ππ½ππ½
{ operatorId: "341",
amount: "100",
recipientNumber: "+234xxxxxxxx",
recipientCountryCode: "NG",
transactionRef: "2509533"}
Expected Response :
200 OK
In the event that any endpoint does not work; the API responds with a 400 Bad Request
error code.