Alokai

PaymentResult

PaymentResult type returned by the onSubmit event and used within the payments/ call fired by the handlePaymentResult method.

export type PaymentResult = {
    shopperReference?: string;
    reference: string;
    successUrl: string;
    errorUrl: string;
    amount: {
        value: number;
        currency: string;
    };
    paymentMethod: SubmitPaymentParams["paymentMethod"];
    [key: string]: any;
};

Referenced Types

On this page