Better Payment 0.11.1 API
    Preparing search index...

    Interface PWIPaymentInitResponse

    PWI payment initialization response

    interface PWIPaymentInitResponse {
        code?: PaymentErrorCode;
        conversationId?: string;
        errorCode?: string;
        errorMessage?: string;
        htmlContent?: string;
        paymentPageUrl?: string;
        providerMessage?: string;
        rawResponse?: unknown;
        status: PaymentStatus;
        token?: string;
        tokenExpireTime?: number;
    }
    Index

    Normalized error code, set on failures

    conversationId?: string
    errorCode?: string

    The provider's raw error code

    errorMessage?: string
    htmlContent?: string

    HTML content to display to the customer

    paymentPageUrl?: string

    Payment page URL

    providerMessage?: string

    The original message when a plugin replaced errorMessage (e.g. localizedErrors)

    rawResponse?: unknown
    token?: string
    tokenExpireTime?: number