Cancel KYC Validation
Session-based validation
Cancel KYC Validation
Cancel a pending, in-progress, or in-review KYC validation β in the gu1 KYC API for identity verification flows, with examples for cancel validation use cases.
DELETE
Cancel KYC Validation
Overview
This endpoint allows you to cancel a KYC validation that is inpending, in_progress, or in_review status. When cancelled:
- The validation status changes to
cancelled - The provider session is terminated (user cannot access the verification URL anymore)
- The validation is marked as not current (
isCurrent: false) - You can create a new validation for the same entity afterward
When to Use This
- User requested cancellation: Customer no longer wants to complete verification
- Incorrect data: Entity information was entered incorrectly
- Duplicate validation: Validation was created by mistake
- Process restart needed: Need to start fresh with new verification session
Request
Endpoint
Path Parameters
The validation ID to cancel
Headers
Body Parameters
Reason for cancelling the validation (minimum 5 characters)Type:
string (min length: 5)Example: "User requested to cancel the verification process"Response
Success Response (200 OK)
Returns the updated validation object withcancelled status:
Example Request
Error Responses
Validation Not Found (404)
Invalid Status (400)
Validation can only be cancelled if status ispending, in_progress, or in_review:
Invalid Reason (400)
Reason must be at least 5 characters:Important Notes
Session is Deleted from Provider
Session is Deleted from Provider
When you cancel a validation, we attempt to delete the session from the KYC provider. The verification URL will no longer work for the user.
Audit Trail
Audit Trail
The cancellation reason is saved in the validation metadata and audit logs. This helps maintain compliance and track why validations were cancelled.
Cannot Cancel Completed Validations
Cannot Cancel Completed Validations
You cannot cancel validations that are already
approved, rejected, expired, abandoned, or cancelled. Only pending, in_progress, or in_review validations can be cancelled.Create New Validation After Cancellation
Create New Validation After Cancellation
After cancelling, you can create a new KYC validation for the same entity. The previous validation will remain in the history with
cancelled status.Next Steps
Create KYC Validation
Start a new verification session
Check Verification Status
Query validation results