curl --request POST \
--url https://wallet.wearemarz.com/api/v1/airtime-data \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"reference": "550e8400-e29b-41d4-a716-446655440000",
"purchase_type": "airtime",
"msisdn": "256771234567",
"amount": 5000
}
'{
"status": "error",
"message": "<string>",
"error_code": "VALIDATION_ERROR",
"errors": {}
}Airtime & data
Purchase airtime or data bundle
No merchant webhooks - poll GET /airtime-data/ for pending Airtel data bundles.
POST
/
airtime-data
curl --request POST \
--url https://wallet.wearemarz.com/api/v1/airtime-data \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"reference": "550e8400-e29b-41d4-a716-446655440000",
"purchase_type": "airtime",
"msisdn": "256771234567",
"amount": 5000
}
'{
"status": "error",
"message": "<string>",
"error_code": "VALIDATION_ERROR",
"errors": {}
}Authorizations
base64(api_key:api_secret)
Body
application/json
Response
Completed synchronously

