BchainPayBchainPay

Introduction

BchainPay is a crypto payment gateway for developers. One REST API lets you accept payments in ETH, SOL, TRX, BNB, USDT, USDC, DAI, BUSD across four networks — Ethereum, Solana, Tron, and BNB Chain.

You create a payment intent, generate a blockchain address, and your customer pays on-chain. BchainPay monitors the transaction and notifies you via a signed webhook when the payment completes.

What you can build

  • One-time checkouts — create a payment intent, show the customer the deposit address, fulfill the order on a payment_intent.completed webhook.
  • Invoices — generate payment intents per invoice with a reference field for reconciliation.
  • Subscriptions — create recurring intents on a schedule and track status via the API.
  • WooCommerce integration — accept crypto in WordPress with the BchainPay plugin.

Payment flow

  1. Authenticate — send your API key as a Bearer token in the Authorization header.
  2. Create a payment intentPOST /v1/payment-intents with an amount, currency, and optional network/token.
  3. Generate an addressPOST /v1/payment-intents/:id/generate-address returns a fresh on-chain deposit address.
  4. Customer pays — BchainPay monitors the blockchain for the incoming transaction.
  5. Webhook fires — a signed payment_intent.completed event hits your endpoint so you can fulfill the order.

Supported networks and tokens

NetworkNative tokenStablecoins
ethereumETH (18 decimals)USDT (6), USDC (6), DAI (18)
bnbchainBNB (18 decimals)USDT (18), USDC (18), BUSD (18)
solanaSOL (9 decimals)USDT (6), USDC (6)
tronTRX (6 decimals)USDT (6), USDC (6)

Next steps

Last updated Edit on GitHub