naftiko: 1.0.0-alpha2 info: label: Shift4 Payments API — Payment Links description: 'Shift4 Payments API — Payment Links. 2 operations. Lead operation: Create a Payment Link. Self-contained Naftiko capability covering one Shift4 Payments business surface.' tags: - Shift4 Payments - Payment Links created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SHIFT4_PAYMENTS_API_KEY: SHIFT4_PAYMENTS_API_KEY capability: consumes: - type: http namespace: shift4-payment-links baseUri: https://api.shift4.com description: Shift4 Payments API — Payment Links business capability. Self-contained, no shared references. resources: - name: payment-links path: /payment-links operations: - name: createpaymentlink method: POST description: Create a Payment Link outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: payment-links-linkId path: /payment-links/{linkId} operations: - name: getpaymentlink method: GET description: Retrieve a Payment Link outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.SHIFT4_PAYMENTS_USER}}' password: '{{env.SHIFT4_PAYMENTS_PASS}}' exposes: - type: rest namespace: shift4-payment-links-rest port: 8080 description: REST adapter for Shift4 Payments API — Payment Links. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/payment-links name: payment-links description: REST surface for payment-links. operations: - method: POST name: createpaymentlink description: Create a Payment Link call: shift4-payment-links.createpaymentlink with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/payment-links/{linkid} name: payment-links-linkid description: REST surface for payment-links-linkId. operations: - method: GET name: getpaymentlink description: Retrieve a Payment Link call: shift4-payment-links.getpaymentlink outputParameters: - type: object mapping: $. - type: mcp namespace: shift4-payment-links-mcp port: 9090 transport: http description: MCP adapter for Shift4 Payments API — Payment Links. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-payment-link description: Create a Payment Link hints: readOnly: false destructive: false idempotent: false call: shift4-payment-links.createpaymentlink with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-payment-link description: Retrieve a Payment Link hints: readOnly: true destructive: false idempotent: true call: shift4-payment-links.getpaymentlink outputParameters: - type: object mapping: $.