transferInternalBalance mutation.
This transfers between your own spend accounts.A spend account is a cash balance account (the
UserCashBalance type). This mutation moves funds from one of your spend accounts to another. To send funds to a different Fluz user, use Transfer to Another Fluz Account instead.Transfer Funds Between Spend Accounts
To move funds from one spend account to another, use thetransferInternalBalance mutation. It takes a TransferInternalBalanceInput input object identifying the source spend account, the destination spend account, and the amount.
TransferInternalBalanceInput
Both IDs must be your own spend accounts.
Use Get Spend Accounts to look up theuserCashBalanceId for each spend account. The source and destination must be two different spend accounts, and the source must have enough available balance to cover the transfer.Sample Request
GraphQLExample Input
In this example, $6.00 moves from the source spend account into the destination spend account. JSONSample Response
Understanding the Response
An internal transfer is recorded as two linked movements: a withdraw from the source spend account and a deposit into the destination spend account. The response returns both.cashBalanceDeposit
ThecashBalanceDeposit object contains details about the deposit into the destination spend account.
withdraw
Thewithdraw object contains details about the withdrawal from the source spend account.