Skip to main content
Automate internal fund transfers by configuring sweeps, in the same manner as setting up scheduled payouts. A sweep automatically pushes out or pulls in funds from a balance account based on a pre-defined schedule, amount, and source or destination. For more information, refer to How sweeps work. Configure a push or pull sweep depending on the scenario. For example, to maintain balances, you can set up a pull sweep to pull funds from another balance account when the balance goes below a certain amount. This page explains how to configure sweeps to schedule automatic transfers between balance accounts.

How sweeps work

Sweeps are configured on a balance account. The configuration includes the type of the sweep and conditions, such as the schedule when the sweep is evaluated or a trigger amount. The type dictates the direction of the funds: push to push funds out of the balance account to a destination that you specify, or pull to pull funds in to the balance account from a source that you specify. You can also set sweep conditions such as:
  • Transfer the entire available amount or a fixed amount.
  • Maintain an amount on the balance account.
  • Set an amount that triggers the sweep.
When the conditions for the sweep are met, it triggers a transfer request. Adyen sends webhooks to your server when a transfer request results from a sweep.

Requirements

Before you begin, take into account the following requirements and preparations:

Create a custom payout schedule

Configure sweeps by using your Customer Area, or making a POST /balanceAccounts/{balanceAccountId}/sweeps request. In this example, we will use a push sweep to push funds out of a balance account.
To configure a scheduled funds transfer in your Customer Area:
  1. Go to Accounts & balances > Account holders, and search for the account holder.
  2. Open the Balance accounts tab and select the relevant Balance account ID.
  3. Under Scheduled transfers, select Add a schedule.
  4. Choose Pay out to another account as the transfer type, and select Continue.
  5. Enter and verify the required configuration details in their respective fields.
  6. Select Next to schedule.
  7. If you are setting up a schedule to transfer all available funds from the balance account, select Set a custom time to send a payout.
  8. Enter and verify the following configuration details in their respective fields.
  9. Review the information that you provided.
  10. Select Add.
The details of your scheduled transfer are shown under Scheduled transfers.The following example shows how to enter the configuration details if you want to maintain a balance while transferring funds on a schedule.You have two balance accounts, balance account 1 and balance account 2, which you use for different purposes. On balance account 1, you want to maintain a balance of USD 200. To do this, you want to check every Wednesday at 9:30 AM if the funds in balance account 1 have exceeded USD 250, and transfer the excess to balance account 2.The following table shows the details you must enter for this case.