Skip to main content

Welcome to Karma Business API

The Karma Business API enables your users to convert cryptocurrency (like your token) into stablecoins and fiat currency. This B2B2C API handles the entire offramp flow - from KYC verification to bank deposits.

Your Use Case

If you’re building an app where users hold tokens and need to cash out to pay bills or access their funds, this API is for you. Example flow:
  1. Your user holds your token in your app
  2. User wants to convert tokens → USDC → USD in their bank account
  3. Your app uses this API to create an offramp address
  4. User sends crypto to that address
  5. Fiat appears in their bank account automatically

Base URL

https://api.karmapay.xyz/v0
This documentation is for the development environment. Production URLs will be different.

Key Terminology

Understanding these terms will help you integrate faster:
TermWhat It Means
Business Customer / PartnerYou - the company integrating this API
End-UserYour app users who want to onramp/offramp
External User IDYour internal ID for your user (like user_123 from your database)
Custom KYCYou handle identity verification using your own KYC provider (Sumsub, Persona, Onfido)
ToS LinkTerms of Service acceptance link from Bridge
Signed Agreement IDID received after user accepts ToS, required for KYC submission
EndorsementBridge’s approval system - must be “approved” before creating accounts
Virtual AccountBank details for onramp (fiat → crypto)
Liquidation AddressCrypto address for offramp (crypto → fiat)

Integration Overview

Here’s what you’ll do to integrate: One-time setup:
  1. Register your business account via partner portal (self-service)
  2. Wait for admin approval
  3. Log in to portal and generate your API key
For each user (Custom KYC Flow):
  1. Create end-user record with externalUserId and email
  2. Generate ToS link for user to accept Bridge’s Terms of Service
  3. Collect KYC data using your own verification provider
  4. Submit KYC data with signed_agreement_id to create Bridge customer
  5. Poll customer status until endorsement is approved
  6. Create liquidation address (crypto → fiat) or virtual account (fiat → crypto)
  7. User can now onramp/offramp funds

Need Help?