Sandbox projects create test invoices, skip chain activity, and let you simulate webhook callbacks from the dashboard.
In the API Keys page, toggle the environment to Sandbox. Sandbox keys are isolated from live reporting and do not create sweep tasks.
Use the sandbox payment endpoint to simulate invoice.paid events and verify signature handling against your webhook endpoint.
import { OrvexClient } from "orvex-pay";
const client = new OrvexClient({
apiKey: "SBX_KEY_HERE"
});
const invoice = await client.invoices.create({
priceAmount: "25.00",
priceCurrency: "USD",
payCurrency: "USDT",
successUrl: "https://example.com/success",
cancelUrl: "https://example.com/cancel"
});curl -X POST "https://api.orvexpay.com/api/invoice/{invoice_id}/sandbox/pay" -H "x-api-key: SBX_KEY_HERE" -H "Content-Type: application/json" -d '{
"amountReceived": 25.00,
"transactionHash": "sbx_test_hash"
}'Build against Sandbox first, verify your signature logic, then swap the key to Live when you're ready.
Read the help guide