curl --request POST \
--url https://api.nextlevelmca.com/v1/deals/{dealId}/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lender_id": "<string>",
"amount": 2,
"term": 2,
"submission_id": "<string>",
"term_unit": "months",
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lender_id: '<string>',
amount: 2,
term: 2,
submission_id: '<string>',
term_unit: 'months',
factor_rate: 2,
buy_rate: 2,
max_upsell_points: 50,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/deals/{dealId}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/deals/{dealId}/offers"
payload = {
"lender_id": "<string>",
"amount": 2,
"term": 2,
"submission_id": "<string>",
"term_unit": "months",
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 123,
"max_upsell_points": 123,
"term": 123,
"term_unit": "days",
"payment_frequency": "daily",
"payment_amount": 123,
"payback_amount": 123,
"points": 123,
"commission_estimate": 123,
"position": 123,
"status": "<string>",
"status_name": "<string>",
"status_type": "open",
"revision": 123,
"supersedes_offer_id": "<string>",
"superseded_by_offer_id": "<string>",
"superseded_at": "2023-11-07T05:31:56Z",
"is_primary": true,
"is_selected": true,
"notes": "<string>",
"decline_reason": "<string>",
"merchant_response": "<string>",
"expires_at": "<string>",
"received_at": "<string>",
"accepted_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>"
}
}Log an offer
Records a lender offer manually. Side effects mirror the app: the submission to that lender is marked approved (or created as approved), the deal moves to the offer phase on the first offer (per the location’s event bindings), and payback_amount defaults to amount × factor_rate. The offer is not primary until you call POST /offers/{id}/primary. Send an Idempotency-Key to retry safely.
curl --request POST \
--url https://api.nextlevelmca.com/v1/deals/{dealId}/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lender_id": "<string>",
"amount": 2,
"term": 2,
"submission_id": "<string>",
"term_unit": "months",
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
lender_id: '<string>',
amount: 2,
term: 2,
submission_id: '<string>',
term_unit: 'months',
factor_rate: 2,
buy_rate: 2,
max_upsell_points: 50,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/deals/{dealId}/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/deals/{dealId}/offers"
payload = {
"lender_id": "<string>",
"amount": 2,
"term": 2,
"submission_id": "<string>",
"term_unit": "months",
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 123,
"max_upsell_points": 123,
"term": 123,
"term_unit": "days",
"payment_frequency": "daily",
"payment_amount": 123,
"payback_amount": 123,
"points": 123,
"commission_estimate": 123,
"position": 123,
"status": "<string>",
"status_name": "<string>",
"status_type": "open",
"revision": 123,
"supersedes_offer_id": "<string>",
"superseded_by_offer_id": "<string>",
"superseded_at": "2023-11-07T05:31:56Z",
"is_primary": true,
"is_selected": true,
"notes": "<string>",
"decline_reason": "<string>",
"merchant_response": "<string>",
"expires_at": "<string>",
"received_at": "<string>",
"accepted_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>"
}
}Authorizations
API key (nlmca_live_…) or OAuth access token
Path Parameters
Deal id
Body
Lender making the offer. A submission to this lender is auto-created or marked approved.
Funded amount offered, USD.
x >= 1Term length in term_unit.
x >= 1Submission the offer answers. Must belong to the same deal.
Unit of term.
days, weeks, months Factor rate the merchant pays, e.g. 1.35. Used to compute payback_amount when that is omitted. Defaults to buy_rate when only a buy rate is given (a buy-rate offer starts at the buy rate).
1 <= x <= 3Buy rate, only when the lender quoted one ("1.25 buy rate, max upsell 12"). The commission on a buy-rate offer is the spread between factor_rate and buy_rate, so leave points out.
1 <= x <= 3With buy_rate only: the most the broker may add, in factor points (12 = 0.12). "Max upsell 12" or "up to 12 points" on a buy rate goes here, not in points.
0 <= x <= 100Amount per payment.
x >= 0Payment cadence.
daily, weekly, bi-weekly, monthly Total payback. Defaults to amount × factor_rate.
x >= 0Position the advance would take (1 = first).
x >= 1Commission % of the funded amount ("1.49 at 12%"), for flat-rate offers. Not allowed with buy_rate.
0 <= x <= 100Free-text notes.
5000When the offer expires (ISO 8601).
Was this page helpful?