v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Initiate Bitcoin Lightning Withdrawal

Send funds from a Bitcoin account using the Lightning Network

post/wallets/send/initiate/lightning

Headers

api-keystring required

api-key is available on the dashboard

Authorizationstring required

Request body

userIdstring required

The Id of the user who is sending this transaction

sourceAccountIdstring required

The Id of the account to debit

invoicestring required

BOLT11 Invoice

fixedFeestring

Optional fixedFee in Euro cents to override the default application fee configuration. This amount can only be <= the default configured amount for this transaction type.

percentFeeBpsstring

Optional percentage fee in bps to override the default application fee configuration. This amount can only be <= the default configured amount for this transaction type.

verificationMethod'sms' | 'passkey' | 'totp'

SCA factor — one of sms (default), totp, or passkey. All factors accepted (BTC source is non-regulated).

Response

200

challengeIdstring
dateExpiresstring

Example response

{
  "challengeId": "5b7b46ba-8c7a-4df0-8a0e-b46788e9a5d1",
  "dateExpires": "2022-11-10T14:15:49.136Z"
}