AirtelMoney.Transactions (airtel_money v0.1.0)

Copy Markdown View Source

Module for Airtel Money Transaction Status API.

Allows querying the status of transactions.

Summary

Functions

Queries the status of a transaction.

Functions

status(transaction_id)

@spec status(String.t()) :: {:ok, map()} | {:error, AirtelMoney.Error.t()}

Queries the status of a transaction.

Parameters

  • transaction_id - The transaction ID to query

Examples

iex> # This would normally call the API, but for doctest we skip the actual call
iex> :ok
:ok