API
Your backend submits each entry. LuckLogic decides the outcome, allocates the prize and returns a claim token. Any stack, any frontend, full control over every screen.
const res = await fetch('https://api.lucklogic.dev/v1/redemptions', { method: 'POST', headers: { authorization: `Bearer ${process.env.LUCKLOGIC_SECRET_KEY}`, 'content-type': 'application/json', }, body: JSON.stringify({ campaign_id, code: 'KM7RX4Q9CN', participant_id: 'crm_12345', }), }); // outcome is 'win' or 'lose' const { outcome, prize, claim_token } = await res.json();