Africa's Talking icon

Africa's Talking

Send SMS, make calls, and more with Africa's Talking API

Actions5

Airtime → Send

AI-generated

Summary

Sends airtime to one or more phone numbers via the Africa's Talking API.

Inputs

  • recipients (required) — A list of recipients to send airtime to. Each recipient requires a phone number, a 3-letter ISO currency code (defaulting to KES), and an amount.

Output shape

a list of items

The operation processes items sequentially. Each item can contain multiple recipients in the 'recipients' array. The API response is parsed into JSON and returned as a list of items, one per input item (not per recipient). Errors are thrown by default unless configured to continue on failure.

Examples

Example 1: Send 100 KES to a single phone number

Set 'recipients' to a single object: { "phoneNumber": "+254711XXXYYY", "amount": "100", "currencyCode": "KES" }

Example 2: Send 500 KES and 1000 KES to two different numbers

Set 'recipients' to an array of two objects with different phone numbers and amounts.

Links

Discussion