delete
Important Notice:
- All request and response parameters are strictly subject to the official API documentation.
- The API response may contain fields not defined in the documentation. These fields are for internal debugging purposes only and are not guaranteed to be stable or compatible. Do not rely on these fields in production environments. ZOLOZ reserves the right to modify or remove these fields at any time without prior notice.
Overview
- API URL: POST /api/v1/zoloz/applicant/delete
- API Description: This API is used to permanently delete the specified applicant and its associated KYC data under the current merchant.
Notes:
- This API performs a physical deletion. After successful deletion, the applicant record under the current merchant, as well as the KYC data copies attributed to the applicant (including document data, face data, and corresponding stored files), will be permanently deleted and cannot be recovered. The source RealID transaction data is not affected.
- Data that has already been shared with other merchants and formed independent copies will not be cascaded for deletion.
- This API does not support idempotent calls. After an applicant is successfully deleted, calling this API again with the same
applicantIdwill returnAPPLICANT_NOT_FOUND. - Before calling this API, carefully confirm the
applicantIdand the scope of deletion. The deletion operation is irreversible. No further action is required after successful execution.
Request Parameters
Field Name | Data Type | Max Length | Required | Default Value | Description | Example |
bizId | String | 32 | Yes | - | A unique business ID for tracing purposes. For example, the sequence ID from the merchant's business-related database. Note: The ZOLOZ server does not perform uniqueness checks on the value of this field. For better tracking, it is strongly recommended to enable the merchant server to guarantee the uniqueness of the business ID. | 2026053000012 |
applicantId | String | 50 | Yes | - | The ZOLOZ applicant ID to be deleted. The applicant must belong to the current merchant. | APHK_a1b2c3d4e5f6 |
Response Parameters
Field Name | Data Type | Always Returned | Description | Example |
result | Yes | The API request result, which contains the result status, result code, and result message. | { "resultStatus": "S", "resultCode": "SUCCESS", "resultMessage": "Success" } | |
transactionId | String | No | The transaction ID for this API call, which can be used for business tracking and troubleshooting. Note: The system will only return the
| G000000005FID2020030400000000000157**** |
Response Rules
Processing Result | Returned Content |
Deletion Successful | Returns |
Applicant Not Found | Returns |
Deletion Failed | Returns |
Deletion Impact
Data or Behavior | Deletion Result |
Applicant under the current merchant | Permanently deleted and cannot be recovered. |
KYC data associated with the applicant under the current merchant | Permanently deleted along with the applicant. |
Independent data copies already shared with other merchants | Not cascaded for deletion. Other merchants' data copies are not affected. |
Query or operation with the same | The applicant no longer exists. Relevant APIs will handle it as |
Calling this API again after deletion | Returns |
Result
For different request results, different actions will be performed. See the following for details:
- When
result.resultCode = SUCCESS: The applicant and its associated KYC data under the current merchant have been deleted. - When
result.resultCode = APPLICANT_NOT_FOUND: The applicant corresponding to the providedapplicantIddoes not exist, does not belong to the current merchant, or has already been deleted. - When
result.resultStatus = F: The deletion failed. Check the returnedresultCodeandresultMessageto identify issues with request parameters or system errors.
Common error codes
For the full list of common error codes, see the Common error codes section in the Error handling topic.
API-specific error codes
The error codes specific to the Reusable RealID delete API are listed in the table below.
resultCode | resultStatus | Description |
SUCCESS | S | The applicant and its associated KYC data under the current merchant have been deleted. |
APPLICANT_NOT_FOUND | F | The applicant corresponding to the provided |
INVALID_ARGUMENT | F | Invalid input parameters. Possible causes include missing required parameters, field length exceeded, etc. For detailed error information, check the returned |
SYSTEM_ERROR | F | Internal system error. For error details, check the returned |
Sample
Request Sample
{
"bizId": "2026053000012",
"applicantId": "APHK_a1b2c3d4e5f6"
}Response Sample
Successful Response
{
"result": {
"resultStatus": "S",
"resultCode": "SUCCESS",
"resultMessage": "Success"
},
"transactionId": "G000000005FID20200304000000000001570702"
}Applicant Not Found Response
{
"result": {
"resultStatus": "F",
"resultCode": "APPLICANT_NOT_FOUND",
"resultMessage": "Applicant not found."
},
"transactionId": "G000000005FID20200304000000000001570703"
}