Replace lender criteria
curl --request PUT \
--url https://api.nextlevelmca.com/v1/lenders/{id}/criteria \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true,
"reverse_consolidation": true
},
"extra_rules": [
{
"field": "<string>",
"value": "<string>",
"display_label": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
criteria: {
min_tib: 123,
min_monthly_revenue: 123,
min_deposits: 123,
min_avg_balance: 123,
industries: ['<string>'],
prohibited_industries: ['<string>'],
prohibited_states: ['<string>'],
min_credit_score: 123,
min_positions: 123,
max_positions: 123,
max_nsf_days: 123,
max_negative_days: 123,
funds_defaults: true,
funds_reversals: true,
no_recovery_activity: true,
min_funding_amount: 123,
max_funding_amount: 123,
term: 123,
lowest_days: 123,
highest_days: 123,
pay_daily: true,
pay_weekly: true,
pay_biweekly: true,
pay_monthly: true
},
products: {
mca: true,
term_loan: true,
loc: true,
equipment: true,
factoring: true,
reverse_consolidation: true
},
extra_rules: [{field: '<string>', value: '<string>', display_label: '<string>'}]
})
};
fetch('https://api.nextlevelmca.com/v1/lenders/{id}/criteria', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/lenders/{id}/criteria"
payload = {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": ["<string>"],
"prohibited_industries": ["<string>"],
"prohibited_states": ["<string>"],
"min_credit_score": 123,
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": True,
"funds_reversals": True,
"no_recovery_activity": True,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": True,
"pay_weekly": True,
"pay_biweekly": True,
"pay_monthly": True
},
"products": {
"mca": True,
"term_loan": True,
"loc": True,
"equipment": True,
"factoring": True,
"reverse_consolidation": True
},
"extra_rules": [
{
"field": "<string>",
"value": "<string>",
"display_label": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"data": {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"credit_score_range": "any",
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true,
"reverse_consolidation": true
},
"extra_rules": [
{
"field": "<string>",
"operator": "gte",
"value": "<string>",
"display_label": "<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>"
}
}Lenders
Replace lender criteria
Full replace. criteria overwrites every structured key (omitted keys are cleared; blank and false values are dropped); extra_rules replaces all extra rules (omit or send [] to clear); products only changes when sent. Read the current block first if you want to change one key. The change is written to the lender’s activity log.
PUT
/
v1
/
lenders
/
{id}
/
criteria
Replace lender criteria
curl --request PUT \
--url https://api.nextlevelmca.com/v1/lenders/{id}/criteria \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true,
"reverse_consolidation": true
},
"extra_rules": [
{
"field": "<string>",
"value": "<string>",
"display_label": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
criteria: {
min_tib: 123,
min_monthly_revenue: 123,
min_deposits: 123,
min_avg_balance: 123,
industries: ['<string>'],
prohibited_industries: ['<string>'],
prohibited_states: ['<string>'],
min_credit_score: 123,
min_positions: 123,
max_positions: 123,
max_nsf_days: 123,
max_negative_days: 123,
funds_defaults: true,
funds_reversals: true,
no_recovery_activity: true,
min_funding_amount: 123,
max_funding_amount: 123,
term: 123,
lowest_days: 123,
highest_days: 123,
pay_daily: true,
pay_weekly: true,
pay_biweekly: true,
pay_monthly: true
},
products: {
mca: true,
term_loan: true,
loc: true,
equipment: true,
factoring: true,
reverse_consolidation: true
},
extra_rules: [{field: '<string>', value: '<string>', display_label: '<string>'}]
})
};
fetch('https://api.nextlevelmca.com/v1/lenders/{id}/criteria', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/lenders/{id}/criteria"
payload = {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": ["<string>"],
"prohibited_industries": ["<string>"],
"prohibited_states": ["<string>"],
"min_credit_score": 123,
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": True,
"funds_reversals": True,
"no_recovery_activity": True,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": True,
"pay_weekly": True,
"pay_biweekly": True,
"pay_monthly": True
},
"products": {
"mca": True,
"term_loan": True,
"loc": True,
"equipment": True,
"factoring": True,
"reverse_consolidation": True
},
"extra_rules": [
{
"field": "<string>",
"value": "<string>",
"display_label": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"data": {
"criteria": {
"min_tib": 123,
"min_monthly_revenue": 123,
"min_deposits": 123,
"min_avg_balance": 123,
"industries": [
"<string>"
],
"prohibited_industries": [
"<string>"
],
"prohibited_states": [
"<string>"
],
"min_credit_score": 123,
"credit_score_range": "any",
"min_positions": 123,
"max_positions": 123,
"max_nsf_days": 123,
"max_negative_days": 123,
"funds_defaults": true,
"funds_reversals": true,
"no_recovery_activity": true,
"min_funding_amount": 123,
"max_funding_amount": 123,
"term": 123,
"lowest_days": 123,
"highest_days": 123,
"pay_daily": true,
"pay_weekly": true,
"pay_biweekly": true,
"pay_monthly": true
},
"products": {
"mca": true,
"term_loan": true,
"loc": true,
"equipment": true,
"factoring": true,
"reverse_consolidation": true
},
"extra_rules": [
{
"field": "<string>",
"operator": "gte",
"value": "<string>",
"display_label": "<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>"
}
}Authorizations
API key (nlmca_live_…) or OAuth access token
Path Parameters
Lender id
Body
application/json
Full replacement of the structured criteria. Keys you omit are cleared. Send {} to clear everything.
Show child attributes
Show child attributes
Products the lender writes. Unchanged when omitted.
Show child attributes
Show child attributes
Full replacement of the extra rules. Omit or send [] to remove them all.
Show child attributes
Show child attributes
Was this page helpful?