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 aDepositCashBalanceResponse, including:
cashBalanceDeposits— Deposit records created for this redemptionbalances— Updated user balances after redemption
The redeemed value is credited tobalances.giftCardCashBalance(notcashBalance).
Sample Mutation
Variables
cURL Example
Behavior
- Balance destination — Funds are credited to
giftCardCashBalance. - Idempotency — Duplicate requests with the same
idempotencyKeyare rejected while in-flight. - Whitespace handling — Leading/trailing spaces in
codeare trimmed automatically. - Fees — Any activation fee is reflected in
depositFee. - Settlement — Redemptions are instant (
INSTANT,AVAILABLE).