Collect & Onramp
Redeem and withdraw
Redeems an existing unused voucher and transfers crypto to the provided wallet address
PATCH
/
v1
/
voucher
/
redeem-and-withdraw
Authorizations
X-Api-User
string
headerrequiredX-Api-Key
string
headerrequiredBody
application/json
email
string
requiredEmail that was used to create the voucher
voucherCode
string
requiredVoucher code to be redeemed
network
string
requiredSupported crypto network
currency
enum<string>
requiredCryptocurrency to send to the provided wallet details
Available options:
USDC
, USDT
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)
cryptoAddress
string
requiredMust be provided along with newtwork. The crypto wallet address on the provided network, to which crypto equivalent will be sent
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
success
boolean
message
string
data
object