| Parameter | Description |
|---|
{id} | The unique application identifier returned during application creation or listing endpoints. |
bearer token | The auth token returned by `/oauth2/token |
❕Make sure the application is DRAFT mode before submission
| Field Name | Type | Description |
|---|
status | String | Status of the API request (SUCCESS, FAILED). |
success | Boolean | Indicates if the API request was successful. |
result | String | The result of the API request (e.g., "Application submitted successfully"). |
statusCode | String (Optional) | The HTTP status code of the API response. |
errors | Array of Strings | Any errors encountered during the API request. |
customProperties | Object (Optional) | Additional custom properties for the API response. |
❗️
- After a successful submission, the application status will change to SUBMITTED and cannot be edited further.
- Notify relevant internal teams (e.g., Risk and Operations) of the submission for processing.
curl --request POST \
--url https://api-sandbox.flexfactor.io/v1/application/{id}/submit \
--header 'Authorization: Bearer {the token returned by /oauth2}' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"status": "SUCCESS",
"success": true,
"result": "Application submitted successfully.",
"statusCode": "200",
"errors": [],
"customProperties": {}
}
{
"status": "FAILED",
"success": false,
"result": null,
"statusCode": "400",
"errors": [
"Application is already submitted.",
"Invalid application ID."
],
"customProperties": {}
}
❕After receiving a successful response, update the application status in your CRM or internal system to SUBMITTED for accurate tracking.