OpenBCP / USDT checkout / Crypto payment sandbox

Test your crypto checkout in a sandbox

The OpenBCP sandbox is a free copy of the payment API. Payments are simulated, confirm in about 3 seconds, and move no real funds, so you can build and test the whole flow before using real USDT.

What the sandbox is

The OpenBCP sandbox is a separate, free copy of the payment API at https://sandbox.openbcp.com. It simulates USDT payments: there is no blockchain, no wallet and no real money. Each payment confirms about 3 seconds after the invoice is created, so you can test the full flow quickly.

Sandbox vs live

SandboxLive
Base URLhttps://sandbox.openbcp.comhttps://openbcp.com
API keyStarts with test_Your live key
MoneyNone, simulatedReal USDT on BNB Smart Chain
Data keptInvoices deleted after 24 hoursPermanent

Get a test key

  1. Sign in at openbcp.com with Google or a wallet.
  2. Open Dashboard, then Integration, then Sandbox.
  3. Copy your test key.

Create a test invoice

curl -s -X POST https://sandbox.openbcp.com/api/v1/payment \
  -H "X-openbcp-Api-Key: $PAYGATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount_usdt":"10.00","external_id":"order-1","callback_url":"https://YOUR-TUNNEL/webhook"}'

Open the returned payment_url. The page shows a test mode banner and completes by itself. Your webhook fires with a signature identical to live.

Test scenarios

Add sandbox_scenario to the request to simulate different outcomes.

ValueWhat happensFinal status
paid (default)Full payment confirms after about 3 secondsPAID
overpaid110% confirms after about 3 secondsOVERPAID
partial50% confirms, then the invoice later expiresPARTIAL, then EXPIRED
expiredNo payment, marked expired after about 3 secondsEXPIRED
unpaidNothing happens until natural expiryUNPAID, then EXPIRED

Going live

The sandbox uses the same endpoints, fields, statuses and webhook signing as live. To go live, change two values and nothing else:

PAYGATE_URL=https://openbcp.com
PAYGATE_API_KEY=your_live_key

Before launch, make sure your webhook handler verifies signatures and is idempotent, set your receiving wallet address in the dashboard, and make one small real payment to confirm. Never ship a test_ key to production.

For AI agents and tools

Machine-readable files are available: the integration guide in Markdown, the OpenAPI spec and llms.txt.

See also the crypto checkout API guide and webhook verification.

Frequently asked questions

Is the sandbox free?

Yes. It uses test API keys that start with test_ and never moves real funds.

How do I get a sandbox key?

Sign in, open Dashboard, then Integration, then Sandbox, and copy the test key.

Can I test underpayments and expired invoices?

Yes. Set sandbox_scenario to paid, overpaid, partial, expired or unpaid when you create the invoice.

How do I go live?

Change the base URL to https://openbcp.com and use your live API key. No code changes are needed.

How long is sandbox data kept?

Invoices are deleted after 24 hours.

Get started free Read the docs Try the sandbox

More guides