string
required
Bearer token with
marketing:read scopeRequest body
string
required
The voucher code to validate
integer
required
The order amount in minor units (cents)
string
3-letter ISO currency code (for currency matching)
string
Customer ID (for non-transferable voucher ownership check)
Response
boolean
Whether the voucher is valid for this transaction
string
Error code if invalid
string
Human-readable error message if invalid
object
Voucher details if valid
object
Calculation breakdown showing coverage
Error codes
Request
Response (Valid - Partial Coverage)
Response (Valid - Full Coverage)
Response (Invalid)