Skip to main content

Lightning wallets

Accept Lightning Payments From Muun Wallet Users

Muun is a self-custodial bitcoin and Lightning wallet that pays invoices using submarine swaps. Accept Lightning through the Amboss Payments API and you can receive from Muun users directly, with the rail invisible to the payer.

The rail is invisible to the payer

Your customer never has to think about Bitcoin or Lightning. They send from Muun; you accept Lightning once and receive from anyone who can pay an invoice.

Step 1

A Muun user

holds bitcoin in Muun and chooses to send a payment over the Lightning Network.

Step 2

The Lightning Network

routes the payment in seconds. Neither side picks a "rail" — Lightning is the shared standard.

Step 3

Your business

receives the settled payment through the Amboss Payments API, the same way for every wallet.

Yes. Muun is a self-custodial bitcoin and Lightning wallet, so Muun users can pay any standard Lightning invoice, and a business that accepts Lightning through the Amboss Payments API can receive from them directly. Muun describes itself as "a self-custodial wallet for bitcoin and lightning", so accepting Lightning turns those users into people who can pay you, with the rail invisible to the payer.

Does Muun support Lightning?

Yes, for both sending and receiving, from a single balance. The detail that matters is how Muun gets there: it holds on-chain bitcoin and uses submarine swaps to settle Lightning invoices, so a Muun wallet Lightning payment reaches you as standard off-chain settlement against the invoice you created.

CapabilityMuun over Lightning
Send over LightningYes, by scanning an invoice
Receive over LightningYes
Lightning mechanismSubmarine swaps from a single on-chain balance
Channel managementNone for the user; handled automatically
CustodySelf-custodial (2-of-2 multisig, user holds keys)
Cost to sendLightning routing fee plus a swap fee

The Muun engineering blog describes the sending experience directly:

You will still have your funds in one single wallet in Muun, and the whole payment process is the same as an on-chain payment.

Behind that simple flow is a submarine swap, a primitive Lightspark defines in its glossary entry on submarine swaps:

A mechanism for moving bitcoin between the main blockchain and the Lightning Network.

You do not need to know any of this to get paid. The Muun user scans your invoice, the wallet performs the swap, and a normal Lightning payment lands on your side, as the Muun blog on Lightning payments explains.

How do you receive payments from Muun users?

You do not build a Muun integration. You accept Lightning once and every Muun user becomes a potential payer. The flow is four steps:

  1. Integrate the Amboss Payments API and create a Lightning invoice for the order amount.
  2. Show the invoice to the customer as a QR code or a copyable string at checkout.
  3. The customer scans it inside Muun and confirms the send from their single balance.
  4. The payment routes over Lightning and settles to you in seconds. You fulfill the order.

The payer never chooses a network and never needs an account with you. Live network capacity and routing data are published on the Amboss Space Lightning explorer.

How do you integrate Muun receiving into checkout?

Receiving from Muun is the standard Lightning receive flow: create an invoice, then confirm settlement. A Lightning invoice is a self-contained string defined by the BOLT 11 payment-encoding specification, so the same code path accepts Muun, Cash App, and any other Lightning sender.

The Amboss Payments API is GraphQL. A single create_receive mutation returns the BOLT 11 invoice you show the customer:

mutation CreateReceive {
  payment {
    transaction {
      create_receive(
        input: {
          wallet_id: "your-wallet-id"
          amount: "50000"
          description: "Order #1234"
        }
      ) {
        status
        payment_request
        payment_hash
      }
    }
  }
}

Send it to the https://rails.amboss.tech/graphql endpoint with your x-api-key. The payment_request field is the lnbc... string you render as a QR code, and you confirm settlement with the payment.completed webhook, as documented in the Amboss Payments API documentation. Lightning settles atomically, so there is no pending state that reverses a week later.

Where does Amboss Payments fit?

Lightning is an open standard, which is why a single integration receives from every wallet, whether the sender holds Lightning balances directly or swaps in from on-chain like Muun. Amboss Payments gives you that integration as a managed API, with no node to operate, so accepting a Muun customer is the same as accepting anyone else on the Lightning Network. If you want to talk through volume, settlement, or pricing, contact the Amboss team.

Frequently asked questions

Common questions about receiving Lightning payments from Muun users.

Start accepting payments from Muun users

The Amboss Payments API gives you a single Lightning integration that receives from Muun and every other Lightning wallet. Get started on Rails, read the docs, or book a discovery call.