btcpay-greenfield-node-client
Version:
## Installation
29 lines (28 loc) • 688 B
TypeScript
import type { LightningInvoiceStatus } from './LightningInvoiceStatus';
export declare type LightningInvoiceData = {
/**
* The invoice's ID
*/
id?: string;
status?: LightningInvoiceStatus;
/**
* The BOLT11 representation of the invoice
*/
BOLT11?: string;
/**
* The unix timestamp when the invoice got paid
*/
paidAt?: number | null;
/**
* The unix timestamp when the invoice expires
*/
expiresAt?: number;
/**
* The amount of the invoice in millisatoshi
*/
amount?: string;
/**
* The amount received in millisatoshi
*/
amountReceived?: string;
};