voucher_short

 voucher response data object

Name

Type

Description

id

String

The ID of the retrieved voucher

number

String

The number of the retrieved voucher

valueNumberThe value of the retrieved voucher
extra_added_valueNumber

The extra added value of the retrieved voucher

From CRM.COM R14.0.0 and onwards this information is only available if the voucher type classification is "Payment Voucher"

life_cycle_state

String

The life cycle state of the retrieved voucher which can be DRAFT, ACCEPTED_FOR_ACTIVATION, NOT_ACCEPTED_FOR_ACTIVATION, ACTIVATED, USED, CANCELLED, PURGED

From CRM.COM R14.0.0 and onwards the applicable life cycle state of the retrieved voucher of type with classification "Refund Voucher" can be ACTIVATED, USED, PURGED

typeVoucher Type objectThe type information of the retrieved voucher
lotVouchers Lot Object

The lot of the retrieved voucher

From CRM.COM R14.0.0 and onwards this information is available only if the voucher type classification is "Payment Voucher"

 

Referred Objects Response Data

 voucher_type response data object
NameType Description
IdStringThe ID of the retrieved voucher type
nameStringThe Name of the retrieved voucher type
alternative_codeStringThe Alternative Code of the retrieved voucher type
value_optionsString

Defines if the value should be fixed, as defined in the voucher type, or a variable, as defined during the creation of the vouchers. The supported options are FIXED and VARIABLE

From CRM.COM R13.1.0 and onwards for voucher types of classification equal to "Electronic Voucher" the supported option is VARIABLE

From CRM.COM R14.0.0 and onwards for voucher types of classification equal to "Refund Voucher" the supported option is VARIABLE

classificationString

The Classification of the retrieved voucher type

Available from CRM.COM R13.1.0

descriptionStringThe Description of the retrieved voucher type

 lot response data object
NameType Description
IdStringThe ID of the retrieved lot
numberStringThe number of the retrieved lot
alternative_codeStringThe alternative code of the retrieved lot
descriptionStringThe description of the retrieved lot