Adyen · Capability

Adyen Checkout API — paymentLinks

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

Run with Naftiko AdyenpaymentLinks

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-paymentlinks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Checkout API — paymentLinks
  description: 'Adyen Checkout API — paymentLinks. 3 operations. Lead operation: Adyen Create a Payment Link. Self-contained
    Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - paymentLinks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: checkout-paymentlinks
    baseUri: https://checkout-test.adyen.com/v71
    description: Adyen Checkout API — paymentLinks 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-paymentlinks-rest
    port: 8080
    description: REST adapter for Adyen Checkout API — paymentLinks. 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-paymentlinks.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-paymentlinks.getpaymentlinkslinkid
        with:
          linkId: rest.linkId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchpaymentlinkslinkid
        description: Adyen Update the Status of a Payment Link
        call: checkout-paymentlinks.patchpaymentlinkslinkid
        with:
          linkId: rest.linkId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-paymentlinks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Checkout API — paymentLinks. 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-paymentlinks.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-paymentlinks.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-paymentlinks.patchpaymentlinkslinkid
      with:
        linkId: tools.linkId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.