Skip to main content
depositCashBalance When you’re ready to move money into your Fluz account, you can deposit funds into the following three balances:
  1. Cash balance- A regular cash balance deposit.
  2. Gift card balance- A non-withdrawable deposit for gift card balance.
  3. Reserve balance - A deposit held in reserve balance.

Make a Deposit

To deposit funds into one of your Fluz balances, use the depositCashBalance mutation. This mutation accepts an input object type of DepositCashBalanceInput, which allows you to specify the following details:
  1. Amount: Required - The amount you wish to deposit.
  2. idempotencyKey: Required - A unique client-generated UUID to ensure a request is processed only once.
  3. 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 getWallet query.
    1. bankAccountId - If you want to pay with a bank account, define the bank account ID in the depositCashBalance mutation.
    2. bankCardId - If you want to pay with a bank card, define the bank card ID in the depositCashBalance mutation.
    3. paypalVaultID - If you want to pay with a PayPal account, define the PayPal account ID in the depositCashBalance mutation.
  4. Deposit Destination: The balance where you want to deposit your funds. The available options for this are defined in the CashBalanceDepositType enumerator:
    1. CASH_BALANCE
    2. GIFT_CARD_BALANCE
    3. RESERVE_BALANCE
  5. 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 getMccList to retrieve a list of valid MCCs.
  6. userCashBalanceId - If CASH_BALANCEis selected, you can specify the cash balance (spend account) to deposit your funds
  7. memo* - If you want to attach a note to this transaction, provide a free-text memo here. Max 255 characters.
  8. 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.
  9. 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 the depositCashBalance 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.