What happened
You attempted an operation that requires the customer to have completed the onboarding process, but the customer is not fully onboarded. This returns HTTP 422 with error codeCUSTOMER_NOT_ONBOARDED.
Common causes
- Onboarding not started — no application has been submitted for this customer
- Application still in review — the customer’s application has been submitted but has not been approved yet
- Application rejected — the customer’s application was reviewed and rejected
Recovery
1. Check the customer’s current state Retrieve the customer to see their onboarding status:country is required (ISO-3166 alpha-3) and drives which rules fire:
application.approved or application.rejected webhook events:
Do not poll for application status. Configure a webhook endpoint and Conduit will notify you when the review is complete.
Prevention
- Complete the onboarding flow before performing operations that require a business profile — wallet creation, quotes, and transactions all require an onboarded customer
- Listen for webhook events — use
application.approvedto trigger downstream operations automatically, rather than attempting operations and handling this error - Track onboarding state in your system — maintain a local record of which customers have completed onboarding so you can prevent premature API calls
Related endpoints
- GET /v2/customers/:id — retrieve customer details
- GET /v2/applications — list applications for a customer
- GET /v2/onboarding/requirements — check onboarding requirements
- POST /v2/onboarding — submit an onboarding application