Skip to content

[feature request] msat precision in LN invoice payouts and invoice creation #66

@blinkbitcoinbot

Description

@blinkbitcoinbot

Migrated from GaloyMoney/blink#4602
Originally created by @openoms on 10/1/2024, 5:13:27 PM

Currently the calls lnInvoiceCreate and LnInvoiceCreateOnBehalfOfRecipient are only accepting the amount as a (Positive) Satoshi amount.

amount: SatAmount!
Amount in satoshis.
Metadata for SatAmount Type
(Positive) Satoshi amount

When BTCPayServer would create a payment request with msat precision the amount is rounded up to the nearest satoshi and an overpayment is created which causes accounting issues.

A solution for this would be allowing creation of invoices with msat precision on lnInvoiceCreate operation in the API.

cc @NicolasDorier @pavlenex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions