| Field name | Data type | Options |
|---|---|---|
| recipientName | string | mandatory |
| recipientPhoneNumber | string | mandatory |
| recipientccy | string | mandatory |
| amount | integer | mandatory |
| callBackUrl | string | mandatory |
curl --location --request POST 'https://auth.zamupay.com/v1/airtime-purchase' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"originatorConversationId": "string",
"callbackURL": "http://example.com",
"recipients": [
{
"currencyCode": "string",
"phoneNumber": "string",
"amount": 0,
"name": "string"
}
]
}'{}