Skip to content

Commit 228a292

Browse files
fix: resolve Stainless SDK regressions and doc example mismatch
- Rename operationId from listFeeRules to getFeeRules to avoid Stainless auto-detecting the endpoint as paginated (matches the getExchangeRates convention for non-paginated collections) - Reorder paths: /fee-rules/report before /fee-rules/{feeRuleId} so the literal path precedes the parameterized one - Add missing RAMP_OFF line item to the doc snippet fee report example so the total (128,450) matches the sum of line items - Remove unused gridBaseUrl import from the snippet Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a830d43 commit 228a292

5 files changed

Lines changed: 253 additions & 249 deletions

File tree

mintlify/openapi.yaml

Lines changed: 122 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mintlify/snippets/platform-fee-rules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { gridBaseUrl } from '/snippets/variables.mdx';
2-
31
Platform fee rules let you define the markup your platform charges customers on
42
each transaction type. Fees are layered on top of Lightspark and counterparty
53
fees, and collected in real time during settlement.
@@ -144,6 +142,12 @@ curl https://api.lightspark.com/grid/2025-10-13/fee-rules/report?month=2026-02 \
144142
"transactionCount": 245,
145143
"platformFeesCollected": 62500,
146144
"currency": "USD"
145+
},
146+
{
147+
"transactionType": "RAMP_OFF",
148+
"transactionCount": 58,
149+
"platformFeesCollected": 14650,
150+
"currency": "USD"
147151
}
148152
]
149153
}

0 commit comments

Comments
 (0)