Welcome

Welcome to the documentation for LAM’s Airtime API. This API allows you to send airtime (phone credit) to numbers subscribed to your service via an API interface.

LAMAIRTIME is a proxy/API designed to send airtime (phone credit) to numbers subscribed to your service using an API interface.

Available Interfaces

LAMAIRTIME offers two interfaces:

  • Via Web: The user connects via a browser.
  • Via API: The client’s application exchanges information automatically with the LAfricaMobile platform.

This document describes the second method and explains how to use this API.

Account Settings

To use this API, you need a valid account. When creating your account, LAfricaMobile must provide you with the following:

  • login: Also called accountid.
  • password: Password associated with your account.
  • montant: Amount to send.
  • telephone: Recipient’s phone number.
  • operateur: Operator code.
  • callback: Callback URL to receive acknowledgments in real-time.

This username/password pair is used as an identification parameter in the API.

Variables Used in the Documentation

In this documentation, we use the following values as examples. The actual values will be provided by our technical team or defined by your own configuration (for parameters depending on your side, like the callback). Some of them may not be used depending on your needs.

  • login = fred
  • password = xpasswordx
  • montant = 100
  • telephone = 221772345678
  • operateur = ORANGESN
  • callback = https://votreentreprise.com/reception