Loading...
Loading...
A Balance in Quiltt represents the amount of money currently available on a specific Account. Account Balances are typically updated automatically as part of the regular Connection sync flow.
For payment-related use-cases, you can also trigger a real-time balance refresh to have the underlying provider fetch the latest data from the connected institution. You can see how the real-time balance feature works in the video below:
Note that in Production, triggering real-time balance checks will usually incur a small fee per API call. Please refer to your Quiltt agreement for more information.
Profile GraphQL API Reference
Profile GraphQL API Reference
Balances are available on all Accounts in Quiltt. For example, we can fetch the latest balance for all accounts on a profile with the below query:
POSThttps://api.quiltt.io/v1/accounts/{accountId}/balances/refreshYou can trigger a real-time balance refresh by calling the Trigger a Balance Refresh Platform API endpoint.
Successful requests will return a 202 Accepted status code and trigger a refresh from the underlying provider. As soon as new balance information is available, Quiltt will fire the balance.created event with the new balance data.
Events triggered by real-time balance refreshes can be identified by checking the source field, which will be set to "REFRESH".
Represents an Account Balance.
id:string<global_id-v1>requiredThe ID of the Balance.
accountId:string<global_id-v1>requiredThe ID of the Account.
at:string<date-time>requiredThe timestamp of the Account Balance record.
source:stringrequiredThe source of the Balance data.
Note that this enum is extensible and new values may be added over time.
INITIAL - Initial value from the provider.SYNC - Regular sync with the provider.REFRESH - Provider response from a triggered Refresh Balance call.INITIAL SYNC REFRESH available:number<double> | nullrequiredThe amount of funds accounting for pending Transactions.
current:number<double> | nullrequiredThe amount of funds based on posted Transactions.
limit:number<double> | nullrequiredThe amount of funds that may be overdraft or spent on credit.
balance.createdYou can subscribe to new balance data by listening to the balance.created webhook. This event fires anytime new balance information is obtained for an Account.
The webhook will include the balance.created event type and the new Balance information: