PayFanout API reference
    Preparing search index...

    Interface LocaleBundle

    One locale's built-in translations. Typing errors and ui as full records (not Partial) makes the compiler reject any locale that forgets a code or a label — completeness is enforced at build time, not discovered at runtime.

    interface LocaleBundle {
        errors: Record<UnifiedErrorCode, string>;
        ui: Record<UiLabelKey, string>;
    }
    Index
    errors: Record<UnifiedErrorCode, string>

    User-safe message per unified error code.

    ui: Record<UiLabelKey, string>

    Text the library itself renders (e.g. the default Pay button label).