docs(fee-breakdowns): rewrite to focus on API response locations and reconciliation usage#69
Open
docs(fee-breakdowns): rewrite to focus on API response locations and reconciliation usage#69
Conversation
Rewrite `api-features/fee-breakdowns.mdx` into a reconciliation-oriented reference that reflects actual API fee fields and response shapes.
- remove AI-generated placeholder content
- document where fee data appears:
- GET /v2/request/{requestId}/routes (`fee`, `feeBreakdown`)
- GET /v2/payments (`fees`)
- GET /v2/request/{requestId}` (when enriched fee info is present)
- include supported fee types from current API behavior:
- protocol, gas, platform, crosschain, crypto-to-fiat, offramp
- include route fee stages (sending, receiving, proxying, refunding, overall)
- add practical reconciliation guidance (raw storage, normalization, idempotency)
- add representative response-shape examples for routes and payments
- add related-page links and canonical OpenAPI reference
This provides a reliable fee-observability guide for ops, finance, and reconciliation workflows.
This was referenced Mar 2, 2026
Open
Open
Open
Member
Author
api-features/fee-breakdowns.mdx into a reconciliation-oriented reference that reflects actual API fee fields and response shapes. - remove AI-generated placeholder content -
Greptile SummaryThis PR transforms the fee-breakdowns documentation from AI-generated conceptual content into a practical API reference guide. The rewrite focuses on three key improvements:
The page now follows Mintlify best practices with proper component usage (Steps, CardGroup) and maintains consistency with related platform-fees and protocol-fees documentation. The cross-references are properly linked and the content is structured for developer consumption. Confidence Score: 4/5
Important Files Changed
Last reviewed commit: 6e538d9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Rewrote the fee breakdowns documentation to focus on practical API usage patterns rather than conceptual explanations.
What changed?
How to test?
Why make this change?
The previous version was AI-generated conceptual content that didn't provide actionable guidance for developers. This rewrite focuses on where developers can find fee information in API responses and how to process it for accounting and reconciliation purposes.