Error codes

VERIFICATION_REQUIRED

The person or business must be verified first.

Exit code: 6 · Who acts: You or another person, after you read the current state, or by waiting · From: the CLI, the SDK and the backend

What it means

The person or business must be verified first.

Common causes

  • Bank payouts and some currencies need identity or business verification.

Fix it

  1. Start verification: capxul verify start.
  2. Check progress: capxul verify status.

In JSON and the SDK

With --json, the CLI prints:

{
  "outcome": "refused",
  "error": {
    "code": "VERIFICATION_REQUIRED",
    "message": "…"
  }
}

In the SDK, a failed result has result.error.code === "VERIFICATION_REQUIRED". Branch on the code, not on the message: the message is written for people and can change.

Commands that can answer with it

On this page