cURL
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>" } }
Creates a new voucher payment for a user
successful operation
The response is of type object.
object