QFAST API Documentation
  1. Onboarding
  • Authentication
  • Onboarding
    • Overview
    • Reference
      • Area Reference
    • API
      • Onboarding Personal
      • Get Onboarding Status
      • Submit Loan
      • Get Loan
    • Webhook
      • Onboarding Webhooks
  • Disbursement
    • Overview
    • Webhook
      • Disbursement Webhooks
  • Repayment
    • Overview
    • Webhook
      • Repayment Webhooks
  • Schemas
    • Loan Schema
    • Onboarding Schema
  1. Onboarding

Overview

Onboarding Flow#

The onboarding process registers a borrower's business for KYB verification and creates a loan ready for disbursement. It is a two-step flow: first register the borrower and merchant, then — once the merchant reaches active status — submit the loan.

1. High-Level Flow#


2. Step 1: Register Borrower & Merchant#

Call Onboarding Personal with the borrower's identity and merchant (business) profile.
What DOKU QFAST does after this call:
1.
Creates the borrower and merchant records.
2.
Initiates the internal KYB verification process.
3.
Updates the merchant status to kyb_submitted.
Your response contains merchant_id. Store it — you'll need it for the loan submission step.

3. Step 2: Wait for KYB Result#

KYB verification is asynchronous. QFAST will notify you via webhook when the status changes.
Recommended: Set up your webhook endpoint and handle the kyb.status_updated event — see Onboarding Events.
Alternative: Poll Get Onboarding Status until onboarding_status reaches kyb_approved or a terminal state.

KYB Outcomes#

ResultStatusWhat to Do
VERIFIEDkyb_approved → linked → activeWait for active status before submitting a loan.
PROBATIONkyb_processingWait — still reviewing.
PROBATION + rejection noteskyb_revision_neededCorrect data and re-register before kyb_revision_deadline.
RESTRICTEDkyb_rejectedCheck kyb_rejection_details. Contact support if needed.
SUSPENDEDkyb_rejected or suspendedContact support.
Important: Loan submission is only allowed when onboarding_status = active. The status transitions from kyb_approved → linked → active automatically through internal processing. Wait for the active webhook before calling POST /v1/loans/submit.
Revision deadline: If onboarding_status is kyb_revision_needed, re-register using the same borrower email and phone before the kyb_revision_deadline. Failure to resubmit within 48 hours may result in permanent rejection.

4. Step 3: Submit the Loan#

Once onboarding_status is active, call Submit Loan with the merchant_id and full loan financial details.
After a successful loan submission, the lender accesses the QFAST dashboard to complete the disbursement.

5. KYB Revision Flow#

If you receive kyb_revision_needed:
1.
Retrieve rejection details from the Onboarding Events.
2.
Correct the identified data fields.
3.
Re-call POST /v1/onboarding/personal using the same borrower email and phone number — this links the new submission to the existing application.
4.
Wait for the next kyb.status_updated webhook.
Previous
Authentication
Next
Area Reference
Built with