Skip to main content

Documentation Portal

Merchant.VoucherValidationResponse

Parameter Name

Type

Description

Mandatory

CartToken

String

CartToken returned from the new SendCart / SendCartV2 API call, executed after the voucher has been applied to the respective user’s basket

IsVoucherValid

Boolean

Indicates if the voucher is valid.

TRUE - Voucher is valid.

FALSE - Voucher is not valid.

ValidationFaliureMessage

String

Error message in case voucher is not valid

VoucherRestrictions

List of Merchant.VoucherValidationRestriction

List of validation restrictions applied to vouchers

VoucherType

Decimal

Enumeration of VoucherTypes:

1 - DiscountVoucher