- Cash balance- A regular cash balance deposit.
- Gift card balance- A non-withdrawable deposit for gift card balance.
- Reserve balance - A deposit held in reserve balance.
Make a Deposit
To deposit funds into one of your Fluz balances, use thedepositCashBalance mutation. This mutation accepts an input object type of DepositCashBalanceInput, which allows you to specify the following details:
- Amount: Required - The amount you wish to deposit.
- idempotencyKey: Required - A unique client-generated UUID to ensure a request is processed only once.
- Funding Source: The payment method from which the deposit will be made (e.g., bank account, credit or debit card, PayPal). In order to get your funding source’s ID, use the
getWalletquery.bankAccountId- If you want to pay with a bank account, define the bank account ID in thedepositCashBalancemutation.bankCardId- If you want to pay with a bank card, define the bank card ID in thedepositCashBalancemutation.paypalVaultID- If you want to pay with a PayPal account, define the PayPal account ID in thedepositCashBalancemutation.
- Deposit Destination: The balance where you want to deposit your funds. The available options for this are defined in the
CashBalanceDepositTypeenumerator:CASH_BALANCEGIFT_CARD_BALANCERESERVE_BALANCE
- Merchant Category Code: Only applies for GIFT_CARD_BALANCE. A four-digit number that classifies a business by the type of products or services it offers. Use
getMccListto retrieve a list of valid MCCs. userCashBalanceId- IfCASH_BALANCEis selected, you can specify the cash balance (spend account) to deposit your fundsmemo* - If you want to attach a note to this transaction, provide a free-text memo here. Max 255 characters.transactionCategory- If you want to categorize this transaction, provide a category name. Categories are created automatically on first use and reused if the same name is passed again.attachmentId- If you want to attach a file to this transaction, provide the ID returned by the upload endpoint. See Add Expense Details. 📘 See Add Expense Details for full details on uploading attachments and working with memos and categories.
Sample Request
graphql
DepositCashBalanceInput
Sample Response
Deposit Response
Once you initiate a deposit with thedepositCashBalance mutation, you will get a response providing details about the deposit.
The
CashBalanceDeposit object will contain important information about the deposit you initiated.
📘 Please note Deposits may settle instantly or within 2-5 business days. To learn how settlement times are calculated, read this article.