PATCH
/
v1
/
voucher
/
redeem-and-withdraw

Authorizations

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

Body

application/json
cryptoAddress
string
required

Must be provided along with newtwork. The crypto wallet address on the provided network, to which crypto equivalent will be sent

currency
enum<string>
required

Cryptocurrency to send to the provided wallet details

Available options:
USDC,
USDT
email
string
required

Email that was used to create the voucher

network
string
required

Supported crypto network

voucherCode
string
required

Voucher code to be redeemed

merchantFee
string

In USD (optional) with a precision of 2 decimal places (max). Can be supplied if the merchant want to withdraw a portion of the voucher amount into their Ventogram balance. This must be a fraction or all of voucher value (ie received amount - voucher fee)

rateKey
string

This is a Ventogram-signed rate key. This will be returned in response if the signed rate was used for conversion.

Response

200 - application/json
data
object
message
string
success
boolean