Skip to main content
PATCH
/
sandbox
/
lightning-execution-profile
Update sandbox Lightning execution profile
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
}
'
{ "btcFiatSpreadBps": 28, "lockPriceDurationSeconds": 90 }

Authorizations

Authorization
string
header
required

Integration-key Basic Auth (clientId:clientSecret) as documented in docs/public/AUTHENTICATION.md.

Headers

X-Platform-Id
string

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.

Pattern: ^[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

application/json

Partial update payload for the Sandbox Lightning Network Execution Profile singleton. Only the writable execution-profile inputs are accepted.

btcFiatSpreadBps
integer

Platform-scoped BTC/fiat spread input in basis points.

Required range: 0 <= x <= 10000
lockPriceDurationSeconds
integer

Platform-scoped quote lock-duration input in seconds.

Required range: 30 <= x <= 3600

Response

Updated sandbox Lightning execution profile returned.

Platform-scoped sandbox execution-profile input used during quote creation after corridor confirmation.

btcFiatSpreadBps
integer
required

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.

Required range: 0 <= x <= 10000
lockPriceDurationSeconds
integer
required

Platform-scoped quote lock-duration input in seconds. Sender and receiver platform values are combined at quote time by taking the shorter duration.

Required range: 30 <= x <= 3600