mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
import { receivePayment } from "@breeztech/react-native-breez-sdk"
|
|
|
|
const exampleReceiveLightningPayment = async () => {
|
|
// ANCHOR: receive-payment
|
|
const invoice = await receivePayment({
|
|
amountMsat: 3000000,
|
|
description: "Invoice for 3000 sats"
|
|
})
|
|
// ANCHOR: receive-payment
|
|
}
|