naftiko: 1.0.0-alpha2 info: label: Flutterwave Payments API — Payment Methods description: Flutterwave Payment Methods tokenisation and lookup. 3 operations. tags: [Flutterwave, Payments, Payment Methods] created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: { FLUTTERWAVE_ACCESS_TOKEN: FLUTTERWAVE_ACCESS_TOKEN } capability: consumes: - type: http namespace: payments-payment-methods baseUri: https://api.flutterwave.cloud/f4b/production description: Flutterwave Payment Methods business capability. resources: - name: payment-methods path: /payment-methods operations: - { name: listpaymentmethods, method: GET, description: Flutterwave List Payment Methods, outputRawFormat: json, outputParameters: [{ name: result, type: object, value: $. }] } - name: createpaymentmethod method: POST description: Flutterwave Create A Payment Method outputRawFormat: json outputParameters: [{ name: result, type: object, value: $. }] inputParameters: [{ name: body, in: body, type: object, required: true }] - name: payment-methods-id path: /payment-methods/{id} operations: - { name: getpaymentmethod, method: GET, description: Flutterwave Retrieve A Payment Method, outputRawFormat: json, outputParameters: [{ name: result, type: object, value: $. }] } authentication: { type: bearer, value: '{{env.FLUTTERWAVE_ACCESS_TOKEN}}', placement: header } exposes: - type: rest namespace: payments-payment-methods-rest port: 8080 description: REST adapter for Flutterwave Payment Methods. resources: - path: /v4/payment-methods name: payment-methods operations: - { method: GET, name: listpaymentmethods, description: Flutterwave List Payment Methods, call: payments-payment-methods.listpaymentmethods, outputParameters: [{ type: object, mapping: $. }] } - method: POST name: createpaymentmethod description: Flutterwave Create A Payment Method call: payments-payment-methods.createpaymentmethod with: { body: rest.body } outputParameters: [{ type: object, mapping: $. }] - path: /v4/payment-methods/{id} name: payment-methods-id operations: - { method: GET, name: getpaymentmethod, description: Flutterwave Retrieve A Payment Method, call: payments-payment-methods.getpaymentmethod, outputParameters: [{ type: object, mapping: $. }] } - type: mcp namespace: payments-payment-methods-mcp port: 9090 transport: http description: MCP adapter for Flutterwave Payment Methods. tools: - { name: flutterwave-list-payment-methods, description: Flutterwave List Payment Methods, hints: { readOnly: true, destructive: false, idempotent: true }, call: payments-payment-methods.listpaymentmethods, outputParameters: [{ type: object, mapping: $. }] } - name: flutterwave-create-payment-method description: Flutterwave Create A Payment Method hints: { readOnly: false, destructive: false, idempotent: false } call: payments-payment-methods.createpaymentmethod with: { body: tools.body } outputParameters: [{ type: object, mapping: $. }] - { name: flutterwave-get-payment-method, description: Flutterwave Retrieve A Payment Method, hints: { readOnly: true, destructive: false, idempotent: true }, call: payments-payment-methods.getpaymentmethod, outputParameters: [{ type: object, mapping: $. }] }