Skip to main content

Yativo Crypto SDKs

Yativo provides official SDKs for the most popular languages and frameworks. Every SDK wraps the same underlying Yativo Crypto API and provides a consistent, idiomatic interface for your platform.

TypeScript / Node.js

Full-featured SDK for Node.js and browser environments, including a card embed widget.

Python

Pythonic SDK with snake_case methods and structured exception hierarchy.

PHP

Composer package with static webhook verification helpers.

Java / Spring Boot

Spring Boot starter with auto-configuration, DI-ready services, and event-driven webhooks.

React

Hooks and pre-built components built on top of the TypeScript SDK.

Quick Comparison

FeatureTypeScriptPythonPHPJavaReact
Package managernpmpipComposerMaven / Gradlenpm
Package name@yativo/crypto-sdkyativo-crypto-sdkyativo/crypto-sdkyativo-crypto-spring-boot-starter@yativo/crypto-sdk-react
Min runtimeNode 16 / modern browserPython 3.8PHP 7.4Java 11 / Spring Boot 2.7+React 17+
Auto token refreshYesYesYesYesYes
Webhook verificationYesYesYes (static)Yes (@EventListener)Via TypeScript SDK
Card widget / embedYativoCardEmbedYativoCardWidget
UI componentsYes

Choosing the Right SDK

Use the TypeScript SDK when:
  • Building a Node.js backend (Express, Fastify, NestJS, etc.)
  • Writing a serverless function (Vercel, AWS Lambda, Cloudflare Workers)
  • Embedding the Yativo Card widget directly in a non-React frontend
  • You want full TypeScript type safety across all API resources
npm install @yativo/crypto-sdk

Common Concepts Across All SDKs

All SDKs expose the same logical resources:
ResourceDescription
authRegister, login, OTP, 2FA
accountsManage business accounts
assetsWallets and supported assets
transactionsSend / receive funds
webhooksCreate and verify webhooks
apiKeysProgrammatic API key management
customersEnd-customer management
analyticsVolume, fees, and reporting
cardsVirtual card issuance and management
swapQuote and execute asset swaps
standaloneIbanDedicated IBAN accounts

Authentication Modes

Every SDK supports two authentication flows:
  1. Email / password — call auth.login() to obtain a JWT; the SDK stores it and refreshes it automatically on 401 responses.
  2. API key + secret — pass apiKey and apiSecret to the constructor. The SDK signs requests directly; no manual token management required.

Rate Limiting

The Yativo Crypto API enforces 60 requests per minute per endpoint. All SDKs surface rate-limit errors as dedicated exception types so you can implement back-off logic.

Base URL

All SDKs default to the production base URL:
https://crypto-api.yativo.com/api/
You can override this in the constructor for staging or local development environments.

Next Steps

TypeScript SDK

Complete guide with code examples for every resource.

Python SDK

Python-idiomatic examples and exception handling.

PHP SDK

Composer setup, try/catch patterns, and webhook verification.

Java SDK

Spring Boot auto-configuration and service injection.

React SDK

Hooks, components, widgets, and theme customization.

Browser Extensions

Chrome and Firefox extensions for wallet monitoring and notifications.