naftiko: 1.0.0-alpha2 info: label: Metal API — PaymentMethods description: 'Metal API — PaymentMethods. 3 operations. Lead operation: Delete the payment method. Self-contained Naftiko capability covering one Equinix business surface.' tags: - Equinix - PaymentMethods created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EQUINIX_API_KEY: EQUINIX_API_KEY capability: consumes: - type: http namespace: metal-paymentmethods baseUri: https://api.equinix.com/metal/v1 description: Metal API — PaymentMethods business capability. Self-contained, no shared references. resources: - name: payment-methods-id path: /payment-methods/{id} operations: - name: deletepaymentmethod method: DELETE description: Delete the payment method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Payment Method UUID required: true - name: findpaymentmethodbyid method: GET description: Retrieve a payment method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Payment Method UUID required: true - name: include in: query type: array description: Nested attributes to include. Included objects will return their full - name: updatepaymentmethod method: PUT description: Update the payment method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Payment Method UUID required: true - name: include in: query type: array description: Nested attributes to include. Included objects will return their full - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Auth-Token value: '{{env.EQUINIX_API_KEY}}' placement: header exposes: - type: rest namespace: metal-paymentmethods-rest port: 8080 description: REST adapter for Metal API — PaymentMethods. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/payment-methods/{id} name: payment-methods-id description: REST surface for payment-methods-id. operations: - method: DELETE name: deletepaymentmethod description: Delete the payment method call: metal-paymentmethods.deletepaymentmethod with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: findpaymentmethodbyid description: Retrieve a payment method call: metal-paymentmethods.findpaymentmethodbyid with: id: rest.id include: rest.include outputParameters: - type: object mapping: $. - method: PUT name: updatepaymentmethod description: Update the payment method call: metal-paymentmethods.updatepaymentmethod with: id: rest.id include: rest.include body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: metal-paymentmethods-mcp port: 9090 transport: http description: MCP adapter for Metal API — PaymentMethods. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-payment-method description: Delete the payment method hints: readOnly: false destructive: true idempotent: true call: metal-paymentmethods.deletepaymentmethod with: id: tools.id outputParameters: - type: object mapping: $. - name: retrieve-payment-method description: Retrieve a payment method hints: readOnly: true destructive: false idempotent: true call: metal-paymentmethods.findpaymentmethodbyid with: id: tools.id include: tools.include outputParameters: - type: object mapping: $. - name: update-payment-method description: Update the payment method hints: readOnly: false destructive: false idempotent: true call: metal-paymentmethods.updatepaymentmethod with: id: tools.id include: tools.include body: tools.body outputParameters: - type: object mapping: $.