Skip to main content
Anchor to GiftCardTransactionUserErrorCode

GiftCardTransactionUserErrorCode

enum

Possible error codes that can be returned by GiftCardTransactionUserError.

Anchor to GIFT_CARD_LIMIT_EXCEEDEDGIFT_CARD_LIMIT_EXCEEDED

The gift card's value exceeds the allowed limits.

The gift card could not be found.

The gift card does not have sufficient funds to satisfy the request.

Unexpected internal error happened.

The input value is invalid.

Anchor to MISMATCHING_CURRENCYMISMATCHING_CURRENCY

The currency provided does not match the currency of the gift card.

Anchor to NEGATIVE_OR_ZERO_AMOUNTNEGATIVE_OR_ZERO_AMOUNT

A positive amount must be used.


Was this section helpful?


Was this section helpful?