Better Payment 0.11.1 API
    Preparing search index...

    Interface RefundResponse

    Refund response

    interface RefundResponse {
        code?: PaymentErrorCode;
        conversationId?: string;
        errorCode?: string;
        errorMessage?: string;
        providerMessage?: string;
        rawResponse?: unknown;
        refundId?: string;
        status: PaymentStatus;
    }
    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
    refundId?: string