Mu
Search
K
💰

Payments

Start accepting Bitcoin payments.

Getting Started

Requesting payments from a user requires the user to be logged into Mu, and have an available BTC balance to transfer from.
To request a payment from a user you need to use this method:
const payment request = await mu.payments.request({
amount: 0.2
});
Once you pass the amount, Mu will work the correct value Satoshis and request payment from the user. Once the payment request is accepted by the user the transaction will be complete.
Last modified 1mo ago