Generate a new voucher purchase

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Generate a new voucher for the customer. A voucher may be of the following types:

  • Airtime Fixed
  • Airtime Variable
  • Data
  • Voice
  • SMS
  • Combo

The API will return a voucher code for the voucher, but the customer will not be able to redeem the voucher until the voucher state has been changed to CONFIRMED.

date-time
required
^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]) ([01]\d|2[0-3]):[0-5]\d:[0-5]\d$

The date and time of the basket transaction, this should be provided in the format "YYYY-MM-DD HH:mm:ss".

basket
object
merchant
object

Information about the merchant or store generating the voucher on behalf of a Distributor / Reseller.

product
object
required

Information about the product being sold from the terminal.

tender
object
required
Headers
uuid
required

The randomly generated UUID identifying this transaction.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json