Compliance
Submit a compliance application
Changed onSubmit a new compliance application with end-user details and supporting documents. One application is allowed per organization per country per number type per user type.
The request uses multipart/form-data because documents are uploaded inline. The endUser and documents fields are JSON strings embedded in the form data.
post/compliance/applications
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/compliance/applications
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"countryIso": "IN",
"numberType": "local",
"userType": "business",
"endUser": "{\"name\":\"Acme Corp\",\"email\":\"legal@acme.com\",\"addressLine1\":\"123 Main St\",\"city\":\"Mumbai\",\"state\":\"MH\",\"postalCode\":\"400001\",\"country\":\"IN\"}",
"documents": "[{\"documentTypeId\": \"dt_123\", \"dataFields\": {\"business_name\": \"Acme Corp\"}}]"
}Response
Application submitted successfully
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/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
- info
endpoint added
- info