Adyen · Capability

Adyen Checkout API — Method

Adyen Checkout API — Method. 1 operations. Lead operation: Adyen Delete a Token for Stored Payment Details. Self-contained Naftiko capability covering one Adyen business surface.

Run with Naftiko AdyenMethod

What You Can Do

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

MCP Tools

adyen-delete-token-stored-payment

Adyen Delete a Token for Stored Payment Details

idempotent

Capability Spec

checkout-method.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adyen Checkout API — Method
  description: 'Adyen Checkout API — Method. 1 operations. Lead operation: Adyen Delete a Token for Stored Payment Details.
    Self-contained Naftiko capability covering one Adyen business surface.'
  tags:
  - Adyen
  - Method
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADYEN_API_KEY: ADYEN_API_KEY
capability:
  consumes:
  - type: http
    namespace: checkout-method
    baseUri: https://checkout-test.adyen.com/v71
    description: Adyen Checkout API — Method business capability. Self-contained, no shared references.
    resources:
    - 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-method-rest
    port: 8080
    description: REST adapter for Adyen Checkout API — Method. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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-method.deletestoredpaymentmethodsstoredpaymentmethodid
        with:
          storedPaymentMethodId: rest.storedPaymentMethodId
          shopperReference: rest.shopperReference
          merchantAccount: rest.merchantAccount
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-method-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adyen Checkout API — Method. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: adyen-delete-token-stored-payment
      description: Adyen Delete a Token for Stored Payment Details
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: checkout-method.deletestoredpaymentmethodsstoredpaymentmethodid
      with:
        storedPaymentMethodId: tools.storedPaymentMethodId
        shopperReference: tools.shopperReference
        merchantAccount: tools.merchantAccount
      outputParameters:
      - type: object
        mapping: $.