Code Monkey home page Code Monkey logo

wetalk-api-reloadlyxflutterwave's Introduction

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: "08102944117",
  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

wetalk-api-reloadlyxflutterwave's People

Contributors

tdogubo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.