Skip to main content

Function: getUsdToPhpRate()

getUsdToPhpRate(): Promise<UsdPhpRate>

Defined in: src/server/integrations/fx.ts:24

Live USD→PHP reference rate for the display-only "≈ USD" column on pay runs. Uses Wise's real-time mid-market quote — the relevant rate since contractors are paid through Wise — cached briefly by the Wise client. Any failure (Wise not configured, API down, malformed body) falls back to a constant; this rate is reference-only and never the basis for an actual payment.

Returns

Promise<UsdPhpRate>