Adyen · Capability

Adyen Checkout API — Captures

Adyen Checkout API — Captures. 1 operations. Lead operation: Adyen Capture an Authorised Payment. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenCaptures

What You Can Do

POST
Postpaymentspaymentpspreferencecaptures — Adyen Capture an Authorised Payment
/v1/payments/{paymentpspreference}/captures

MCP Tools

adyen-capture-authorised-payment

Adyen Capture an Authorised Payment

Capability Spec

checkout-captures.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Checkout API — Captures
  description: 'Adyen Checkout API — Captures. 1 operations. Lead operation: Adyen Capture an Authorised Payment. Self-contained
    Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - Captures
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: checkout-captures
    baseUri: https://checkout-test.adyen.com/v71
    description: Adyen Checkout API — Captures business capability. Self-contained, no shared references.
    resources:
    - name: payments-paymentPspReference-captures
      path: /payments/{paymentPspReference}/captures
      operations:
      - name: postpaymentspaymentpspreferencecaptures
        method: POST
        description: Adyen Capture an Authorised Payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: paymentPspReference
          in: path
          type: string
          description: The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference)
            of the payment that you want to capture.
          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: checkout-captures-rest
    port: 8080
    description: REST adapter for Adyen Checkout API — Captures. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/payments/{paymentpspreference}/captures
      name: payments-paymentpspreference-captures
      description: REST surface for payments-paymentPspReference-captures.
      operations:
      - method: POST
        name: postpaymentspaymentpspreferencecaptures
        description: Adyen Capture an Authorised Payment
        call: checkout-captures.postpaymentspaymentpspreferencecaptures
        with:
          paymentPspReference: rest.paymentPspReference
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-captures-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Checkout API — Captures. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: adyen-capture-authorised-payment
      description: Adyen Capture an Authorised Payment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: checkout-captures.postpaymentspaymentpspreferencecaptures
      with:
        paymentPspReference: tools.paymentPspReference
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.