Docs · Events

One endpoint, any event with a user behind it

request
POST /v1/events
Authorization: Bearer sk_live_…
 
{
  "type": "login",                  // signup · login · deposit · withdrawal · payment · promo_claim · referral · custom
  "user": { "id": "usr_0f3a", "email": "a@example.com", "phone": "+91…" },
  "device": { "token": "dv_…" },   // from the SDK, optional but recommended
  "ip": "203.0.113.7",
  "context": { "amount": 1240, "currency": "USDT" }
}

Payment events can also arrive from your PSP webhook (Stripe, Razorpay, Xendit, Midtrans, PayMongo); connect it in the back-office and nothing needs to be sent from your code.