You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-06-23 04:27:02 UTC
This PR updates the POST /auth/delegated-keys OpenAPI spec to replace the single fundingSourceId field with cardId + internalAccountId, letting Grid derive the active card funding-source binding server-side rather than requiring the caller to know the opaque CardFundingSource ID. All prose, examples, and 404 descriptions are updated consistently.
Schema change: DelegatedKeyCreateRequest now requires cardId (type Card:…) and internalAccountId (type InternalAccount:…); fundingSourceId is removed.
Documentation: Step 2 of the three-leg flow, the post-activation paragraph, and the 404 description are all updated to reflect the new (cardId, internalAccountId) lookup model.
Consistency: Changes are applied identically to the source YAML files (openapi/components/schemas/…, openapi/paths/…) and the generated bundles (openapi.yaml, mintlify/openapi.yaml).
Confidence Score: 5/5
Safe to merge — documentation-only change with no application logic affected.
All four changed files are OpenAPI YAML (two source files, two generated bundles). The schema replacement of fundingSourceId with cardId + internalAccountId is internally consistent across all files, examples use correctly prefixed IDs, and the three-leg flow description remains accurate. No logic, auth, or data paths are touched.
Replaces fundingSourceId with cardId + internalAccountId; both are required strings with correct example ID formats and clear descriptions.
openapi/paths/auth/auth_delegated-keys.yaml
Endpoint description and example updated to use cardId/internalAccountId; 404 description expanded to cover the new lookup steps; prose is consistent with the schema change.
openapi.yaml
Generated bundle — changes mirror the source YAML edits exactly; regenerated via make build as expected per CLAUDE.md.
mintlify/openapi.yaml
Mintlify-specific generated bundle — identical diff to root openapi.yaml, consistent with the build pipeline.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
breaking-changeIntroduces a breaking change to the OpenAPI spec
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Card.fundingSourcesas internal-account id strings; do not exposeCardFundingSourceids from card responsesPOST /auth/delegated-keysto acceptcardIdandinternalAccountIdinstead offundingSourceId(cardId, internalAccountId)pairValidation
npm run build:openapinpm run lint:openapi