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,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
'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,
"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)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,
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));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nextlevelmca.com/v1/deals/{dealId}/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lender_id' => '<string>',
'amount' => 2,
'term' => 2,
'submission_id' => '<string>',
'term_unit' => 'months',
'factor_rate' => 2,
'buy_rate' => 2,
'payment_amount' => 1,
'payback_amount' => 1,
'position' => 2,
'points' => 50,
'notes' => '<string>',
'expires_at' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nextlevelmca.com/v1/deals/{dealId}/offers"
payload := strings.NewReader("{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nextlevelmca.com/v1/deals/{dealId}/offers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/deals/{dealId}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 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",
"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,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>"
}
'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,
"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)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,
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));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nextlevelmca.com/v1/deals/{dealId}/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'lender_id' => '<string>',
'amount' => 2,
'term' => 2,
'submission_id' => '<string>',
'term_unit' => 'months',
'factor_rate' => 2,
'buy_rate' => 2,
'payment_amount' => 1,
'payback_amount' => 1,
'position' => 2,
'points' => 50,
'notes' => '<string>',
'expires_at' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nextlevelmca.com/v1/deals/{dealId}/offers"
payload := strings.NewReader("{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nextlevelmca.com/v1/deals/{dealId}/offers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/deals/{dealId}/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"lender_id\": \"<string>\",\n \"amount\": 2,\n \"term\": 2,\n \"submission_id\": \"<string>\",\n \"term_unit\": \"months\",\n \"factor_rate\": 2,\n \"buy_rate\": 2,\n \"payment_amount\": 1,\n \"payback_amount\": 1,\n \"position\": 2,\n \"points\": 50,\n \"notes\": \"<string>\",\n \"expires_at\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 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",
"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, e.g. 1.35. Used to compute payback_amount when that is omitted.
1 <= x <= 3Buy rate (lender’s rate before commission).
1 <= x <= 3Amount 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 points (percentage of the funded amount).
0 <= x <= 100Free-text notes.
5000When the offer expires (ISO 8601).
Was this page helpful?