Getting Started
Introduction
Developer documentation for Bag — the Merchant of Record for global stablecoin payments.
Welcome to Bag
Bag is a Merchant of Record for global stablecoin payments. When your customer pays, they pay Bag — and Bag pays you. In between, we handle tax collection, compliance, invoicing, and cross-border settlement.
You build your product. We handle the money stuff. Starting at 1.5% per transaction.
What Bag handles
- Tax calculation — automatic tax collection for every jurisdiction
- Compliance — KYB verification, regulatory requirements
- Invoicing — compliant invoices generated for every transaction
- Payment processing — on-chain stablecoin payments across multiple networks
- Settlement — funds delivered to your wallet
What you handle
- Your product and UI
- A webhook endpoint to know when you get paid
Supported networks
| Network | Mainnet | Testnet |
|---|---|---|
| Base | base | base_sepolia |
| Ethereum | ethereum | eth_sepolia |
| Polygon | polygon | — |
| Solana | solana | solana_devnet |