Skip to main content
Anchor to GiftCardTransactionUserError

GiftCardTransactionUserError

object

Requires read_gift_card_transactions access scope.

Represents an error that happens during the execution of a gift card transaction mutation.

•GiftCardTransactionUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Adds funds to an existing gift card, increasing its available balance. Use this when a merchant wants to top up a customer's gift card — for example, as a promotional bonus, a customer service gesture, or to reload a reusable gift card.

Arguments

•ID!
required

The ID of the gift card to be credited.

•GiftCardCreditInput!
required

The input fields to credit a gift card.


•mutation

Removes funds from a gift card, decreasing its available balance. Use this for manual balance adjustments — for example, correcting an accidental over-credit or applying a fee.

Arguments

•ID!
required

The ID of the gift card to be debited.

•GiftCardDebitInput!
required

The input fields to debit a gift card.



Was this section helpful?


Was this section helpful?