Send airtime
africastalking_send_airtimeWRITE: top up mobile airtime for up to 25 phone numbers. Spends account credit immediately and cannot be reversed. Needs confirm=true after the user approved each number and amount. Amounts are in the given ISO currency (e.g. KES, UGX, TZS). Pass an idempotency_key to make a retry safe. Returns per-number status and requestId (use africastalking_find_airtime_transaction to follow up). POST /version1/airtime/send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Set it only after the user has explicitly approved this exact send (recipients, text/amount); it spends account credit. | |
| recipients | Yes | ||
| idempotency_key | No | Optional unique key (8-100 chars) for this send; the same key makes Africa's Talking ignore a duplicate request. |