Common Errors with Deposit Account Creation

The error below will be returned if you try create a deposit account for a customer that has not completed KYC.

{
    "errors": [
        {
            "title": "Precondition Failed",
            "status": "412",
            "detail": "Customer has not completed the required kyc level."
        }
    ]
}

To resolve above issue, call the endpoint to validate KYC for the customer:

For Individual Customers KYC: https://docs.getanchor.co/reference/kyc-validation
For Business Customers KYB: https://docs.getanchor.co/reference/kyc-validation_1