Adyen · Capability

Adyen Checkout API — storedPaymentMethods

Adyen Checkout API — storedPaymentMethods. 2 operations. Lead operation: Adyen Get Tokens for Stored Payment Details. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenstoredPaymentMethods

What You Can Do

GET
Getstoredpaymentmethods — Adyen Get Tokens for Stored Payment Details
/v1/storedpaymentmethods
DELETE
Deletestoredpaymentmethodsstoredpaymentmethodid — Adyen Delete a Token for Stored Payment Details
/v1/storedpaymentmethods/{storedpaymentmethodid}

MCP Tools

adyen-get-tokens-stored-payment

Adyen Get Tokens for Stored Payment Details

read-only idempotent
adyen-delete-token-stored-payment

Adyen Delete a Token for Stored Payment Details

idempotent

Capability Spec

checkout-storedpaymentmethods.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Checkout API — storedPaymentMethods
  description: 'Adyen Checkout API — storedPaymentMethods. 2 operations. Lead operation: Adyen Get Tokens for Stored Payment
    Details. Self-contained Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - storedPaymentMethods
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: checkout-storedpaymentmethods
    baseUri: https://checkout-test.adyen.com/v71
    description: Adyen Checkout API — storedPaymentMethods business capability. Self-contained, no shared references.
    resources:
    - name: storedPaymentMethods
      path: /storedPaymentMethods
      operations:
      - name: getstoredpaymentmethods
        method: GET
        description: Adyen Get Tokens for Stored Payment Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shopperReference
          in: query
          type: string
          description: 'Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length:
            3 characters.'
        - name: merchantAccount
          in: query
          type: string
          description: Your merchant account.
    - name: storedPaymentMethods-storedPaymentMethodId
      path: /storedPaymentMethods/{storedPaymentMethodId}
      operations:
      - name: deletestoredpaymentmethodsstoredpaymentmethodid
        method: DELETE
        description: Adyen Delete a Token for Stored Payment Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: storedPaymentMethodId
          in: path
          type: string
          description: The unique identifier of the token.
          required: true
        - name: shopperReference
          in: query
          type: string
          description: 'Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length:
            3 characters.'
          required: true
        - name: merchantAccount
          in: query
          type: string
          description: Your merchant account.
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ADYEN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: checkout-storedpaymentmethods-rest
    port: 8080
    description: REST adapter for Adyen Checkout API — storedPaymentMethods. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/storedpaymentmethods
      name: storedpaymentmethods
      description: REST surface for storedPaymentMethods.
      operations:
      - method: GET
        name: getstoredpaymentmethods
        description: Adyen Get Tokens for Stored Payment Details
        call: checkout-storedpaymentmethods.getstoredpaymentmethods
        with:
          shopperReference: rest.shopperReference
          merchantAccount: rest.merchantAccount
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/storedpaymentmethods/{storedpaymentmethodid}
      name: storedpaymentmethods-storedpaymentmethodid
      description: REST surface for storedPaymentMethods-storedPaymentMethodId.
      operations:
      - method: DELETE
        name: deletestoredpaymentmethodsstoredpaymentmethodid
        description: Adyen Delete a Token for Stored Payment Details
        call: checkout-storedpaymentmethods.deletestoredpaymentmethodsstoredpaymentmethodid
        with:
          storedPaymentMethodId: rest.storedPaymentMethodId
          shopperReference: rest.shopperReference
          merchantAccount: rest.merchantAccount
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-storedpaymentmethods-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Checkout API — storedPaymentMethods. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: adyen-get-tokens-stored-payment
      description: Adyen Get Tokens for Stored Payment Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: checkout-storedpaymentmethods.getstoredpaymentmethods
      with:
        shopperReference: tools.shopperReference
        merchantAccount: tools.merchantAccount
      outputParameters:
      - type: object
        mapping: $.
    - name: adyen-delete-token-stored-payment
      description: Adyen Delete a Token for Stored Payment Details
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: checkout-storedpaymentmethods.deletestoredpaymentmethodsstoredpaymentmethodid
      with:
        storedPaymentMethodId: tools.storedPaymentMethodId
        shopperReference: tools.shopperReference
        merchantAccount: tools.merchantAccount
      outputParameters:
      - type: object
        mapping: $.