Submit BGC Request
Create and submit a background-check request. Individual submits require multipart/form-data (candidate + documents + signed consent). Bulk submits accept application/json with bulk_candidates. Billed from BGC package pricing (client custom prices applied) β prepaid wallets debit cash; postpay uses credit limit; proforma BGC clients skip wallet debit. Does not use KYC endpoint pricing. Returns reference_number and candidate report_id values (not integer PKs).
Flow
- GET /api/v1/bgc/packages β pick package_id / package_type and note required_fields.
- POST /api/v1/bgc/requests β individual (multipart) or bulk (JSON). Returns reference_number + report_id.
- Poll GET /api/v1/bgc/requests/{reference_number} until candidate status is interim or completed.
- GET /api/v1/bgc/requests/{reference_number}/pdf?report_id=β¦ when the report is ready.
Billing
- Charge = package total (client custom check prices applied) Γ candidate count, plus VAT on KES wallets when enabled.
- Prepaid: requires sufficient wallet balance.
- Postpay: uses postpay credit limit (not cash balance).
- Proforma BGC clients (client report setting): submit without wallet debit.
- Does not use KYC endpoint_pricing or CheckWallet slugs.
Public identifiers
- Use reference_number (e.g. REF-20261120-0001) to fetch the request.
- Use report_id (e.g. PEL261120001) for a specific candidate / PDF.
- Integer database ids are not part of the public contract.
List packages
Fetch package_id, package_type, price, and required_fields before submit.
{{baseUrl}}/api/v1/bgc/packages{
"success": true,
"response_code": 200,
"message": "Packages retrieved successfully",
"data": {
"packages": [
{
"id": 12,
"name": "Standard Employment Package",
"type": "system",
"price": 4500.00,
"currency": "KES",
"checks": []
}
]
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Submit request
{{baseUrl}}/api/v1/bgc/requestsHeader
Body Parameters
Individual β multipart
Request payload for Individual β multipart:
curl -X POST "{{baseUrl}}/api/v1/bgc/requests" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json" \
-F "package_type=system" \
-F "package_id=12" \
-F "entry_type=individual" \
-F 'candidate={"full_name":"Jane Wanjiku","provider_type":"client","email":"jane@example.com","phone":"+254712345678","country":"Kenya","id_number":"12345678"}' \
-F 'consent={"legal_compliance":true,"candidate_notification":true,"express_consent":true}' \
-F "signed_consent_form=@consent.pdf;type=application/pdf" \
-F "documents[id_document]=@national-id.jpg;type=image/jpeg" \
-F 'documents[reference_contacts]=[{"name":"Mary A","organization":"Acme Ltd","email":"mary@acme.com","phone":"+254700000001"},{"name":"Peter B","organization":"Beta Co","email":"peter@beta.com","phone":"+254700000002"}]'Expected response for Individual β multipart:
{
"success": true,
"response_code": 201,
"message": "Background check request submitted",
"data": {
"reference_number": "REF-20261120-0001",
"status": "pending",
"entry_type": "individual",
"package_id": 12,
"total_candidates": 1,
"total_amount": 5220.00,
"currency": "KES",
"billed_by_proforma": false,
"candidates": [
{
"report_id": "PEL261120001",
"full_name": "Jane Wanjiku",
"email": "jane@example.com",
"status": "submitted"
}
]
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Bulk β JSON
Request payload for Bulk β JSON:
{
"package_type": "system",
"package_id": 12,
"entry_type": "bulk",
"client_notes": "Q4 hire batch",
"consent": {
"legal_compliance": true,
"candidate_notification": true,
"express_consent": true
},
"bulk_candidates": [
{
"name": "Jane Wanjiku",
"email": "jane@example.com",
"phone": "+254712345678",
"employee_number": "EMP-001"
},
{
"name": "John Otieno",
"email": "john@example.com"
}
]
}Expected response for Bulk β JSON:
{
"success": true,
"response_code": 201,
"message": "Background check request submitted",
"data": {
"reference_number": "REF-20261120-0002",
"status": "pending",
"entry_type": "bulk",
"package_id": 12,
"total_candidates": 2,
"total_amount": 10440.00,
"currency": "KES",
"billed_by_proforma": false,
"candidates": [
{ "report_id": "PEL261120001", "full_name": "Jane Wanjiku", "email": "jane@example.com", "status": "submitted" },
{ "report_id": "PEL261120002", "full_name": "John Otieno", "email": "john@example.com", "status": "submitted" }
]
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Response Fields
entry_type
Request / candidate status
Get status / result
Poll with reference_number. Optional report_id filters to one candidate.
{{baseUrl}}/api/v1/bgc/requests/{ref}{
"success": true,
"response_code": 200,
"message": "Background check request retrieved",
"data": {
"reference_number": "REF-20261120-0001",
"status": "processing",
"candidates": [
{
"report_id": "PEL261120001",
"status": "interim",
"status_counts": { "clear": 2, "warning": 0, "alert": 0, "pending": 1, "overall": "clear" }
}
]
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Report PDF readiness
Available when a candidate reaches interim or completed. Binary DomPDF download is being linked to the Merchant report-export pipeline.
{{baseUrl}}/api/v1/bgc/requests/{ref}/pdf{
"success": true,
"response_code": 200,
"message": "Report is ready for PDF export",
"data": {
"reference_number": "REF-20261120-0001",
"report_id": "PEL261120001",
"candidate_status": "interim",
"pdf_ready": true,
"download_url": null
},
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Error codes
Standard Peleza HTTP / response_code values (same across all API calls). Validation message text is endpoint-specific. Full reference: Error Codes.
Insufficient wallet / credit
{
"success": false,
"response_code": 402,
"message": "bgc wallet blocked: Insufficient wallet balance. Please top up.",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Missing signed consent (individual)
{
"success": false,
"response_code": 422,
"message": "bgc validation failed: signed_consent_form file is required for individual submits",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}Set {{baseUrl}} to https://api.peleza.com (production) or https://sandbox.peleza.com (sandbox). Authenticated calls need a Bearer token from POST /api/v1/oauth/token.
