curl --request PATCH \
--url https://api.nextlevelmca.com/v1/offers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
'import requests
url = "https://api.nextlevelmca.com/v1/offers/{id}"
payload = {
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 2,
term: 2,
factor_rate: 2,
buy_rate: 2,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>',
status: '<string>',
decline_reason: '<string>',
decline_reason_details: '<string>',
failure_reason: '<string>',
failure_reason_details: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/offers/{id}', 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/offers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 2,
'term' => 2,
'factor_rate' => 2,
'buy_rate' => 2,
'payment_amount' => 1,
'payback_amount' => 1,
'position' => 2,
'points' => 50,
'notes' => '<string>',
'expires_at' => '<string>',
'status' => '<string>',
'decline_reason' => '<string>',
'decline_reason_details' => '<string>',
'failure_reason' => '<string>',
'failure_reason_details' => '<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/offers/{id}"
payload := strings.NewReader("{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.nextlevelmca.com/v1/offers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/offers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<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>"
}
}Update an offer
Partial update of terms and/or status. Status changes run the same workflow as the app: on the primary offer the deal status follows, and contracts_requested / contracts_out / contracts_signed move the deal stage per the location’s event bindings. When a primary offer is declined or fails, meta.requires_primary_reassign is true and meta.available_offers lists candidates. Use POST /deals/{id}/stage with mark_funded to fund.
curl --request PATCH \
--url https://api.nextlevelmca.com/v1/offers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
'import requests
url = "https://api.nextlevelmca.com/v1/offers/{id}"
payload = {
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 2,
term: 2,
factor_rate: 2,
buy_rate: 2,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>',
status: '<string>',
decline_reason: '<string>',
decline_reason_details: '<string>',
failure_reason: '<string>',
failure_reason_details: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/offers/{id}', 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/offers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'amount' => 2,
'term' => 2,
'factor_rate' => 2,
'buy_rate' => 2,
'payment_amount' => 1,
'payback_amount' => 1,
'position' => 2,
'points' => 50,
'notes' => '<string>',
'expires_at' => '<string>',
'status' => '<string>',
'decline_reason' => '<string>',
'decline_reason_details' => '<string>',
'failure_reason' => '<string>',
'failure_reason_details' => '<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/offers/{id}"
payload := strings.NewReader("{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.nextlevelmca.com/v1/offers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nextlevelmca.com/v1/offers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 2,\n \"term\": 2,\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 \"status\": \"<string>\",\n \"decline_reason\": \"<string>\",\n \"decline_reason_details\": \"<string>\",\n \"failure_reason\": \"<string>\",\n \"failure_reason_details\": \"<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
Offer id
Body
Funded amount offered, USD.
x >= 1Term length in term_unit.
x >= 1Unit of term.
days, weeks, months Factor rate, e.g. 1.35.
1 <= x <= 3Buy rate.
1 <= x <= 3Amount per payment.
x >= 0Payment cadence.
daily, weekly, bi-weekly, monthly Total payback.
x >= 0Position the advance would take.
x >= 1Commission points (percentage of the funded amount).
0 <= x <= 100Free-text notes.
5000When the offer expires (ISO 8601).
New status slug (e.g. waiting_on_stips, sold, contracts_requested, contracts_out, contracts_signed, merchant_declined). Deal-only statuses (new, submitted, declined, approved) are rejected. On the primary offer, contracts_requested/contracts_out/contracts_signed move the deal stage per the location’s event bindings. Use POST /deals/{id}/stage with mark_funded to fund; funded is not accepted here.
100Decline reason slug, for statuses that prompt for one.
100Extra decline details.
2000Failure reason slug, for statuses that prompt for one (e.g. funding_failed).
100Extra failure details.
2000Was this page helpful?