Vouchers
Validate if the voucher exists and is ready for being used.
The voucher object
ATTRIBUTES
Field
Type
Description
id
string
Unique identifier for the object.
value
integer
A positive integer in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency.
currency
string
Three-letter ISO currency code (ISO-4217). Must be a supported currency.
bundle
boolean
true if voucher is a bundle voucher.
created_at
integer
Time at which the object was created. Measured in seconds since the Unix epoch.
expires_at
int
Time at which the voucher will be expired. Measured in seconds since the Unix epoch.
Good to know: See how to validate a voucher directly at Authentication
Last updated