KYC and auth webhooks

By default you'll receive only webhooks related to order status change. But you can opt-in for additional webhooks:

  • auth - you will receive the "auth" event on each login/register initiation/success/failure

  • KYC - you will receive the "kyc" event on a user KYC submission status change

These events can be enabled at the Webhooks -> Settings page of the merchant dasboard.

Type of the auth events:

type AuthWebhook = {
  "event": "auth",
  "data": {
    "authOperation": "login" | "register",
    "authStatus": "initiate" | "success" | "failed",
    "userEmail": string,
    "date": string,
    "userCountryIsoCode": string,
    "userId"?: string
  }
}

Type of the KYC events:

Last updated