Portex SDK Documentation
    Preparing search index...

    Interface PaymentOptions

    Payment Options

    interface PaymentOptions {
        tg_use_id: string;
        amount: number;
        label: string;
        title: string;
        description: string;
        payload?: string;
        photo_height?: number;
        photo_width?: number;
        photo_size?: number;
        photo_url?: string;
        callback_url?: string;
    }
    Index

    Properties

    tg_use_id: string

    Telegram User ID

    amount: number

    Payment amount (in cents)

    label: string

    Label

    title: string

    Title

    description: string

    Description

    payload?: string

    Payload

    photo_height?: number

    Photo height

    photo_width?: number

    Photo width

    photo_size?: number

    Photo size

    photo_url?: string

    Photo URL

    callback_url?: string

    Callback URL