Adyen · Capability

Adyen Checkout API — Links

Adyen Checkout API — Links. 3 operations. Lead operation: Adyen Create a Payment Link. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenLinks

What You Can Do

POST
Postpaymentlinks — Adyen Create a Payment Link
/v1/paymentlinks
GET
Getpaymentlinkslinkid — Adyen Get a Payment Link
/v1/paymentlinks/{linkid}
PATCH
Patchpaymentlinkslinkid — Adyen Update the Status of a Payment Link
/v1/paymentlinks/{linkid}

MCP Tools

adyen-create-payment-link

Adyen Create a Payment Link

adyen-get-payment-link

Adyen Get a Payment Link

read-only idempotent
adyen-update-status-payment-link

Adyen Update the Status of a Payment Link

idempotent

Capability Spec

checkout-links.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Checkout API — Links
  description: 'Adyen Checkout API — Links. 3 operations. Lead operation: Adyen Create a Payment Link. Self-contained Naftiko
    capability covering one Adyen business surface.'
  tags:
  - Adyen
  - Links
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: checkout-links
    baseUri: https://checkout-test.adyen.com/v71
    description: Adyen Checkout API — Links business capability. Self-contained, no shared references.
    resources:
    - name: paymentLinks
      path: /paymentLinks
      operations:
      - name: postpaymentlinks
        method: POST
        description: Adyen Create a Payment Link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: paymentLinks-linkId
      path: /paymentLinks/{linkId}
      operations:
      - name: getpaymentlinkslinkid
        method: GET
        description: Adyen Get a Payment Link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: linkId
          in: path
          type: string
          description: Unique identifier of the payment link.
          required: true
      - name: patchpaymentlinkslinkid
        method: PATCH
        description: Adyen Update the Status of a Payment Link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: linkId
          in: path
          type: string
          description: Unique identifier of the payment link.
          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-links-rest
    port: 8080
    description: REST adapter for Adyen Checkout API — Links. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/paymentlinks
      name: paymentlinks
      description: REST surface for paymentLinks.
      operations:
      - method: POST
        name: postpaymentlinks
        description: Adyen Create a Payment Link
        call: checkout-links.postpaymentlinks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/paymentlinks/{linkid}
      name: paymentlinks-linkid
      description: REST surface for paymentLinks-linkId.
      operations:
      - method: GET
        name: getpaymentlinkslinkid
        description: Adyen Get a Payment Link
        call: checkout-links.getpaymentlinkslinkid
        with:
          linkId: rest.linkId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchpaymentlinkslinkid
        description: Adyen Update the Status of a Payment Link
        call: checkout-links.patchpaymentlinkslinkid
        with:
          linkId: rest.linkId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-links-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Checkout API — Links. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: adyen-create-payment-link
      description: Adyen Create a Payment Link
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: checkout-links.postpaymentlinks
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-get-payment-link
      description: Adyen Get a Payment Link
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: checkout-links.getpaymentlinkslinkid
      with:
        linkId: tools.linkId
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-update-status-payment-link
      description: Adyen Update the Status of a Payment Link
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: checkout-links.patchpaymentlinkslinkid
      with:
        linkId: tools.linkId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.