PayFanout API reference
    Preparing search index...

    Interface UsePayFanoutResult

    interface UsePayFanoutResult {
        activePsp: string | undefined;
        availablePsps: string[];
        capabilities: PaymentMethodCapability[];
        lastError: UnifiedError | undefined;
        locale: string | undefined;
        setActivePsp: (psp: string) => void;
        status: PayFanoutStatus;
    }
    Index
    activePsp: string | undefined
    availablePsps: string[]
    capabilities: PaymentMethodCapability[]

    The active adapter's honest capability list (embedded vs redirect vs voucher).

    lastError: UnifiedError | undefined
    locale: string | undefined

    The provider's locale (undefined = English), for host-side localizeError calls.

    setActivePsp: (psp: string) => void