APIsWebhooksBGV Completed

BGV Completed Webhook Payload

This webhook is triggered when a BGV (Background Verification) order is completed. You can track BGV completion details through this webhook payload.

This webhook is triggered when ALL sub-orders within a BGV order have been completed successfully.

Webhook Event

Event Type: BGV_COMPLETED

Payload

{
  "orderId": "61571280-6597-44c2-84a6-cb813d1c30d2",
  "externalId": "EXT123456",
  "verificationStatus": "COMPLETED"
}

Payload Fields

FieldTypeDescription
orderIdstringBGV order identifier
externalIdstringExternal reference ID provided by client
verificationStatusenumStatus of the BGV verification process

Verification Status Values

StatusDescription
COMPLETEDBGV verification has been completed successfully

Example Webhook Handler

app.post('/webhook/bgv-completed', (req, res) => {
  const { orderId, externalId, verificationStatus } = req.body;
  
  console.log('BGV Completed:', {
    orderId,
    externalId,
    status: verificationStatus
  });
  
  // Process the webhook data
  // Update your database, send notifications to relevant parties, etc.
  
  res.status(200).json({ received: true });
});