Cancel Identity Verification
Cancels the identity verification in progress (kyc.status=IN_PROGRESS) for a registered cardholder. A cardholder works on only one verification at a time, and this endpoint cancels that one; kyc.status then becomes CANCELLED and verification can be started again. An approved or concluded verification cannot be canceled.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/cardholder/kyc/cancel |
| Auth | HMAC |
| Idempotency Key | Required via Idempotency-Key header |
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
cardholder_id | string | ✅ | chd_<id> of a registered cardholder |
level | string | — | Deprecated — kept for compatibility and ignored. Verification is no longer tracked per level |
http
Idempotency-Key: 9d3e1f7a-2b6c-4d8e-a0f1-5c7b9e2d4a63json
{ "cardholder_id": "chd_1024" }Response Fields
The updated Cardholder object.
json
{
"code": 0,
"message": "Success",
"data": {
"cardholder_id": "chd_1024",
"kyc": { "status": "CANCELLED", "retry_allowed": false, "retry_remaining": 0, "updated_at": "2026-11-02T11:20:33+08:00" },
"kyc_levels": [],
"...": "see the Cardholder object"
}
}Common Errors
| HTTP | code | error_key | Description |
|---|---|---|---|
| 200 | 40001 | validation_failed | Request body cannot be parsed |
| 200 | 40000 | openapi_invalid_cardholder_id | cardholder_id missing or malformed |
| 404 | 40400 | cardholder_not_found | No such cardholder on your account |
| 200 | 40000 | cardholder_not_registered | The cardholder is still a draft |
| 200 | 40000 | cardholder_kyc_not_in_progress | There is no verification in progress for this cardholder |
| 200 | 40000 | cardholder_kyc_cancel_linked | The verification was started by linking an existing verification (done by us at your request), which cannot be cancelled — the result is pushed via cardholder.status_changed |
| 200 | 40000 | cardholder_busy | Another operation on this cardholder is in progress — retry shortly with a new Idempotency-Key |
| 200 | 50000 | cardholder_provider_unavailable / cardholder_service_not_configured | Temporarily unavailable / not enabled |
| 200 | 50000 | openapi_cardholder_failed | Server error |
Plus the shared Idempotency-Key, auth (401) and rate-limit (429) errors.
Notes
- To verify again later, call
/cardholder/kyc/initwith the target header. - Requests that still send
levelkeep working: the field is ignored.