Portex SDK Documentation
    Preparing search index...

    Interface InvoiceClosedResult

    Payment Close Result invoiceClosed

    • paid – invoice was paid successfully,
    • cancelled – user closed this invoice without paying,
    • failed – user tried to pay, but the payment was failed,
    • pending – the payment is still processing. The bot will receive a service message about the payment status.
    interface InvoiceClosedResult {
        orderId: number;
        status: "failed" | "paid" | "cancelled" | "pending";
    }
    Index

    Properties

    Properties

    orderId: number
    status: "failed" | "paid" | "cancelled" | "pending"