Skip to content

Remove remittanceInformation from the Quote response schema - #758

Merged
shreyav merged 1 commit into
mainfrom
07-28-remove-remittance-info-from-quote-response
Jul 28, 2026
Merged

Remove remittanceInformation from the Quote response schema#758
shreyav merged 1 commit into
mainfrom
07-28-remove-remittance-info-from-quote-response

Conversation

@shreyav

@shreyav shreyav commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

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
@shreyav
shreyav marked this pull request as ready for review July 28, 2026 21:27

akanter commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

@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

chore(internal): regenerate SDK with no functional changes

go

feat(api): remove remittanceInformation field from Quote

kotlin

fix(api): remove remittanceInformation field from Quote model

openapi

feat(api): remove remittanceInformation field from quote response

php

feat(api): remove remittanceInformation field from Quote model

python

fix(api): remove remittance_information from Quote

ruby

fix(api): remove remittance_information field from Quote model

typescript

fix(types): remove remittanceInformation field from quote response model
⚠️ grid-openapi studio · code

Your SDK build had at least one "warning" diagnostic.
generate ⚠️

grid-ruby studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅build ✅lint ✅test ✅

⚠️ grid-go studio · code

Your SDK build had a failure in the lint CI job, which is a regression from the base state.
generate ✅build ✅lint ❗test ❗

go get github.com/stainless-sdks/grid-go@756e39ac812f242c2ee75152223be2fe6c3dc291
⚠️ grid-kotlin studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ⚠️build ✅lint ✅test ❗

⚠️ grid-python studio · code

Your SDK build had a failure in the lint CI job, which is a regression from the base state.
generate ✅build ✅lint ❗test ❗

pip install https://pkg.stainless.com/s/grid-python/7f50abab0dd0777b964044d5b65c0eae3969a3f7/grid-0.0.1-py3-none-any.whl
grid-typescript studio · conflict

Your SDK build had at least one note diagnostic.

grid-php studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅lint ✅test ✅

⚠️ grid-cli studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ⚠️build ⏭️lint ⏭️test ❗


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:44:59 UTC

@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Aligns the OpenAPI contract with actual API behavior.

  • Removes the input-only remittanceInformation property from the Quote response schema.
  • Regenerates both committed OpenAPI bundles while preserving the field on request-side schemas.

Confidence Score: 5/5

The PR appears safe to merge with no actionable defects identified.

The source schema and both generated bundles consistently remove a field the API does not return, while repository consumers and examples continue to use remittance information only as request data.

Important Files Changed

Filename Overview
openapi/components/schemas/quotes/Quote.yaml Removes the incorrectly documented response property without altering request-side remittance information.
openapi.yaml Correctly reflects the source-schema removal in the generated root bundle.
mintlify/openapi.yaml Remains synchronized with the generated root OpenAPI bundle.

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

@shreyav
shreyav merged commit 1b01912 into main Jul 28, 2026
17 of 18 checks passed
@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.

4 participants