Changing
kycStatus through this API triggers the Updated webhook. The approved / rejected webhooks are not sent; the new status is delivered as a string in data.kyc_result. The same applies when a submission is edited from the dashboard.1. Endpoint
PATCH/Submission
2. Authentication
Include the API key in the “x-api-key” header:x-api-key
3. Request Body
The request body must be in JSON format. Below are the field descriptions:string
required
Administrator’s email address (must be registered in the dashboard).
string
required
Administrator’s email address (must be registered in the dashboard).
object
Object containing the fields to be updated.
4. Request Example
PATCH/Submission
5. Response
5-1. Success Response
result.json
5-2. Error Response
If an error occurs, a400 status code is returned with details in the response body:
error.json
5-3. Error Codes
6. Encryption Options
For enhanced security, the request body can be encrypted. When using encryption:- Encrypt the entire request body object.
- Send the encrypted string as the
dataparameter (not as abodyfield).
6-1. Encrypted Request Example
patch-encrypted.py
PATCH/Submission (Encrypted)
6-2. Encrypted Response
The response will include theisEncrypted flag and encrypted data:
result.json