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.
{
"id": "AWUkux58D52AoRFGa7mf2A",
"value": 1000,
"currency": "USD",
"bundle": false,
"created_at": 1534255857,
"expires_at": 1549807857,
"livemode": false
}
Last updated