Better Payment 0.11.1 API
    Preparing search index...

    Interface PaymentEvent<T>

    interface PaymentEvent<T extends PaymentEventType = PaymentEventType> {
        amount?: string;
        code?: PaymentErrorCode;
        conversationId?: string;
        currency?: string;
        operation: keyof PaymentOperations;
        paymentId?: string;
        provider: string;
        request: unknown;
        result: unknown;
        type: T;
    }

    Type Parameters

    Index
    amount?: string

    Amount charged or refunded, from the request, when known

    Normalized error code of failed results

    conversationId?: string

    Your order / conversation id, when known

    currency?: string
    operation: keyof PaymentOperations
    paymentId?: string

    The provider's payment id, when known

    provider: string

    Id of the provider that handled the operation

    request: unknown

    The operation's request (callback data for 3D Secure completions)

    result: unknown

    The operation's result as returned to the caller

    type: T