Menu
API reference / Bitcoin transfers
Deposit destinations
Fetches bitcoin deposit destinations. These destinations are always valid, and can be used for receiving arbitrary amounts. Onchain addresses are refreshed every time a deposit is made, but all prior generated addresses are still valid.
GET https://api.bb.no/v1/deposit-destinations/bitcoin
Authentication
API key
Send x-bb-api-key. No nonce or signature is required.
Parameters
accountIdquery · stringIf empty, the default account is used.
Responses
200 · OK
application/jsonShow fields
onchainAddressDepositDestinationBitcoin address for on-chain deposits to the account.
Example: {"destination":"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","network":"NETWORK_BITCOIN"}
Show fields
destinationstringExample: "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
networkstring · enumValues: NETWORK_BITCOIN, NETWORK_LIGHTNING
Example: "NETWORK_BITCOIN"
lightningAddressDepositDestinationLightning address (name@bb.no) that accepts payments of any amount to the account.
Example: {"destination":"aktiv-anker@bb.no","network":"NETWORK_LIGHTNING"}
Show fields
destinationstringExample: "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
networkstring · enumValues: NETWORK_BITCOIN, NETWORK_LIGHTNING
Example: "NETWORK_BITCOIN"
lnurlPayDepositDestinationLNURL-pay code that accepts Lightning payments to the account.
Example: {"destination":"LNURL1DP68GURN8GHJ7CTSDYHXYC3WDEHJ7MRFVA58GMNFDENJ7MRWW4EXCTTSV9UN7CTRVDHH2MN584SKXC6LXQC5S526TQE4VW2TFG6Y6VJS8PFRV4PS2U64JD6ZGVN82UM9WG7N2C33VCEKXVN995UXZDRY956XVDNZ95UK2VNR95MKGVTPXP3RXCE5V56KVGK8387","network":"NETWORK_LIGHTNING"}
Show fields
destinationstringExample: "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
networkstring · enumValues: NETWORK_BITCOIN, NETWORK_LIGHTNING
Example: "NETWORK_BITCOIN"