btcpay-greenfield-node-client
Version:
## Installation
31 lines (30 loc) • 888 B
TypeScript
export declare class MiscalleneousService {
/**
* Language codes
* The supported language codes
* @returns any The supported language codes
* @throws ApiError
*/
static langCodes(): Promise<Array<{
/**
* The language code
*/
code?: string;
/**
* The language name
*/
currentLanguage?: string;
}>>;
/**
* Invoice checkout
* View the checkout page of an invoice
* @returns any The checkout page
* @throws ApiError
*/
static getMiscalleneousService({ invoiceId, lang, }: {
/** The invoice id **/
invoiceId: string;
/** The preferred language of the checkout page. You can see the list of language codes with [this operation](#operation/langCodes). **/
lang?: string;
}): Promise<any>;
}