Function: getMidMarketRate()
getMidMarketRate(
source,target):Promise<Result<WiseRate,WiseError>>
Defined in: src/server/integrations/wise/client.ts:108
The live mid-market rate for a currency pair (e.g. USD→PHP). This is the real-time rate Wise quotes, which is the relevant reference since contractors are paid through Wise. Cached briefly so a pay-run render doesn't call Wise on every request. Failure/misconfiguration returns an error Result so the caller can fall back — this rate is reference-only, never a payment basis.
Parameters
source
string
target
string