Developers

Vend airtime and tokens from your own app.

The Xash Vend API is a REST API for Zimbabwe: airtime, data bundles, ZESA electricity tokens, DStv payments, WiFi vouchers, wallet operations and reports. Built for partner apps and integrators.

A ZESA token sale REST
  1. 01 Look up the meter

    You send: meter number

    Xash returns: customer details to confirm

  2. 02 Buy the token

    You send: meter number, amount

    Xash returns: token number, kWh

  3. 03 Check the wallet

    Xash returns: balance and transaction history

The steps of a sale, not live code. Endpoints, field names and authentication are in the docs.

What the API covers

One API for everything an agent sells.

Airtime and bundles

Direct top-up and vouchers for Econet, NetOne and Telecel, plus data, SMS and voice bundles.

ZESA tokens

Meter lookup and prepaid electricity token purchase, with the token and kWh in the response.

DStv

Smartcard lookup, package list, payment and package changes, where supported.

WiFi vouchers

Equal WiFi PIN voucher vending.

Wallet and reports

Balances, transfers, transaction history and reporting endpoints.

Full reference

Authentication, sandbox details and every endpoint.

docs.xash.co.zw

Availability can vary by network and provider.

Building something with Xash?

Tell us what your app does and which services it needs, and we'll help you plan the integration.