getUserCashBalances- retrieves a list of all your spend accounts.getUserCashBalanceById- retrieves a specific spend account based on it’s id value.
Spend Account details
TheUserCashBalanceDetails object will contain important information about the spend account.
Retrieve the Spend Account List
To obtain a list of spend accounts created on your account, use thegetUserCashBalances query. This call returns a list of spend accounts with basic details, including the userCashBalanceId. You will need this ID to retrieve a specific spend account through getuserCashBalanceById.
Variables
Sample Request
Please note that due to rate-limiting, you might need to paginate and call the spend account list a few times.
Sample Response
The response will contain a list of spend accountsJSON
Filter Options
Example - Get only
ACTIVE spend accounts
Pagination
Example - Page 1:
Retrieve a specific Spend Account
To obtain a specific spend account created on your account, use thegetUserCashBalanceById query. This call returns this spend account’s details, including the userCashBalanceId & it’s balances.
Variables
Sample Request
Sample Response
The response will contain a specific spend account’s detailsJSON