Step 2: list all budgets
When your account is created, we automatically create a parent budget (accountBalance) for you. There is only ever one parent budget on an account, but you can have as many sub-budgets (and sub-sub-budgets) as you’d like.
Let’s get a list of your budgets, so that we can retrieve the ID of the parent budget.
200 response containing a list of all the budgets on your account. Look for the budget with the accountBalance type and make note of its id. In this example, the account is new so there is only one budget.
What if it goes wrong?
If youraccountId is incorrect or missing, you’ll receive an error like this:
400