Crypto Bot API

    Type Alias CreateInvoiceBackendOptions

    Backend options object type for Client.createInvoice method

    type CreateInvoiceBackendOptions = {
        amount: string;
        accepted_assets?: string;
        allow_anonymous?: boolean;
        allow_comments?: boolean;
        asset?: CryptoCurrencyCode;
        currency_type?: Crypto | Fiat;
        description?: string;
        expires_in?: number;
        fiat?: FiatCurrencyCode;
        hidden_message?: string;
        paid_btn_name?: PaidBtnName;
        paid_btn_url?: string;
        payload?: string;
    }
    Index

    Properties

    amount: string

    Invoice amount

    accepted_assets?: string

    List of cryptocurrency alphabetic codes separated comma

    allow_anonymous?: boolean

    Is can user pay invoice anonymously

    allow_comments?: boolean

    Is can user leave a comment for invoice

    Invoice asset

    currency_type?: Crypto | Fiat

    Currency type

    description?: string

    Invoice description, displayed to user

    expires_in?: number

    You can set a payment time limit for the invoice in seconds

    Invoice fiat

    hidden_message?: string

    Text of the message which will be presented to a user after the invoice is paid

    paid_btn_name?: PaidBtnName

    Text for button which will be shown when invoice was paid

    paid_btn_url?: string

    Url for button which will be shown when invoice was paid

    payload?: string

    Invoice payload, visible only for app

    MMNEPVFCICPMFPCPTTAAATR