Adyen · Capability

Adyen Configuration API — Sweeps

Adyen Configuration API — Sweeps. 5 operations. Lead operation: Adyen Get All Sweeps for a Balance Account. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenSweeps

What You Can Do

GET
Getbalanceaccountsbalanceaccountidsweeps — Adyen Get All Sweeps for a Balance Account
/v1/balanceaccounts/{balanceaccountid}/sweeps
POST
Postbalanceaccountsbalanceaccountidsweeps — Adyen Create a Sweep
/v1/balanceaccounts/{balanceaccountid}/sweeps
DELETE
Deletebalanceaccountsbalanceaccountidsweepssweepid — Adyen Delete a Sweep
/v1/balanceaccounts/{balanceaccountid}/sweeps/{sweepid}
GET
Getbalanceaccountsbalanceaccountidsweepssweepid — Adyen Get a Sweep
/v1/balanceaccounts/{balanceaccountid}/sweeps/{sweepid}
PATCH
Patchbalanceaccountsbalanceaccountidsweepssweepid — Adyen Update a Sweep
/v1/balanceaccounts/{balanceaccountid}/sweeps/{sweepid}

MCP Tools

adyen-get-all-sweeps-balance

Adyen Get All Sweeps for a Balance Account

read-only idempotent
adyen-create-sweep

Adyen Create a Sweep

adyen-delete-sweep

Adyen Delete a Sweep

idempotent
adyen-get-sweep

Adyen Get a Sweep

read-only idempotent
adyen-update-sweep

Adyen Update a Sweep

idempotent

Capability Spec

configuration-sweeps.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Configuration API — Sweeps
  description: 'Adyen Configuration API — Sweeps. 5 operations. Lead operation: Adyen Get All Sweeps for a Balance Account.
    Self-contained Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - Sweeps
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: configuration-sweeps
    baseUri: https://balanceplatform-api-test.adyen.com/bcl/v2
    description: Adyen Configuration API — Sweeps business capability. Self-contained, no shared references.
    resources:
    - name: balanceAccounts-balanceAccountId-sweeps
      path: /balanceAccounts/{balanceAccountId}/sweeps
      operations:
      - name: getbalanceaccountsbalanceaccountidsweeps
        method: GET
        description: Adyen Get All Sweeps for a Balance Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: balanceAccountId
          in: path
          type: string
          description: The unique identifier of the balance account.
          required: true
        - name: offset
          in: query
          type: integer
          description: The number of items that you want to skip.
        - name: limit
          in: query
          type: integer
          description: The number of items returned per page, maximum 100 items. By default, the response returns 10 items
            per page.
      - name: postbalanceaccountsbalanceaccountidsweeps
        method: POST
        description: Adyen Create a Sweep
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: balanceAccountId
          in: path
          type: string
          description: The unique identifier of the balance account.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: balanceAccounts-balanceAccountId-sweeps-sweepId
      path: /balanceAccounts/{balanceAccountId}/sweeps/{sweepId}
      operations:
      - name: deletebalanceaccountsbalanceaccountidsweepssweepid
        method: DELETE
        description: Adyen Delete a Sweep
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: balanceAccountId
          in: path
          type: string
          description: The unique identifier of the balance account.
          required: true
        - name: sweepId
          in: path
          type: string
          description: The unique identifier of the sweep.
          required: true
      - name: getbalanceaccountsbalanceaccountidsweepssweepid
        method: GET
        description: Adyen Get a Sweep
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: balanceAccountId
          in: path
          type: string
          description: The unique identifier of the balance account.
          required: true
        - name: sweepId
          in: path
          type: string
          description: The unique identifier of the sweep.
          required: true
      - name: patchbalanceaccountsbalanceaccountidsweepssweepid
        method: PATCH
        description: Adyen Update a Sweep
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: balanceAccountId
          in: path
          type: string
          description: The unique identifier of the balance account.
          required: true
        - name: sweepId
          in: path
          type: string
          description: The unique identifier of the sweep.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ADYEN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: configuration-sweeps-rest
    port: 8080
    description: REST adapter for Adyen Configuration API — Sweeps. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/balanceaccounts/{balanceaccountid}/sweeps
      name: balanceaccounts-balanceaccountid-sweeps
      description: REST surface for balanceAccounts-balanceAccountId-sweeps.
      operations:
      - method: GET
        name: getbalanceaccountsbalanceaccountidsweeps
        description: Adyen Get All Sweeps for a Balance Account
        call: configuration-sweeps.getbalanceaccountsbalanceaccountidsweeps
        with:
          balanceAccountId: rest.balanceAccountId
          offset: rest.offset
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postbalanceaccountsbalanceaccountidsweeps
        description: Adyen Create a Sweep
        call: configuration-sweeps.postbalanceaccountsbalanceaccountidsweeps
        with:
          balanceAccountId: rest.balanceAccountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/balanceaccounts/{balanceaccountid}/sweeps/{sweepid}
      name: balanceaccounts-balanceaccountid-sweeps-sweepid
      description: REST surface for balanceAccounts-balanceAccountId-sweeps-sweepId.
      operations:
      - method: DELETE
        name: deletebalanceaccountsbalanceaccountidsweepssweepid
        description: Adyen Delete a Sweep
        call: configuration-sweeps.deletebalanceaccountsbalanceaccountidsweepssweepid
        with:
          balanceAccountId: rest.balanceAccountId
          sweepId: rest.sweepId
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getbalanceaccountsbalanceaccountidsweepssweepid
        description: Adyen Get a Sweep
        call: configuration-sweeps.getbalanceaccountsbalanceaccountidsweepssweepid
        with:
          balanceAccountId: rest.balanceAccountId
          sweepId: rest.sweepId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchbalanceaccountsbalanceaccountidsweepssweepid
        description: Adyen Update a Sweep
        call: configuration-sweeps.patchbalanceaccountsbalanceaccountidsweepssweepid
        with:
          balanceAccountId: rest.balanceAccountId
          sweepId: rest.sweepId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: configuration-sweeps-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Configuration API — Sweeps. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: adyen-get-all-sweeps-balance
      description: Adyen Get All Sweeps for a Balance Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-sweeps.getbalanceaccountsbalanceaccountidsweeps
      with:
        balanceAccountId: tools.balanceAccountId
        offset: tools.offset
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-create-sweep
      description: Adyen Create a Sweep
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: configuration-sweeps.postbalanceaccountsbalanceaccountidsweeps
      with:
        balanceAccountId: tools.balanceAccountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-delete-sweep
      description: Adyen Delete a Sweep
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: configuration-sweeps.deletebalanceaccountsbalanceaccountidsweepssweepid
      with:
        balanceAccountId: tools.balanceAccountId
        sweepId: tools.sweepId
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-get-sweep
      description: Adyen Get a Sweep
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: configuration-sweeps.getbalanceaccountsbalanceaccountidsweepssweepid
      with:
        balanceAccountId: tools.balanceAccountId
        sweepId: tools.sweepId
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-update-sweep
      description: Adyen Update a Sweep
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: configuration-sweeps.patchbalanceaccountsbalanceaccountidsweepssweepid
      with:
        balanceAccountId: tools.balanceAccountId
        sweepId: tools.sweepId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.