Banking Gateway
Bank slips, Pix, payments and transfers across several banks.
The packages are simply named kobana (PHP: kobana/kobana-php-client).
Node.js, Python, Ruby and PHP libraries to integrate each product's API with less code. The Banking Gateway ones are live; the rest are coming soon.

Configure once, use in all requests.
Typed exceptions for each API error type.
Create one client per token to serve several Kobana accounts from the same application.
Listings with filters and page/per_page pagination.
TypeScript definitions, type hints (Python), PHPDoc.
Debug mode to inspect requests and responses.
Pick the product and the language. Packages marked βComing soonβ are still being built; until then, use the product's REST API, MCP server or CLI.
Bank slips, Pix, payments and transfers across several banks.
The packages are simply named kobana (PHP: kobana/kobana-php-client).
Subscriptions, invoices, tax documents and proposals.
Automatic collection from due date to payment.
Accounts payable and receivable, reconciliation and cash flow.
Customer portal with your data and your brand.
Inboxes with AI agents that read and process emails.
Tasks, executions and pending items of an AI agent for finance.
How to configure the SDK (production or sandbox) and create and list bank slips in each language.
import { KobanaClient } from 'kobana';
const client = new KobanaClient({
apiToken: process.env.KOBANA_API_TOKEN,
environment: 'production', // or 'sandbox'
});// Create bank slip
const billet = await client.charge.bankBillet.create({
bankBilletAccountId: 123,
amount: 150.50,
expireAt: '2026-12-31',
customerPersonName: 'John Smith',
customerCnpjCpf: '12345678901',
customerZipcode: '01310100',
customerAddress: 'Av. Paulista, 1000',
customerNeighborhood: 'Bela Vista',
customerCityName: 'SΓ£o Paulo',
customerState: 'SP',
description: 'December/2026 monthly fee',
});
console.log(billet.id, billet.status);
// List bank slips
const billets = await client.charge.bankBillet.all({
status: 'opened',
perPage: 50,
});
billets.forEach((b) => console.log(b.id, b.get('amount')));import os
from kobana import KobanaClient
client = KobanaClient(
api_token=os.environ['KOBANA_API_TOKEN'],
environment='production', # or 'sandbox'
)# Create bank slip
billet = client.charge.bank_billet.create(
bank_billet_account_id=123,
amount=150.50,
expire_at='2026-12-31',
customer_person_name='John Smith',
customer_cnpj_cpf='12345678901',
customer_email='john@example.com',
customer_zipcode='01310100',
customer_address='Av. Paulista, 1000',
customer_neighborhood='Bela Vista',
customer_city_name='SΓ£o Paulo',
customer_state='SP',
description='December/2026 monthly fee',
)
print(billet.id, billet.status)
# List bank slips
billets = client.charge.bank_billet.all(status='opened', per_page=50)
print(f'Total: {billets.total_count}')
for b in billets:
print(f'{b.id}: R$ {b.amount}')require 'kobana'
Kobana.configure do |config|
config.api_token = ENV['KOBANA_API_TOKEN']
config.environment = :production # or :sandbox
end# Create bank slip
billet = Kobana::Resources::Charge::BankBillet.create(
bank_billet_account_id: 123,
amount: 150.50,
expire_at: '2026-12-31',
customer_person_name: 'John Smith',
customer_cnpj_cpf: '12345678901',
customer_zipcode: '01310100',
customer_address: 'Av. Paulista, 1000',
customer_neighborhood: 'Bela Vista',
customer_city_name: 'SΓ£o Paulo',
customer_state: 'SP',
description: 'December/2026 monthly fee'
)
puts billet.id
puts billet.status
# List bank slips
billets = Kobana::Resources::Charge::BankBillet.all(status: 'opened', per_page: 50)
billets.each { |b| puts "#{b.id}: R$ #{b.amount}" }<?php
require 'vendor/autoload.php';
use Kobana\Kobana;
Kobana::configure([
'apiToken' => getenv('KOBANA_API_TOKEN'),
'environment' => 'production', // or 'sandbox'
]);// Create bank slip
$billet = Kobana::charge()->bankBillet()->create([
'bankBilletAccountId' => 123,
'amount' => 150.50,
'expireAt' => '2026-12-31',
'customerPersonName' => 'John Smith',
'customerCnpjCpf' => '12345678901',
'customerZipcode' => '01310100',
'customerAddress' => 'Av. Paulista',
'customerAddressNumber' => '1000',
'customerNeighborhood' => 'Bela Vista',
'customerCityName' => 'SΓ£o Paulo',
'customerState' => 'SP',
'description' => 'December/2026 monthly fee',
]);
echo $billet->id . PHP_EOL;
echo $billet->getBarcode() . PHP_EOL;
// List bank slips
$billets = Kobana::charge()->bankBillet()->all([
'status' => 'opened',
'perPage' => 50,
]);
foreach ($billets as $b) {
echo "{$b->id}: R$ {$b->amount}" . PHP_EOL;
}Every product has a REST API (OpenAPI), an MCP server and a CLI, for when there is no SDK in your language yet.
See every product's APICreate your sandbox account and test the integration in minutes.