Skip to main content
POST
Create a new voucher payment

Authorizations

X-Api-User
string
header
required
X-Api-Key
string
header
required

Body

application/json
email
string
required

User email

fullname
string
required

Fullname of the user creating voucher

amount
integer<int32>
required

Required voucher amount

currency
enum<string>
required

Required voucher currency

Available options:
NGN,
GHS
rateKey
string

This is a Ventogram-signed rate key. If provided when a voucher is created, the conversion will use the rate signed with this key if it is valid at the time of redeeming a voucher. Conversion will use the current rate if key has expired.

Response

successful operation

success
enum<boolean>
Available options:
true
message
string
data
object