Make a budget transfer
POST
/v2/budgets/{budgetId}/transferBefore you start
If you haven’t already, create a new budget and grab the newly-created budget’sid.
Things to know
- The currency must be enabled on both budgets. The currency you specify in the transfer must exist on both the source and destination budgets.
- The
amountfield is a string. Provide the amount as a string, for example"300"or"300.00". - Webhooks are triggered for both budgets. A successful transfer triggers a
BoxDebitedwebhook for the source budget and aBoxCreditedwebhook for the destination budget.
Request
Use this request to transfer funds from one budget to another, within an account.Path parameters
The ID of the account that this budget belongs to.Allowable values: An existing
accountIdRequest body schema
The ID of the budget to which you’re transferring funds.Allowable values: An existing
budgetId (≤ 36 characters)The currency code for the currency that the transfer is in, in ISO 4217 format.Allowable values: 3 characters (
^[A-Z]{3}$)The amount of funds that you’re transferring.Allowable values: A valid string
An optional reference for the transfer.Allowable values: ≤ 18 characters (alphanumeric and basic punctuation)
Response
If your request is successful, you’ll receive a200 response.
Error responses
If your request is unsuccessful, you’ll receive one of the following error responses.404 — Source budget not found
404 — Destination budget not found
400 — Cannot transfer to/from forwardDeposits budget