Commit 1fdceed
chore: sync Kotlin sample with paymentRail schema change (#280)
## Summary
- Updated Kotlin sample app to support the optional `paymentRail` field
added to quote account destinations in #279
## Context
The recent schema change (309c629) added an optional `paymentRail` field
to `AccountDestination` in quotes, allowing users to specify which
payment rail to use for transfers.
## Changes
**Kotlin Sample App:**
- Updated `buildQuoteDestination()` in `Quotes.kt` to pass through
`paymentRail` from input JSON when provided
**No changes needed:**
- Mintlify documentation: Examples demonstrate default behavior
(system-selected rail) which remains valid
- Grid Visualizer: Generated code uses default rail selection which
still works correctly
## Test plan
- [ ] Verify Kotlin sample accepts requests with optional `paymentRail`
field
- [ ] Verify existing requests without `paymentRail` continue to work
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 94a2523 commit 1fdceed
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
0 commit comments