Add stablecoin issuance API surface#578
Conversation
Stablecoin issuance endpoints for the Grid API: provider account links, stablecoin registration, external accounts (Plaid link sessions, direct bank entry, Grid external accounts), mint/burn quotes and execution, and operations. Adds the stablecoin error codes to the Error400/404/409 enums and the Stablecoins tag. Spec source of truth for the webdev implementation stack starting at lightsparkdev/webdev#28029, which vendors this spec and generates the grid_api client from it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
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 Edit this comment to update them. They will appear in their respective SDK's changelogs. ✅ grid-openapi studio · code · diff
✅ grid-ruby studio · code · diff
✅ grid-typescript studio · code · diff
✅ grid-go studio · code · diff
✅ grid-kotlin studio · code · diff
✅ grid-python studio · code · diff
✅ grid-csharp studio · code · diff
✅ grid-php studio · code · diff
✅ grid-cli studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
Important
Do not merge until the webdev implementation stack (lightsparkdev/webdev#28785 → #28734) has merged and the feature is ready to light up. Merging here publishes the endpoints: the nightly docs-sync workflow picks up
openapi/changes on main and the Stainless-documented spec feeds the public docs/SDKs. This PR stays draft until launch readiness.Summary
Companion spec PR for the Brale stablecoin issuance stack in webdev (implementation: the flow-sliced stack starting at lightsparkdev/webdev#28785). Adds to the split OpenAPI source (
openapi/):openapi/paths/stablecoins/: provider account links, stablecoin registration/list/get, external-account link sessions + linking (Plaid / direct bank entry / Grid external account), mint+burn quote create/get/execute, operations list/get.openapi/components/schemas/stablecoins/: typed discriminated requests (quote operation types, mint funding sources, link methods), typeddestinationoneOf on quote/operation, payout-rail subset enum, list envelopes.Error400/Error404/Error409enums (the generated clients hard-reject unknown codes, so these must ship before the backend returns them).Stablecoinstag.Bundle regenerated with
make build; Redocly validation clean; spectral passes at--fail-severity=error.Verification
The rebuilt bundle's stablecoin paths/schemas and error enums are deep-equal to the spec vendored in the webdev stack tip (verified programmatically). The only non-stablecoin delta vs that copy is
ExchangeRateFees.total, which exists here and not yet in webdev's vendored copy (pre-existing drift; webdev picks it up on its nextupdate_schema.shsync).🤖 Generated with Claude Code