naftiko: 1.0.0-alpha2 info: label: Koyeb Rest API — PaymentMethods description: 'Koyeb Rest API — PaymentMethods. 5 operations. Lead operation: List payment methods. Self-contained Naftiko capability covering one Koyeb business surface.' tags: - Koyeb - PaymentMethods created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KOYEB_API_KEY: KOYEB_API_KEY capability: consumes: - type: http namespace: koyeb-paymentmethods baseUri: https://app.koyeb.com description: Koyeb Rest API — PaymentMethods business capability. Self-contained, no shared references. resources: - name: v1-payment_methods path: /v1/payment_methods operations: - name: listpaymentmethods method: GET description: List payment methods outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: string description: (Optional) The number of items to return - name: offset in: query type: string description: (Optional) The offset in the list of item to return - name: statuses in: query type: array description: (Optional) Filter on payment method statuses - name: createpaymentauthorization method: POST description: Create payment authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string required: true - name: v1-payment_methods-id path: /v1/payment_methods/{id} operations: - name: getpaymentmethod method: GET description: Get payment method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: deletepaymentmethod method: DELETE description: Delete payment method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: v1-payment_methods-id-confirm path: /v1/payment_methods/{id}/confirm operations: - name: confirmpaymentauthorization method: POST description: Confirm payment authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object required: true exposes: - type: rest namespace: koyeb-paymentmethods-rest port: 8080 description: REST adapter for Koyeb Rest API — PaymentMethods. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/payment-methods name: v1-payment-methods description: REST surface for v1-payment_methods. operations: - method: GET name: listpaymentmethods description: List payment methods call: koyeb-paymentmethods.listpaymentmethods with: limit: rest.limit offset: rest.offset statuses: rest.statuses outputParameters: - type: object mapping: $. - method: POST name: createpaymentauthorization description: Create payment authorization call: koyeb-paymentmethods.createpaymentauthorization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-methods/{id} name: v1-payment-methods-id description: REST surface for v1-payment_methods-id. operations: - method: GET name: getpaymentmethod description: Get payment method call: koyeb-paymentmethods.getpaymentmethod with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: deletepaymentmethod description: Delete payment method call: koyeb-paymentmethods.deletepaymentmethod with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v1/payment-methods/{id}/confirm name: v1-payment-methods-id-confirm description: REST surface for v1-payment_methods-id-confirm. operations: - method: POST name: confirmpaymentauthorization description: Confirm payment authorization call: koyeb-paymentmethods.confirmpaymentauthorization with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: koyeb-paymentmethods-mcp port: 9090 transport: http description: MCP adapter for Koyeb Rest API — PaymentMethods. 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: koyeb-paymentmethods.listpaymentmethods with: limit: tools.limit offset: tools.offset statuses: tools.statuses outputParameters: - type: object mapping: $. - name: create-payment-authorization description: Create payment authorization hints: readOnly: false destructive: false idempotent: false call: koyeb-paymentmethods.createpaymentauthorization with: body: tools.body outputParameters: - type: object mapping: $. - name: get-payment-method description: Get payment method hints: readOnly: true destructive: false idempotent: true call: koyeb-paymentmethods.getpaymentmethod with: id: tools.id outputParameters: - type: object mapping: $. - name: delete-payment-method description: Delete payment method hints: readOnly: false destructive: true idempotent: true call: koyeb-paymentmethods.deletepaymentmethod with: id: tools.id outputParameters: - type: object mapping: $. - name: confirm-payment-authorization description: Confirm payment authorization hints: readOnly: false destructive: false idempotent: false call: koyeb-paymentmethods.confirmpaymentauthorization with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.