Refresh a submission’s status from the funder
curl --request POST \
--url https://api.nextlevelmca.com/v1/submissions/{id}/check-status \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/submissions/{id}/check-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/submissions/{id}/check-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"status": "pending",
"submission_method": "email",
"api": {
"id": "<string>",
"submission_id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"funder_api_spec_id": "<string>",
"environment": "development",
"external_id": "<string>",
"funder_status": "<string>",
"internal_status": "queued",
"deep_link_url": "<string>",
"error_message": "<string>",
"error_code": "auth_failed",
"attempt_number": 123,
"submitted_at": "<string>",
"last_polled_at": "<string>",
"next_poll_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"can_retry": true,
"retry_after_seconds": 123
},
"response_type": "<string>",
"response_notes": "<string>",
"decline_reason": "<string>",
"decline_category": "<string>",
"requested_items": [
"<string>"
],
"match_score": 123,
"match_eligible": true,
"submitted_by_id": "<string>",
"submitted_at": "<string>",
"responded_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Submissions
Refresh a submission’s status from the funder
Asks the funder for the application’s current status right now, bypassing the poll schedule (every 15 minutes for 2 hours, hourly to 24 hours, every 6 hours to 7 days, then stale). Only for lenders on an API integration whose funder has acknowledged the application (api.external_id); 400 otherwise, 404 when the submission never went through an API. A new funder status flows into status; offers the funder returns are logged on the deal (identical options are collapsed, none is made primary) and the pipeline moves as usual. A transport error is recorded on api.error_message — it does not mean the funder lost the application. Idempotent.
POST
/
v1
/
submissions
/
{id}
/
check-status
Refresh a submission’s status from the funder
curl --request POST \
--url https://api.nextlevelmca.com/v1/submissions/{id}/check-status \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/submissions/{id}/check-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/submissions/{id}/check-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"status": "pending",
"submission_method": "email",
"api": {
"id": "<string>",
"submission_id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"funder_api_spec_id": "<string>",
"environment": "development",
"external_id": "<string>",
"funder_status": "<string>",
"internal_status": "queued",
"deep_link_url": "<string>",
"error_message": "<string>",
"error_code": "auth_failed",
"attempt_number": 123,
"submitted_at": "<string>",
"last_polled_at": "<string>",
"next_poll_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"can_retry": true,
"retry_after_seconds": 123
},
"response_type": "<string>",
"response_notes": "<string>",
"decline_reason": "<string>",
"decline_category": "<string>",
"requested_items": [
"<string>"
],
"match_score": 123,
"match_eligible": true,
"submitted_by_id": "<string>",
"submitted_at": "<string>",
"responded_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Was this page helpful?