Submission
PATCH/Submission
This API allows you to modify the KYC data of an existing submission. Note that modified data can be further updated but cannot be reverted to its original state.
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:
Unique ID of the submission to be modified.
Administrator’s email address (must be registered in the dashboard).
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, a 400
status code is returned with details in the response body:
error.json
5-3. Error Codes
Error Code | Description |
---|---|
API-Key is required. | API key is missing. |
The project is not found. | Project not found. |
Decryption is Failed. Please check the api-key. | Data decryption failed. |
Data Processing Error. | Data encryption failed. |
data parsing error. please check input data. | Data parsing error. |
submissionId is required. | submissionId is missing. |
projectId or x-api-key is required. | projectId or x-api-key is missing. |
admin is required. | admin information is missing. |
At least one property to modify is required. | No property to modify was provided. |
Invalid idType. Please check the idType. | Invalid ID type. |
Invalid kyc status. Please check the kycStatus. | Invalid KYC status. |
Invalid gender. Please check the gender. | Invalid gender value. |
Invalid issuingCountry. Please enter a valid ISO 3166-1 alpha-3. | Invalid issuing country code. |
Invalid nationality. Please enter a valid ISO 3166-1 alpha-3. | Invalid nationality code. |
Invalid birthDate. Please enter the date as YYYY-MM-DD | Invalid birth date format. |
Invalid issueDate. Please enter the date as YYYY-MM-DD | Invalid issue date format. |
Invalid expireDate. Please enter the date as YYYY-MM-DD | Invalid expiration date format. |
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
body
parameter.
6-1. Encrypted Request Example
result.json
6-2. Encrypted Response
The response will include the isEncrypted
flag and encrypted data:
result.json
Was this page helpful?