credit

Withdraw To Address

Withdraw to a Lightning address (LNURL-pay).

Resolves user@domain → LNURL-pay metadata → fetches BOLT11 from callback → pays via the same path as /withdraw. Auth: Bearer api_key (the account being debited).

Use cases: treasury → external payee (LN Markets deposit, exchange, contractor). Single API call replaces the prior manual flow (curl LNURL → request BOLT11 → POST /withdraw).

post/withdraw-to-address

Request

  • Base URL
    https://api.babyblueviper.com (the document declares no server; this is the origin it was published from)
  • Auth
    none required

Headers

authorization, string nullable

Request body

WithdrawToAddressRequest required
lightning_address, string required

LN address like user@domain

amount_sats, integer required
comment, string nullable

Optional LNURL-pay comment (truncated if exceeds commentAllowed)

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 69 revisions of this API.