Skip to main content
The redeemFluzGiftCard mutation allows you to redeem a Fluz Gift Card to the authenticated user’s account using the gift card code. Successful redemption credits the user’s gift card balance (giftCardCashBalance). This mutation requires the MAKE_DEPOSIT scope.

Arguments

  • input (RedeemFluzGiftCardInput!): The input object containing the idempotency key and gift card code.

RedeemFluzGiftCardInput Fields


Response

Returns a DepositCashBalanceResponse, including:
  • cashBalanceDeposits — Deposit records created for this redemption
  • balances — Updated user balances after redemption
The redeemed value is credited to balances.giftCardCashBalance (not cashBalance).

Sample Mutation


Variables


cURL Example


Behavior

  • Balance destination — Funds are credited to giftCardCashBalance.
  • Idempotency — Duplicate requests with the same idempotencyKey are rejected while in-flight.
  • Whitespace handling — Leading/trailing spaces in code are trimmed automatically.
  • Fees — Any activation fee is reflected in depositFee.
  • Settlement — Redemptions are instant (INSTANT, AVAILABLE).

Errors