Skip to main content

Welcome to Bloque SDK

The Bloque SDK is a powerful TypeScript/JavaScript library that enables you to build modern financial applications with virtual accounts, payment cards, cryptocurrency wallets, and compliance features. Built for developers who need production-ready fintech infrastructure.

Quickstart

Get up and running in under 5 minutes with your first API call

Installation

Install the SDK with npm, yarn, pnpm, or bun

Authentication

Learn about API key and JWT authentication methods

API Reference

Explore the complete API documentation

Platform Support

The Bloque SDK works across multiple JavaScript runtimes:
  • Node.js 22.x or higher
  • Bun 1.x or higher
  • Deno Latest version
  • Web/Browsers Modern browsers with ES2020+ support
  • React Native iOS and Android applications

Key Features

Virtual Accounts

Create and manage virtual accounts with multi-currency support

Payment Cards

Issue virtual cards with spending controls and real-time transaction routing

Blockchain Integration

Connect to Polygon wallets and manage crypto assets

Compliance & KYC

Built-in identity verification and compliance workflows

Organizations

Manage business entities and organizational structures

Multi-Platform

Works in Node.js, Bun, Deno, browsers, and React Native

Quick Example

Here’s a taste of what you can build with the Bloque SDK:
import { SDK } from '@bloque/sdk';

const bloque = new SDK({
  origin: 'your-origin',
  auth: {
    type: 'apiKey',
    apiKey: process.env.BLOQUE_API_KEY!,
  },
  mode: 'production',
});

// Connect to a user session
const session = await bloque.connect('user-alias');

// Create a virtual card
const card = await session.accounts.card.create({
  name: 'My Virtual Card',
});

console.log('Card created:', card.urn);
console.log('Last four digits:', card.lastFour);

Development Status

This SDK is currently under active development. Breaking changes may occur between versions. We strongly recommend pinning to a specific version in your package.json to avoid unexpected issues.
{
  "dependencies": {
    "@bloque/sdk": "0.0.43"
  }
}

Getting Help

Need assistance? Here are some resources:

Next Steps

Get Started

Follow the quickstart guide to make your first API call

Explore Guides

Browse practical guides and use cases

Build docs developers (and LLMs) love