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)
  • URL: https://api.babyblueviper.com/withdraw-to-address
  • Auth: none required

Headers

authorizationstring nullable

Request body

lightning_addressstring required

LN address like user@domain

amount_satsinteger required
commentstring nullable

Optional LNURL-pay comment (truncated if exceeds commentAllowed)

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.