load_airtime
Send airtime to a specified phone number, save the transaction, and receive confirmation using Africa's Talking API. Requires phone number, amount, and currency code.
Instructions
Load airtime to a specified telephone number and save the transaction.
Args:
phone_number: The phone number to send airtime to
amount: The amount of airtime to send
currency_code: The currency code
Returns:
A message indicating success or failure
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | ||
currency_code | Yes | ||
phone_number | Yes |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"title": "Amount",
"type": "number"
},
"currency_code": {
"title": "Currency Code",
"type": "string"
},
"phone_number": {
"title": "Phone Number",
"type": "string"
}
},
"required": [
"phone_number",
"amount",
"currency_code"
],
"title": "load_airtimeArguments",
"type": "object"
}