Better Payment 0.11.1 API
    Preparing search index...

    Interface PaymentResponse

    Payment response

    interface PaymentResponse {
        code?: PaymentErrorCode;
        conversationId?: string;
        errorCode?: string;
        errorGroup?: string;
        errorMessage?: string;
        paymentId?: string;
        providerMessage?: string;
        rawResponse?: unknown;
        status: PaymentStatus;
        storedCard?: SavedCardTokens;
    }
    Index

    Normalized error code, set on failures

    conversationId?: string
    errorCode?: string

    The provider's raw error code

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

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

    rawResponse?: unknown
    storedCard?: SavedCardTokens

    Tokens of the card saved during this payment (saveCard)