Skip to content

A mobile top-up API created on Flutterwave and Reloadly APIs. WeTalk API can be called using πŸ‘‡πŸ½

Notifications You must be signed in to change notification settings

tdogubo/weTalk-API-ReloadlyXFlutterwave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

weTalk-API πŸ“²

Description

A mobile top-up API created on Flutterwave and Reloadly APIs.

Endpoints

/countries

A GET request which sends a list of supported countries on Reloadly.

Expected Response : 200 OK

/operator

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

/verify

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.

Postman Documentation Link:

https://documenter.getpostman.com/view/14420044/UUxwBUHv

About

A mobile top-up API created on Flutterwave and Reloadly APIs. WeTalk API can be called using πŸ‘‡πŸ½

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published