Skip to main content

Payouts

Congratulations on the success of your app! 😄 Since moneydevkit is self-custodial, you’ll need to provide a payout destination in your environment variables so your node knows where to send your payouts. Right now we support payouts over lightning withLNURL and Bolt12 Offers.
MethodENV VARNote
LNURLWITHDRAWAL_LNURLSupport for LNAddress (name@domain)
Bolt12WITHDRAWAL_BOLT12
When you choose and amount and click “Pay” we send a webhook to your app with the amount. You app pays to the LNAddress or Bolt12 offer you have configured.

Payout Examples

How do I payout to CashApp?

Make sure you have a CashApp account with the ability to send and receive Bitcoin. CashApp uses LNURL. Find your CashTag by tapping your profile picture in the top right of CashApp. Your cashtag will have a $ sign in front of it. Make your WITHDRAWAL_LNURL your cashtag@cash.app. Do not include the $.
WITHDRAWAL_LNURL=cashtag@cash.app
Use payouts as normal.

How do I Payout to Phoenix wallet?

Tap “Receive” then select “Reusable” for a Bolt12 offer. Tap “Copy” then copy “Lightning Bolt12.” Your Bolt12 offer should start with lno . Add your Bolt12 offer to WITHDRAWAL_BOLT12 in your app.
WITHDRAWAL_BOLT12=lno...