btcpay-greenfield-node-client
Version:
## Installation
47 lines (46 loc) • 2.08 kB
TypeScript
import type { LightningNetworkPaymentMethodData } from '../models/LightningNetworkPaymentMethodData';
export declare class StorePaymentMethodsLightningNetworkService {
/**
* Get store Lightning Network payment methods
* View information about the stores' configured Lightning Network payment methods
* @returns LightningNetworkPaymentMethodDataList list of payment methods
* @throws ApiError
*/
/**
* Get store Lightning Network payment method
* View information about the specified payment method
* @returns LightningNetworkPaymentMethodData specified payment method
* @throws ApiError
*/
static storeLightningNetworkPaymentMethodsGetLightningNetworkPaymentMethod({ storeId, cryptoCode, }: {
/** The store to fetch **/
storeId: string;
/** The crypto code of the payment method to fetch **/
cryptoCode: string;
}): Promise<LightningNetworkPaymentMethodData>;
/**
* Update store Lightning Network payment method
* Update the specified store's payment method
* @returns LightningNetworkPaymentMethodData updated specified payment method
* @throws ApiError
*/
static storeLightningNetworkPaymentMethodsUpdateLightningNetworkPaymentMethod({ storeId, cryptoCode, requestBody, }: {
/** The store to fetch **/
storeId: string;
/** The crypto code of the payment method to update **/
cryptoCode: string;
requestBody: LightningNetworkPaymentMethodData;
}): Promise<LightningNetworkPaymentMethodData>;
/**
* Remove store Lightning Network payment method
* Removes the specified store payment method.
* @returns any The payment method has been removed
* @throws ApiError
*/
static deleteStorePaymentMethodsLightningNetworkService({ storeId, cryptoCode, }: {
/** The store to fetch **/
storeId: string;
/** The crypto code of the payment method to update **/
cryptoCode: string;
}): Promise<any>;
}