curl --request PATCH \
--url https://public-test.blips.network/sandbox/lightning-execution-profile \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}
'import requests
url = "https://public-test.blips.network/sandbox/lightning-execution-profile"
payload = {
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({btcFiatSpreadBps: 28, lockPriceDurationSeconds: 90})
};
fetch('https://public-test.blips.network/sandbox/lightning-execution-profile', 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://public-test.blips.network/sandbox/lightning-execution-profile",
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([
'btcFiatSpreadBps' => 28,
'lockPriceDurationSeconds' => 90
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"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://public-test.blips.network/sandbox/lightning-execution-profile"
payload := strings.NewReader("{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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://public-test.blips.network/sandbox/lightning-execution-profile")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/sandbox/lightning-execution-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}"
response = http.request(request)
puts response.read_body{
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}Update sandbox Lightning execution profile
Partially update the platform-scoped Sandbox Lightning Network Execution Profile singleton. Only btcFiatSpreadBps and lockPriceDurationSeconds are writable. Updated values affect newly created quotes after corridor confirmation; existing quotes keep their stored snapshot and POST /quotes remains the sole outward quote truth source.
curl --request PATCH \
--url https://public-test.blips.network/sandbox/lightning-execution-profile \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}
'import requests
url = "https://public-test.blips.network/sandbox/lightning-execution-profile"
payload = {
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({btcFiatSpreadBps: 28, lockPriceDurationSeconds: 90})
};
fetch('https://public-test.blips.network/sandbox/lightning-execution-profile', 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://public-test.blips.network/sandbox/lightning-execution-profile",
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([
'btcFiatSpreadBps' => 28,
'lockPriceDurationSeconds' => 90
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"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://public-test.blips.network/sandbox/lightning-execution-profile"
payload := strings.NewReader("{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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://public-test.blips.network/sandbox/lightning-execution-profile")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/sandbox/lightning-execution-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"btcFiatSpreadBps\": 28,\n \"lockPriceDurationSeconds\": 90\n}"
response = http.request(request)
puts response.read_body{
"btcFiatSpreadBps": 28,
"lockPriceDurationSeconds": 90
}Authorizations
Integration-key Basic Auth (clientId:clientSecret) as documented in docs/public/AUTHENTICATION.md.
Headers
Optional platform scope selector for sandbox multitenant/internal compatibility. Basic-auth integration requests normally omit this header because platform context is derived from credentials. If supplied, it must be a UUIDv4 value.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$Body
Partial update payload for the Sandbox Lightning Network Execution Profile singleton. Only the writable execution-profile inputs are accepted.
Response
Updated sandbox Lightning execution profile returned.
Platform-scoped sandbox execution-profile input used during quote creation after corridor confirmation.
Platform-scoped BTC/fiat spread input in basis points. Sender and receiver platform values are summed at quote time to derive the effective corridor spread.
0 <= x <= 10000Platform-scoped quote lock-duration input in seconds. Sender and receiver platform values are combined at quote time by taking the shorter duration.
30 <= x <= 3600