Skip to content

Remove remittanceInformation from the Quote response schema - #757

Closed
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-28-remove-remittance-info-from-quote-response
Closed

Remove remittanceInformation from the Quote response schema#757
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-28-remove-remittance-info-from-quote-response

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR has been claimed. The active PR is now #758.

Summary

remittanceInformation is an input field only — callers set it on POST /quotes and it travels with the payment on the rail. The Quote response schema was also echoing it back, which documented a field the API does not return.

This removes it from Quote (the response) and leaves it in place on QuoteRequest.

Changes: 3 files

  • openapi/components/schemas/quotes/Quote.yaml — drop the remittanceInformation property
  • openapi.yaml, mintlify/openapi.yaml — regenerated bundles (make build)

No version bump: the field was never a documented, relied-upon part of the response, and no servers.url path change is involved.

Test plan

  • make build — bundles regenerate cleanly
  • make lint — 0 errors (630 pre-existing warnings/infos, unchanged by this diff)
  • Confirmed no other reference to the field on the response side: request-side usages in the CLI (cli/src/commands/quotes.ts, cli/src/commands/transfers.ts), the visualizer code generator, the docs snippets, TransferOutRequest, and RealtimeFundingTransactionSource are all untouched

Requested by @shreyav

remittanceInformation is an input on QuoteRequest only; the Quote
response no longer echoes it back.
@ls-bolt ls-bolt Bot added the bolt label Jul 28, 2026
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Jul 28, 2026 9:25pm
grid-wallet-demo Ignored Ignored Preview Jul 28, 2026 9:25pm

Request Review

akanter commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ls-bolt

ls-bolt Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

@greptileai review

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

This PR will update the grid SDKs with the following commit messages.

cli
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

**go**

feat(api): remove remittanceInformation from quote model

**kotlin**
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

openapi
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

**php**
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

python
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

**ruby**
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema

typescript
⏳ (generating...)```
feat: Remove remittanceInformation from the Quote response schema


Edit this comment to update them. They will appear in their respective SDK's changelogs.

<details>
<summary>⏳ <b>grid-typescript</b> <a href="https://app.stainless.com/lightspark/grid/studio?language=typescript&branch=preview%2F07-28-remove-remittance-info-from-quote-response">studio</a></summary>

<blockquote>

</blockquote>

</details>

<details>
<summary>⏳ <b>grid-openapi</b> <a href="https://app.stainless.com/lightspark/grid/studio?language=openapi&branch=preview%2F07-28-remove-remittance-info-from-quote-response">studio</a></summary>

<blockquote>

</blockquote>

</details>

<details>
<summary>⏳ <b>grid-ruby</b> <a href="https://app.stainless.com/lightspark/grid/studio?language=ruby&branch=preview%2F07-28-remove-remittance-info-from-quote-response">studio</a></summary>

<blockquote>

</blockquote>

</details>

<details>
<summary>⏳ <b>grid-go</b> <a href="https://app.stainless.com/lightspark/grid/studio?language=go&branch=preview%2F07-28-remove-remittance-info-from-quote-response">studio</a> · <a href="https://github.com/stainless-sdks/grid-go/tree/preview%2F07-28-remove-remittance-info-from-quote-response">code</a> · <a href="https://github.com/stainless-sdks/grid-go/compare/preview%2Fbase%2F07-28-remove-remittance-info-from-quote-response..preview%2F07-28-remove-remittance-info-from-quote-response">diff</a></summary>

<blockquote>

<code>generate ✅</code> → <a href="https://github.com/stainless-sdks/grid-go/actions/runs/30400657211/job/90414368449"><code>build ⏳</code></a> → <a href="https://github.com/stainless-sdks/grid-go/actions/runs/30400657211/job/90414368527"><code>lint ⏳</code></a> → <a href="https://github.com/stainless-sdks/grid-go/actions/runs/30400657211/job/90414368463"><code>test ⏳</code></a>
```bash
go get github.com/stainless-sdks/grid-go@22f61c0f7d9a4db599d0ce7b953c9212e5d5e02d
grid-kotlin studio
grid-python studio
grid-php studio
grid-cli studio

⏳ These are partial results; builds are still running.


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-07-28 21:26:33 UTC

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Jul 28, 2026, 9:26 PM

@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR aligns the documented Quote response with the API’s actual response shape.

  • Removes remittanceInformation from the source Quote response schema.
  • Preserves remittanceInformation on QuoteRequest and other request-side schemas.
  • Regenerates both committed OpenAPI bundles with the same response-only removal.

Confidence Score: 5/5

The PR appears safe to merge because the response-only schema correction is consistently reflected across the source and generated specifications.

The removed field has no in-repository Quote response consumers, remains available on the request schemas that accept it, and is removed consistently from both generated bundles.

Important Files Changed

Filename Overview
openapi/components/schemas/quotes/Quote.yaml Removes the response-only remittanceInformation property while leaving the Quote request contract unchanged.
openapi.yaml Regenerated root bundle accurately reflects the source schema removal.
mintlify/openapi.yaml Regenerated Mintlify bundle remains synchronized with the root OpenAPI bundle.

Reviews (1): Last reviewed commit: "Remove remittanceInformation from the Qu..." | Re-trigger Greptile

shreyav added a commit that referenced this pull request Jul 28, 2026
## Summary

`remittanceInformation` is an input field only — callers set it on `POST
/quotes` and it travels with the payment on the rail. The `Quote`
response schema was also echoing it back, which documented a field the
API does not return.

This removes it from `Quote` (the response) and leaves it in place on
`QuoteRequest`.

## Changes: 3 files

- `openapi/components/schemas/quotes/Quote.yaml` — drop the
`remittanceInformation` property
- `openapi.yaml`, `mintlify/openapi.yaml` — regenerated bundles (`make
build`)

No version bump: the field was never a documented, relied-upon part of
the response, and no `servers.url` path change is involved.

## Test plan

- `make build` — bundles regenerate cleanly
- `make lint` — 0 errors (630 pre-existing warnings/infos, unchanged by
this diff)
- Confirmed no other reference to the field on the response side:
request-side usages in the CLI (`cli/src/commands/quotes.ts`,
`cli/src/commands/transfers.ts`), the visualizer code generator, the
docs snippets, `TransferOutRequest`, and
`RealtimeFundingTransactionSource` are all untouched

Requested by @shreyav

Original PR: #757
@shreyav
shreyav deleted the 07-28-remove-remittance-info-from-quote-response branch July 28, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants