Moov · Capability

Moov API — Payment Methods

Moov API — Payment Methods. 2 operations. Lead operation: List payment methods. Self-contained Naftiko capability covering one Moov business surface.

Run with Naftiko MoovPayment Methods

What You Can Do

GET
Listpaymentmethods — List payment methods
/v1/accounts/{accountid}/payment-methods
GET
Getpaymentmethod — Retrieve a payment method
/v1/accounts/{accountid}/payment-methods/{paymentmethodid}

MCP Tools

list-payment-methods

List payment methods

read-only idempotent
retrieve-payment-method

Retrieve a payment method

read-only idempotent

Capability Spec

moov-payment-methods.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Moov API — Payment Methods
  description: 'Moov API — Payment Methods. 2 operations. Lead operation: List payment methods. Self-contained Naftiko capability
    covering one Moov business surface.'
  tags:
  - Moov
  - Payment Methods
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MOOV_API_KEY: MOOV_API_KEY
capability:
  consumes:
  - type: http
    namespace: moov-payment-methods
    baseUri: https://api.moov.io
    description: Moov API — Payment Methods business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountID-payment-methods
      path: /accounts/{accountID}/payment-methods
      operations:
      - name: listpaymentmethods
        method: GET
        description: List payment methods
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: accounts-accountID-payment-methods-paymentMethodID
      path: /accounts/{accountID}/payment-methods/{paymentMethodID}
      operations:
      - name: getpaymentmethod
        method: GET
        description: Retrieve a payment method
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MOOV_API_KEY}}'
  exposes:
  - type: rest
    namespace: moov-payment-methods-rest
    port: 8080
    description: REST adapter for Moov API — Payment Methods. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/accounts/{accountid}/payment-methods
      name: accounts-accountid-payment-methods
      description: REST surface for accounts-accountID-payment-methods.
      operations:
      - method: GET
        name: listpaymentmethods
        description: List payment methods
        call: moov-payment-methods.listpaymentmethods
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{accountid}/payment-methods/{paymentmethodid}
      name: accounts-accountid-payment-methods-paymentmethodid
      description: REST surface for accounts-accountID-payment-methods-paymentMethodID.
      operations:
      - method: GET
        name: getpaymentmethod
        description: Retrieve a payment method
        call: moov-payment-methods.getpaymentmethod
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: moov-payment-methods-mcp
    port: 9090
    transport: http
    description: MCP adapter for Moov API — Payment Methods. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-payment-methods
      description: List payment methods
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: moov-payment-methods.listpaymentmethods
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-payment-method
      description: Retrieve a payment method
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: moov-payment-methods.getpaymentmethod
      outputParameters:
      - type: object
        mapping: $.