POST
/
v1
/
vouchers
curl --request POST \
  --url https://staging-vouchers.ventogram.com/api/v1/vouchers \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Api-User: <api-key>' \
  --data '{
  "email": "<string>",
  "fullname": "<string>",
  "amount": 123,
  "currency": "NGN",
  "rateKey": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>"
  }
}

Authorizations

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

Body

application/json

Response

201
application/json

successful operation

The response is of type object.