Get started
Test mode
Use fcp_test_ keys to create test invoices, simulate payments and receive test webhooks without moving real funds.
Test mode lets you build and verify your integration end to end without sending real crypto. Live and test data are completely separate.
Test keys
Create a key in API keys with mode test. Test keys start with fcp_test_. Invoices created with them have "livemode": false and only appear when you filter the dashboard by test mode. A live key can never read test invoices, and the other way round.
Simulating payments
A test invoice's pay page shows a yellow test banner and a Simulate payment button. Clicking it marks the invoice paid with payment.via = "simulated", sends the invoice.paid webhook to your endpoints (with livemode: false) and redirects to your redirect_url.
"payment": {
"via": "simulated",
"method": "usdt_tron",
"amount": "25.00",
"asset": "USDT",
"network": "tron",
"tx_hash": null
} Card payments in test mode
The card button on a test invoice opens a sandbox checkout where you can complete a simulated card payment. No card is charged.
Real crypto on test invoices
Payment instructions on test invoices use your real payout addresses, and a real transfer will still be detected. Use the simulate button instead unless you deliberately want to test detection with a small amount.
Webhooks
Webhook endpoints receive both live and test events. Check the livemode field and ignore test events in production if you share one endpoint.
Moving to live
- Create a live key and replace the test key in your server configuration.
- Confirm your webhook handler checks the signature, the timestamp and
livemode. - Run one small real payment on your main network.