Skip to main content
Event Name: kyc_session_verified
This event indicates that the entity has passed all required verification checks and the session has been successfully verified. The session state is VERIFIED.

Event Payload

The webhook payload contains the following structure:
{
  "id": "36f6bb7e-e5da-4278-9ad8-df64c8c4cd22",
  "event": "kyc_session_verified",
  "timestamp": "2026-03-17T16:35:12.501Z",
  "data": {
    "sessionId": "66062076-d3b7-470b-b5ca-cf9b92ad6b0e",
    "userId": "15299b4e-8af7-4716-8695-0bf1d0579944",
    "entityType": "user"
  }
}

Field Description

id
string
required
Unique event identifier (UUID)
event
string
required
Event type - always kyc_session_verified for this webhook
timestamp
string
required
Event timestamp in ISO 8601 format
data
object
required
Contains the event data
data.sessionId
string
required
Unique KYC session ID (UUID)
data.userId
string
Unique user ID (UUID)
Unique related party ID (UUID)
data.entityType
string
required
Entity type associated with the KYC session. Possible values: user, related-party

Expected Responses

Success Response

HTTP 200 OKThe webhook was processed successfully.

Client Error

HTTP 4xx StatusClient-side error. Will not be retried.

Server Error

HTTP 5xx StatusServer-side error. Will be retried with exponential backoff.

Implementation Example

app.post('/webhooks/ralio', async (req, res) => {
  const { event, data } = req.body;

  if (event === 'kyc_session_verified') {
    const { sessionId, entityType, userId, relatedPartyId } = data;
    const subjectId = userId ?? relatedPartyId;

    console.log(`KYC session ${sessionId} verified for ${entityType} ${subjectId}`);

    await updateKycSessionStatus(sessionId, 'VERIFIED');

    if (entityType === 'user' && userId) {
      await notifyUserVerificationSuccess(userId);
    }

    if (entityType === 'related-party' && relatedPartyId) {
      await notifyRelatedPartyVerificationSuccess(relatedPartyId);
    }

    res.status(200).json({ received: true });
  }
});