naftiko: 1.0.0-alpha2 info: label: "Paystack Balance API \u2014 Balance" description: 'Paystack Balance API. 2 operations. Lead operation: Paystack Fetch Balance. Self-contained Naftiko capability covering one Paystack business surface.' tags: - Paystack - Balance created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: PAYSTACK_SECRET_KEY: PAYSTACK_SECRET_KEY capability: consumes: - type: http namespace: balance-balance baseUri: https://api.paystack.co description: Paystack Balance API business capability. Self-contained, no shared references. resources: - name: balance path: /balance operations: - name: balancefetch method: GET description: Paystack Fetch Balance outputRawFormat: json outputParameters: - name: result type: object value: $. - name: balance-ledger path: /balance/ledger operations: - name: balanceledger method: GET description: Paystack Balance Ledger outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer value: '{{env.PAYSTACK_SECRET_KEY}}' placement: header exposes: - type: rest namespace: balance-balance-rest port: 8080 description: REST adapter for Paystack Balance API. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/balance name: balance description: REST surface for balance. operations: - method: GET name: balancefetch description: Paystack Fetch Balance call: balance-balance.balancefetch outputParameters: - type: object mapping: $. - path: /v1/balance/ledger name: balance-ledger description: REST surface for balance-ledger. operations: - method: GET name: balanceledger description: Paystack Balance Ledger call: balance-balance.balanceledger outputParameters: - type: object mapping: $. - type: mcp namespace: balance-balance-mcp port: 9090 transport: http description: MCP adapter for Paystack Balance API. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: paystack-fetch-balance description: Paystack Fetch Balance hints: readOnly: true destructive: false idempotent: true call: balance-balance.balancefetch outputParameters: - type: object mapping: $. - name: paystack-balance-ledger description: Paystack Balance Ledger hints: readOnly: true destructive: false idempotent: true call: balance-balance.balanceledger outputParameters: - type: object mapping: $.