Add high-limit payment rails to PaymentRail enum#584
Conversation
Add 8 new payment rail enum values to keep the spec in parity with lightsparkdev/webdev#28108: ACH_COLOMBIA, BRE_B, CIPS, INSTAPAY, NEFT, PESONET, RTGS, UNIONPAY Edited the source enum in openapi/components/schemas/common/PaymentRail.yaml and rebundled (openapi.yaml + mintlify/openapi.yaml) via make build. https://claude.ai/code/session_01KtztB3MumSMo7V4qZpioew
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
✱ Stainless preview builds for gridThis PR will update the cli csharp go kotlin openapi php python ruby typescript ✅ grid-ruby studio · code
|
Greptile SummaryThis PR extends the
Confidence Score: 5/5Safe to merge — purely additive enum extension with all three files in sync and correct alphabetical ordering throughout. The change adds 8 new enum values to the source YAML and the two generated bundles are consistent with each other and the source. The edit follows the repo's prescribed workflow (edit source, run make build), alphabetical ordering is preserved, and no existing values were touched. There is no logic, no migration, and no breaking change — existing clients that don't recognize the new values simply won't send them. No files require special attention.
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/common/PaymentRail.yaml | Source enum definition — 8 new values added in correct alphabetical order, description unchanged. |
| openapi.yaml | Generated bundle — identical enum additions, consistent with source; correctly regenerated via make build. |
| mintlify/openapi.yaml | Mintlify-targeted generated bundle — identical enum additions, consistent with source and root bundle. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["openapi/components/schemas/common/PaymentRail.yaml\n(source — edited here)"] -->|make build| B["openapi.yaml\n(generated bundle)"]
A -->|make build| C["mintlify/openapi.yaml\n(generated bundle)"]
subgraph "New enum values added"
N1["ACH_COLOMBIA"]
N2["BRE_B"]
N3["CIPS"]
N4["INSTAPAY"]
N5["NEFT"]
N6["PESONET"]
N7["RTGS"]
N8["UNIONPAY"]
end
A -.->|contains| N1
A -.->|contains| N2
A -.->|contains| N3
A -.->|contains| N4
A -.->|contains| N5
A -.->|contains| N6
A -.->|contains| N7
A -.->|contains| N8
Reviews (1): Last reviewed commit: "Add high-limit payment rails to PaymentR..." | Re-trigger Greptile
Summary
Adds 8 new payment rail enum values to
components.schemas.PaymentRail, keeping the existing alphabetical ordering and formatting:ACH_COLOMBIABRE_BCIPSINSTAPAYNEFTPESONETRTGSUNIONPAYThe source enum (
openapi/components/schemas/common/PaymentRail.yaml) was edited and the spec rebundled viamake build, regeneratingopenapi.yamlandmintlify/openapi.yamlso the repo stays internally consistent. No other changes — thepayment_railfield onAccountDestinationalready references this shared enum, so it picks up the new values automatically.Why
This keeps the spec in parity with lightsparkdev/webdev#28108 ("[M0.6] support explicit rail selection in Grid quote endpoint"), which hand-added these 8
PaymentRailvalues to webdev's vendored mirror of this spec.This must merge before (or in lockstep with) webdev#28108. webdev re-syncs its vendored copy from this repo (via
grid-api/update_schema.sh, which clones this repo as the source of truth). If webdev re-syncs before these values land upstream, the next sync would silently drop the hand-added rails and break webdev's typecheck.https://claude.ai/code/session_01KtztB3MumSMo7V4qZpioew
Generated by Claude Code