Paystack · Capability

Paystack Balance API — Balance

Paystack Balance API. 2 operations. Lead operation: Paystack Fetch Balance. Self-contained Naftiko capability covering one Paystack business surface.

Paystack Balance API — Balance is a Naftiko capability published by Paystack, one of 13 capabilities the APIs.io network indexes for this provider. It bundles 2 operations across the GET method rooted at /v1/balance.

The capability includes 2 read-only operations. Lead operation: Paystack Fetch Balance. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Paystack and Balance.

Run with Naftiko PaystackBalance

What You Can Do

GET
Balancefetch — Paystack Fetch Balance
/v1/balance
GET
Balanceledger — Paystack Balance Ledger
/v1/balance/ledger

MCP Tools

paystack-fetch-balance

Paystack Fetch Balance

read-only idempotent
paystack-balance-ledger

Paystack Balance Ledger

read-only idempotent

Capability Spec

balance.yaml Raw ↑
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: $.