Balance
An account has two types of balances:- Available balance: The amount of funds that can be used for transactions.
- Total balance: The total amount of funds in the account, including any pending transactions.
Funding an account
There are several ways to fund an account, that is, to have its balance increased.Pull deposits
A pull deposit allows the platform to initiate the transfer of funds from the user’s external account (e.g., a credit card or linked bank account), provided the user has given authorization. Pull deposits are processed through external accounts, which must be linked and authorized by the user before the platform can pull funds. To initiate a pull deposit, create a quote where the origin is the external account and the destination is the user’s account.Push deposits
A push deposit occurs when the user sends funds from an external source to their account on the platform. To facilitate a push deposit, use the Set Up Account Deposit Method endpoint. This endpoint replies with the necessary deposit details for the user to complete the deposit from their side.From other accounts
Users can also fund their accounts by moving funds between accounts, even if they are in different assets. To do this, use the Create Quote endpoint, specifying the origin and destination accounts.Default accounts
When generating details for a push deposit using Set Up Account Deposit Method endpoint, the response may include areference field, which identifies the destination account to deposit into. If the user sends a push deposit without including the reference, the funds will be credited to the user’s default account for that asset.
Furthermore, there are cases in which rails do not support targeting a specific account for deposits. All deposits over those rails will be credited to the user’s default account for the asset.
To find out the user’s default accounts for each asset, use the List default accounts endpoint.