Compliance

Resubmit a rejected compliance application

Changed on

Resubmit a previously rejected compliance application with corrected documents. Only applications in rejected status can be resubmitted. All documents must be re-uploaded — partial updates are not supported.

File/document count must match exactly. Mismatch returns 400 with message "Expected X files, got Y".

patch/compliance/applications/{id}

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/compliance/applications/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The compliance application ID

Request body multipart/form-data

documentsstring required

JSON string containing an array of document metadata. Same format as the create endpoint.

filesstring[] required

Replacement document files. Must match the length of the documents array. Accepted formats: PDF, JPEG, PNG. Maximum 5 MB per file.

Example request

{
  "documents": "[{\"documentTypeId\": \"dt_123\", \"dataFields\": {\"business_name\": \"Acme Corp\"}}]"
}

Response

Application resubmitted successfully

statusboolean

Example response

{
  "status": true,
  "data": {
    "_id": "663f1a2b4c5d6e7f8a9b0c1d",
    "alias": "663f1a2b-IN-production",
    "status": "submitted",
    "countryIso": "IN",
    "numberType": "local",
    "userType": "business",
    "endUserName": "Acme Corp",
    "endUserCountry": "IN",
    "documentFileNames": [
      "certificate_of_incorporation.pdf"
    ]
  }
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added