import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class LightningPayments extends APIResource { /** * Retrieve all data about a single Payment. * * @example * ```ts * await client.lightningPayments.retrieve('id'); * ``` */ retrieve(id: string, options?: RequestOptions): APIPromise; /** * Start sending instant Bitcoin payments through the ZBD API. * * @example * ```ts * await client.lightningPayments.send({ * amount: 'string', * callbackUrl: 'string', * description: 'string', * internalId: 'string', * invoice: 'string', * }); * ``` */ send(body?: LightningPaymentSendParams | null | undefined, options?: RequestOptions): APIPromise; } export interface LightningPaymentSendParams { /** * Amount to be paid to this Charge/Invoice -> in millisatoshis _(only valid if * Amountless Invoice)_ */ amount?: string; /** * The endpoint ZBD will POST Payment updates to */ callbackUrl?: string; /** * Note or comment for this Payment */ description?: string; /** * Open metadata string property */ internalId?: string; /** * Lightning Network Payment Request / Charge */ invoice?: string; } export declare namespace LightningPayments { export { type LightningPaymentSendParams as LightningPaymentSendParams }; } //# sourceMappingURL=lightning-payments.d.mts.map