Better Payment 0.11.1 API
    Preparing search index...

    Interface CancelResponse

    Cancellation response

    interface CancelResponse {
        code?: PaymentErrorCode;
        conversationId?: string;
        errorCode?: string;
        errorMessage?: string;
        providerMessage?: string;
        rawResponse?: unknown;
        status: PaymentStatus;
        transactionId?: string;
        voidId?: string;
    }
    Index

    Normalized error code, set on failures

    conversationId?: string
    errorCode?: string

    The provider's raw error code

    errorMessage?: string
    providerMessage?: string

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

    rawResponse?: unknown
    transactionId?: string
    voidId?: string