Partner integration
Developer API
Register a company, verify its email, and wait for Bitraze admin approval. Generate your API key in the company dashboard and keep it on your server. Your website controls users’ bonus eligibility and limits.
- Use your six-digit Partner ID in
index?page=load&partner=PARTNER_ID&amount=100to authorize the exact amount. - Collect the one-time authorization code at the partner site. Before sending a load, hold the corresponding eligible rewards in your system.
- Send a server-side request to
POST api/bonus_load.phpwithAuthorization: Bearer YOUR_API_KEYandContent-Type: application/json.
{ "reference": "partner-transfer-1234", "amount": "100", "authorization": "USER_CODE" }
HTTP 201 credits a new load. HTTP 200 confirms a replay with identical details. On a timeout, retry with the same request or query GET api/bonus_load.php?reference=partner-transfer-1234 using the same key. Finalize the hold only after a credit confirmation. token_units uses six decimal places.
A new load reserves the BTZAI's live USDT value, rounded up to the nearest cent, from the company's confirmed prepaid balance. A load with insufficient funding returns HTTP 422 and can be retried with the same authorization before it expires. Query GET api/bonus_load.php?funding=FUNDING_ID for deposit status.
