Commerce · Component · pricing-and-fx
Service fees and exchange-rate pricing
What it does
Calculate configured service fees and synchronize currency exchange rates for booking totals.
Core pattern
Base price and fee composition + currency conversion snapshots
- Input
- Base supplier prices
- Output
- Converted prices and fee breakdowns
Key parameters
| Name | Type | Default | Values |
|---|---|---|---|
| base_currency | — | — | — |
| target_currency | — | — | — |
| amount | number | 0 | 0–1000000000 |
| base_target_currency | — | — | — |
| mode | — | — | — |
Maturity and limits
Fee and exchange-rate unit tests and scheduled synchronization. Static source inspection only; no runtime, provider, deployment or test-pass claim.
Provider credentials required; customer and booking data need tenant isolation. Manifest declares ISC; verify bundled assets and supplier terms.
Used in pipelines
Industry tags
- Travel & hotelsSource-supported industry
For work involving destinations, room rates and bookings, use base price and fee composition followed by currency conversion snapshots.
- EducationTransferable use
For course fee reconciliation and human-approved refunds, use base price and fee composition followed by currency conversion snapshots.
- Lifestyle & consumer appsTransferable use
Support “Check order amounts and currencies” with base price and fee composition followed by currency conversion snapshots.
Skills pack
Contract scaffold and deterministic mock
Download · 11KBSHA-256 a5a68fd9438b1d9db0e7d57d99338fbec25bfdafc7a8f8fa2aa8b3aab8d94008
Related components
-
Signed agent-to-human checkout handoff
Expiring signed context handoff + human completion and confirmation
Working 1 pipeline -
Device eSIM compatibility decision API
Condition-by-condition clarification + supported or unknown verdicts
Working not yet in a pipeline -
Checkout settlement and loyalty calculation
Minor-unit calculations + benefits and payment timing
Working 1 pipeline -
Payment-field protection and readiness checks
Sensitive payment input handling + masked metadata and cleanup
Working 1 pipeline