Gift cards

A container for the gift card information.

Field Type Required Description
cvc String (error)

If you choose to ask your shopper for the PIN while making the payment.

Use this field to enter the gift card PIN.

expiryMonth String (tick)

The gift card expiry month.

Format: 2 digits, zero-padded for single digits. For example:

  • 03 = March
  • 11 = November

If the card does not contain this value, you can pass dummy values to fulfil the requirement.

expiryYear String (tick)

The gift card expiry year.

Format: 4 digits. For example, 2018.

If the card does not contain this value, you can pass a dummy value to fulfil the requirement.

holderName String (tick) The name of the gift card holder.
number String (tick)

The gift card number. Do not use any separators.

  • Min. length: 4 characters
  • Max. length: 19 characters

additionalData

Class (error)

Additional data container.

Contains:

  • Key
  • Value

Use this object to deactivate a gift card.

Key

String (error) Expected value: stored_value_redemption_type
Value String (error) Expected value: deactivate