docs: sync exchangeRate examples with schema change - #1076
claude[bot] wants to merge 1 commit into
Conversation
Update snippet examples to include the new exchangeRate field on CurrencyPreference (from #1067). Add a tip explaining the difference between estimatedExchangeRate and exchangeRate - the latter matches the quote's direction for direct comparison. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
| `estimatedExchangeRate` is receiving currency per sending currency. `exchangeRate` is the | ||
| inverse — sending currency per receiving currency — matching the direction of `exchangeRate` | ||
| on a quote, so you can compare lookup estimates to actual quotes directly without inverting. |
There was a problem hiding this comment.
Conflicting quote rate direction The send-payment page displays this tip immediately before a USD-to-EUR quote example with
exchangeRate: 0.92—EUR per USD, the opposite direction from the tip. Readers of that page cannot compare the lookup and quote rates as instructed without first resolving which quote example is correct. Please reconcile the example with the documented rate direction.
Prompt To Fix With AI
This is a comment left during a code review.
Path: mintlify/snippets/sending/limits.mdx
Line: 115-117
Comment:
**Conflicting quote rate direction** The send-payment page displays this tip immediately before a USD-to-EUR quote example with `exchangeRate: 0.92`—EUR per USD, the opposite direction from the tip. Readers of that page cannot compare the lookup and quote rates as instructed without first resolving which quote example is correct. Please reconcile the example with the documented rate direction.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
exchangeRatefield to receiver lookup examples inlimits.mdxanduma.mdxestimatedExchangeRate(receiving/sending) andexchangeRate(sending/receiving, same as quotes)Syncs documentation examples with the schema change from #1067 (Add exchangeRate to receiver lookup currency preferences).
What changed
Docs:
mintlify/snippets/sending/limits.mdx: AddedexchangeRate: 0.054to external account lookup example, added explanatory tipmintlify/snippets/sending/uma.mdx: AddedexchangeRateto EUR (1.087) and BRL (0.194) entries in UMA lookup exampleNo changes needed:
🤖 Generated with Claude Code