AirtelMoney.Balance (airtel_money v0.1.0)

Copy Markdown View Source

Module for Airtel Money Balance API.

Allows querying the account balance.

Summary

Functions

Queries the account balance.

Functions

query()

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

Queries the account balance.

Examples

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