v1

latestOpenAPI 3.1.02026-07-26290731.0 KB

Create Voucher (E pins)

post/vouchers/generateVoucher

Headers

Authorizationstring required
Content-Typestring required
TerminalIDstring required

your terminal ID

Request body

customerIdstring required

This is the id of the customer who is trying to create the voucher

amountinteger required

This is the amount of voucher that needs to be created

typestring required

This is the type of voucher been created (Gift or Recharge)

ExpiryDatestring date required

This is the expiry date of the voucher

Response

200