Global Payments · Capability

Global Payments Unified Payments API — Payment Methods

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

Run with Naftiko Global PaymentsPayment Methods

What You Can Do

GET
Listpaymentmethods — List payment methods
/v1/payment-methods
POST
Createpaymentmethod — Store a payment method
/v1/payment-methods

MCP Tools

list-payment-methods

List payment methods

read-only idempotent
store-payment-method

Store a payment method

Capability Spec

unified-payments-payment-methods.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Global Payments Unified Payments API — Payment Methods
  description: 'Global Payments Unified Payments API — Payment Methods. 2 operations. Lead operation: List payment methods.
    Self-contained Naftiko capability covering one Global Payments business surface.'
  tags:
  - Global Payments
  - Payment Methods
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GLOBAL_PAYMENTS_API_KEY: GLOBAL_PAYMENTS_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-payments-payment-methods
    baseUri: https://apis.globalpay.com
    description: Global Payments Unified Payments API — Payment Methods business capability. Self-contained, no shared references.
    resources:
    - name: payment-methods
      path: /payment-methods
      operations:
      - name: listpaymentmethods
        method: GET
        description: List payment methods
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createpaymentmethod
        method: POST
        description: Store a payment method
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GLOBAL_PAYMENTS_API_KEY}}'
  exposes:
  - type: rest
    namespace: unified-payments-payment-methods-rest
    port: 8080
    description: REST adapter for Global Payments Unified Payments API — Payment Methods. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/payment-methods
      name: payment-methods
      description: REST surface for payment-methods.
      operations:
      - method: GET
        name: listpaymentmethods
        description: List payment methods
        call: unified-payments-payment-methods.listpaymentmethods
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpaymentmethod
        description: Store a payment method
        call: unified-payments-payment-methods.createpaymentmethod
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-payments-payment-methods-mcp
    port: 9090
    transport: http
    description: MCP adapter for Global Payments Unified Payments 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: unified-payments-payment-methods.listpaymentmethods
      outputParameters:
      - type: object
        mapping: $.
    - name: store-payment-method
      description: Store a payment method
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: unified-payments-payment-methods.createpaymentmethod
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.