Public proofs in the browser. Trusted commerce events from your server.
POST /api/burn-commerce/v1/allocations
Authorization: Bearer bc_test_PREFIX.SECRET
Idempotency-Key: order-48192-burn
{
"project": "merchant-project",
"integration_id": "bc_int_...",
"external_reference": "ORDER-48192",
"gross_amount_minor": "7999",
"currency": "GBP",
"burn_percentage_bps": 500
}Sandbox credentials are issued only during approved merchant onboarding. Production conversion and signing are not active.
curl -X POST https://statsbin.com/api/burn-commerce/v1/sandbox/simulate \
-H "Content-Type: application/json" \
-d '{
"project":"statsbin-demo",
"integration_id":"bc_int_demo_2026",
"external_reference":"ORDER-48192",
"gross_amount_minor":"7999",
"currency":"GBP",
"burn_percentage_bps":500,
"idempotency_key":"order-48192-burn"
}'This endpoint validates the same allocation fields and integer calculation but never writes, converts, signs, broadcasts, or affects public totals.
<script src="https://statsbin.com/burn-commerce/v1/burn-commerce.js" defer></script>
<div id="burn-badge"></div>
<script>
window.addEventListener("DOMContentLoaded", () => {
const burn = BurnCommerce.init({ project: "merchant-project" });
burn.mountBadge("#burn-badge");
});
</script>GET /api/burn-commerce/v1/statsGET /api/burn-commerce/v1/projects/:slugGET /api/burn-commerce/v1/settlements/:idGET /api/burn-commerce/v1/transactions/:hashGET /api/burn-commerce/v1/receipts/:idGET /api/burn-commerce/v1/badge/:slugPOST /api/burn-commerce/v1/sandbox/simulate