Core Banking API
Core Banking APIs
Overview
The Buburuza Core Banking APIs provide comprehensive financial services including account management, transaction processing, and balance operations. Built on our Layer 3 blockchain infrastructure with AI-powered features for enhanced user experiences.
Accounts API
Create Account
Create a new bank account for a customer.
POST /v1/accounts
const account = await buburuza.accounts.create({
customerId: 'cust_1234567890abcdef',
type: 'checking', // 'checking', 'savings', 'business'
currency: 'USD',
name: 'Primary Checking Account',
metadata: {
productType: 'premium',
openedVia: 'mobile_app'
}
});
console.log('Account created:', account);Request Body:
Response:
Get Account Details
Retrieve detailed information about a specific account.
GET /v1/accounts/{accountId}
Response:
List Accounts
Get all accounts for a customer.
GET /v1/accounts
Query Parameters:
customerId(string): Filter by customer IDtype(string): Filter by account typestatus(string): Filter by account statuscurrency(string): Filter by currencylimit(number): Number of results to return (default: 10, max: 100)startingAfter(string): Pagination cursor
Response:
Transactions API
Create Transaction
Process a new transaction (transfer, deposit, withdrawal).
POST /v1/transactions
Request Body (Internal Transfer):
Response:
AI-Powered Natural Language Transactions
Process transactions using natural language with AI interpretation.
POST /v1/transactions/ai-intent
AI Intent Response:
Get Transaction History
Retrieve transaction history for an account.
GET /v1/transactions
Query Parameters:
accountId(string): Filter by account IDcustomerId(string): Filter by customer IDtype(string): Filter by transaction typestatus(string): Filter by transaction statusstartDate(string): Start date (ISO format)endDate(string): End date (ISO format)minAmount(number): Minimum transaction amountmaxAmount(number): Maximum transaction amountlimit(number): Number of results (default: 10, max: 100)
Response:
Balance Management
Get Real-Time Balance
Get current balance with pending transactions.
GET /v1/accounts/{accountId}/balance
Response:
Balance Alerts
Set up automatic balance notifications.
POST /v1/accounts/{accountId}/alerts
Advanced Banking Features
Scheduled Transfers
Set up recurring or future-dated transfers.
POST /v1/transactions/scheduled
Account Limits and Controls
Manage account spending limits and controls.
PUT /v1/accounts/{accountId}/limits
Overdraft Protection
Configure overdraft protection settings.
POST /v1/accounts/{accountId}/overdraft
Multi-Currency Support
Currency Exchange
Convert between supported currencies.
POST /v1/transactions/exchange
Real-Time Exchange Rates
Get current exchange rates for supported currencies.
GET /v1/exchange-rates
Response:
Blockchain Integration
Blockchain Transaction Records
All transactions are automatically recorded on the Buburuza-Chain L3 blockchain for transparency and immutability.
Response:
Smart Contract Interactions
Execute smart contract functions for advanced financial operations.
Error Handling
Common Error Responses
Error Response Format
Webhooks
Transaction Events
Receive real-time notifications for transaction events.
Testing in Sandbox
The sandbox environment provides realistic test data and scenarios:
For complete API reference and additional examples, contact support at [email protected].
Last updated