Skip to main content

Welcome To PayChainHQ Docs

PayChainHQ helps businesses receive crypto and stablecoin payments, confirm settlement, automate payout routing, create withdrawals, monitor balances, and integrate payment operations through API, SDK, dashboard, and webhooks.
Start here: If you are new to PayChainHQ, read Product overview, then Getting started journey. Developers should continue to Developer quickstart and Payment flows.

What PayChainHQ helps you do

  • Create customers and invoices.
  • Accept supported stablecoin and crypto payments.
  • Detect and confirm settlement.
  • Verify signed webhooks.
  • Route invoice proceeds to one or more recipients.
  • Create dashboard or programmatic withdrawals.
  • Read balances, transactions, supported networks and tokens.
  • Track pricing plan usage, payout quota, sponsored gas credits, and top-ups.

Choose your path

I want to…Start with
Understand the productProduct overview
Learn the main objectsCore concepts and terminology
Set up safelyGetting started journey
Integrate the API or SDKDeveloper quickstart
Pick the right payment flowPayment flows
Use direct HTTP APIsREST API guide
Understand pricing and gasPricing, billing, and gas credits
Prepare for productionSecurity and go-live
Security note: API keys belong only in trusted backend systems. Do not expose API keys, payout keys, webhook secrets, or private operational details in browser, mobile, or public client code.

For developers

Use the TypeScript SDK when possible:
npm install @paychainhq/sdk
Then create a backend client:
import { PayChain } from '@paychainhq/sdk';

const paychain = new PayChain({
  apiKey: process.env.PAYCHAIN_API_KEY!,
  businessId: process.env.PAYCHAIN_BUSINESS_ID!,
  environment: 'live'
});
Best first integration: Create a fixed amount invoice, verify the webhook with the raw request body, then fetch the canonical invoice before fulfilling the order.