Skip to content

PRICE_UNAVAILABLE

An invoice settling in BTC couldn’t be priced just now. An invoice in BTC is priced in USD, so the amount of BTC is locked from live quotes when the invoice is created, and checked again when the customer starts paying. This error means no route quoted, or the quotes disagreed by more than 3%. Either way, no reliable price could be set, so nothing was created and nothing was charged.

HTTP status
503 Service Unavailable
Code
PRICE_UNAVAILABLE
  • Retry in a few seconds. details.retryable is true, and it’s usually a provider being slow or briefly unavailable.
  • If it keeps happening, create the invoice settling in a USD stablecoin instead, which never needs a price.

A customer who sees this while paying can simply try again. Their invoice is unchanged.

{ "error": { "code": "PRICE_UNAVAILABLE", "message": "…" } }