Better Payment 0.11.1 API
    Preparing search index...

    Interface ThreeDSInitResponse

    3D Secure payment initialization response

    interface ThreeDSInitResponse {
        code?: PaymentErrorCode;
        conversationId?: string;
        errorCode?: string;
        errorMessage?: string;
        paymentId?: string;
        providerMessage?: string;
        rawResponse?: unknown;
        redirectUrl?: string;
        status: PaymentStatus;
        threeDSHtmlContent?: string;
    }
    Index

    Normalized error code, set on failures

    conversationId?: string
    errorCode?: string

    The provider's raw error code

    errorMessage?: string
    paymentId?: string
    providerMessage?: string

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

    rawResponse?: unknown
    redirectUrl?: string

    Payment page URL when the provider supports redirecting instead of rendering HTML

    threeDSHtmlContent?: string

    HTML to render in the customer's browser (3D form, iframe page or auto-submit form)