Skip to content

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 ​

ItemValue
MethodPOST
Path/api/v1/openapi/cardholder/kyc/cancel
AuthHMAC
Idempotency KeyRequired via Idempotency-Key header

Request Fields ​

FieldTypeRequiredDescription
cardholder_idstring✅chd_<id> of a registered cardholder
levelstring—Deprecated — kept for compatibility and ignored. Verification is no longer tracked per level
http
Idempotency-Key: 9d3e1f7a-2b6c-4d8e-a0f1-5c7b9e2d4a63
json
{ "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 ​

HTTPcodeerror_keyDescription
20040001validation_failedRequest body cannot be parsed
20040000openapi_invalid_cardholder_idcardholder_id missing or malformed
40440400cardholder_not_foundNo such cardholder on your account
20040000cardholder_not_registeredThe cardholder is still a draft
20040000cardholder_kyc_not_in_progressThere is no verification in progress for this cardholder
20040000cardholder_kyc_cancel_linkedThe 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
20040000cardholder_busyAnother operation on this cardholder is in progress — retry shortly with a new Idempotency-Key
20050000cardholder_provider_unavailable / cardholder_service_not_configuredTemporarily unavailable / not enabled
20050000openapi_cardholder_failedServer error

Plus the shared Idempotency-Key, auth (401) and rate-limit (429) errors.

Notes ​

  • To verify again later, call /cardholder/kyc/init with the target header.
  • Requests that still send level keep working: the field is ignored.

Released under MIT-equivalent terms.