Apple Pay · Capability

Apple Pay Payment Token API — Payment Processing

Apple Pay Payment Token API — Payment Processing. 1 operations. Lead operation: Process an Apple Pay payment. Self-contained Naftiko capability covering one Apple Pay business surface.

Run with Naftiko Apple PayPayment Processing

What You Can Do

POST
Processapplepaypayment — Process an Apple Pay payment
/v1/payments/apple-pay

MCP Tools

process-apple-pay-payment

Process an Apple Pay payment

Capability Spec

payment-token-payment-processing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apple Pay Payment Token API — Payment Processing
  description: 'Apple Pay Payment Token API — Payment Processing. 1 operations. Lead operation: Process an Apple Pay payment.
    Self-contained Naftiko capability covering one Apple Pay business surface.'
  tags:
  - Apple Pay
  - Payment Processing
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APPLE_PAY_API_KEY: APPLE_PAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: payment-token-payment-processing
    baseUri: https://{merchantServer}
    description: Apple Pay Payment Token API — Payment Processing business capability. Self-contained, no shared references.
    resources:
    - name: payments-apple-pay
      path: /payments/apple-pay
      operations:
      - name: processapplepaypayment
        method: POST
        description: Process an Apple Pay payment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: payment-token-payment-processing-rest
    port: 8080
    description: REST adapter for Apple Pay Payment Token API — Payment Processing. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/payments/apple-pay
      name: payments-apple-pay
      description: REST surface for payments-apple-pay.
      operations:
      - method: POST
        name: processapplepaypayment
        description: Process an Apple Pay payment
        call: payment-token-payment-processing.processapplepaypayment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: payment-token-payment-processing-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apple Pay Payment Token API — Payment Processing. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: process-apple-pay-payment
      description: Process an Apple Pay payment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-token-payment-processing.processapplepaypayment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.