diff --git a/snippets/react-native/closed_channel.ts b/snippets/react-native/closed_channel.ts index 6aa1b105..bf674748 100644 --- a/snippets/react-native/closed_channel.ts +++ b/snippets/react-native/closed_channel.ts @@ -7,7 +7,7 @@ const examplePrepareRedeemOnchainFunds = async (feeRate: number) => { // ANCHOR: prepare-redeem-onchain-funds try { const toAddress = 'bc1..' - const satPerVbyte = feeRate + const satPerVbyte = feeRate const prepareRedeemOnchainFundsResp = await prepareRedeemOnchainFunds({ toAddress, satPerVbyte }) } catch (err) { console.error(err) diff --git a/src/guide/getting_started.md b/src/guide/getting_started.md index 548b0a1f..358a673b 100644 --- a/src/guide/getting_started.md +++ b/src/guide/getting_started.md @@ -27,7 +27,7 @@ Join this [telegram group](https://t.me/breezsdk) or email us at -You are now ready to receive a Lightning [payment](payments.md). +You are now ready to receive a Lightning [payment](/guide/payments.md). diff --git a/src/guide/payment_notification.md b/src/guide/payment_notification.md index 770f2f0f..54fba4cc 100644 --- a/src/guide/payment_notification.md +++ b/src/guide/payment_notification.md @@ -1,6 +1,6 @@ # Receiving payments via mobile notifications -The Breez SDK provides users the ability to receive Lightning payments via mobile notifications. It uses a webhook that allows your application to be notified (via a pre-specified URL) when a payment is about to be received. To use this feature, you need to set up a webhook that an LSP can call when a payment is received and [register it in the Breez SDK](https://sdk-doc.breez.technology/guide/payment_notification.html#step-3-register-a-webhook). This webhook, a URL endpoint in your application, will handle incoming payment notifications. This URL should be capable of receiving POST requests. The payment received webhook payload is json formatted and contains the following structure: +The Breez SDK provides users the ability to receive Lightning payments via mobile notifications. It uses a webhook that allows your application to be notified (via a pre-specified URL) when a payment is about to be received. To use this feature, you need to set up a webhook that an LSP can call when a payment is received and [register it in the Breez SDK](payment_notification.html#step-3-register-a-webhook). This webhook, a URL endpoint in your application, will handle incoming payment notifications. This URL should be capable of receiving POST requests. The payment received webhook payload is json formatted and contains the following structure: