Adyen · JSON Structure

Configuration Webhooks Sweep Configuration V2 Structure

SweepConfigurationV2 schema from Adyen API

Type: object Properties: 11 Required: 4
PaymentsFinancial-ServicesFintech

SweepConfigurationV2 is a JSON Structure definition published by Adyen, describing 11 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

counterparty currency description id reason schedule status sweepAmount targetAmount triggerAmount type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/configuration-webhooks-sweep-configuration-v2-structure.json",
  "description": "SweepConfigurationV2 schema from Adyen API",
  "type": "object",
  "properties": {
    "counterparty": {
      "description": "The destination or the source of the funds, depending on the sweep `type`.\n\nEither a `balanceAccountId`, `transferInstrumentId`, or `merchantAccount` is required.",
      "$ref": "#/components/schemas/SweepCounterparty"
    },
    "currency": {
      "description": "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) in uppercase. For example, **EUR**.\n\nThe sweep currency must match any of the [balances currencies](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__resParam_balances).",
      "type": "string"
    },
    "description": {
      "description": "The message that will be used in the sweep transfer's description body with a maximum length of 140 characters.\n\nIf the message is longer after replacing placeholders, the message will be cut off at 140 characters.",
      "type": "string"
    },
    "id": {
      "description": "The unique identifier of the sweep.",
      "type": "string"
    },
    "reason": {
      "description": "The reason for disabling the sweep.",
      "enum": [
        "amountLimitExceeded",
        "approved",
        "balanceAccountTemporarilyBlockedByTransactionRule",
        "counterpartyAccountBlocked",
        "counterpartyAccountClosed",
        "counterpartyAccountNotFound",
        "counterpartyAddressRequired",
        "counterpartyBankTimedOut",
        "counterpartyBankUnavailable",
        "declinedByTransactionRule",
        "error",
        "notEnoughBalance",
        "refusedByCounterpartyBank",
        "routeNotFound",
        "scaFailed",
        "unknown"
      ],
      "type": "string"
    },
    "schedule": {
      "description": "The schedule when the `triggerAmount` is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account.",
      "$ref": "#/components/schemas/SweepSchedule"
    },
    "status": {
      "description": "The status of the sweep. If not provided, by default, this is set to **active**.\n\nPossible values: \n\n * **active**:  the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. \n\n * **inactive**: the sweep is disabled and cannot be triggered. \n\n",
      "enum": [
        "active",
        "inactive"
      ],
      "type": "string"
    },
    "sweepAmount": {
      "description": "The amount that must be pushed out or pulled in. You can configure either `sweepAmount` or `targetAmount`, not both.",
      "$ref": "#/components/schemas/Amount"
    },
    "targetAmount": {
      "description": "The amount that must be available in the balance account after the sweep. You can configure either `sweepAmount` or `targetAmount`, not both.",
      "$ref": "#/components/schemas/Amount"
    },
    "triggerAmount": {
      "description": "The threshold amount that triggers the sweep. If not provided, by default, the amount is set to zero. The `triggerAmount` is evaluated according to the specified `schedule.type`.\n\n* For `type` **pull**, if the balance is less than or equal to the `triggerAmount`, funds are pulled in to the balance account.\n\n* For `type` **push**, if the balance is more than or equal to the `triggerAmount`, funds are pushed out of the balance account.",
      "$ref": "#/components/schemas/Amount"
    },
    "type": {
      "default": "push",
      "description": "The direction of sweep, whether pushing out or pulling in funds to the balance account. If not provided, by default, this is set to **push**.\n\nPossible values:\n\n * **push**: _push out funds_ to a destination balance account or transfer instrument.\n\n * **pull**: _pull in funds_ from a source merchant account, transfer instrument, or balance account.",
      "enum": [
        "pull",
        "push"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "schedule",
    "currency",
    "counterparty"
  ],
  "name": "SweepConfigurationV2"
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/configuration-webhooks-sweep-configuration-v2-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.