feat(external-accounts): require bankAccountType on USD account creation - #882
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
bankAccountType was optional on USD_ACCOUNT external account creation and omitted values were treated as checking. Grid then sent ACH transaction code 22 instead of 32 for savings accounts, and the receiving bank returned a C05 notification of change. In the month to 2026-08-10, 13 of 18 notifications of change corrected the account type, all on accounts created without the field. - Add bankAccountType to the required list on UsdExternalAccountCreateInfo, so it is required on POST /customers/external-accounts, POST /platform/external-accounts, and POST /agents/me/external-accounts. The read and payment-instruction schemas keep it optional. - Inline the CHECKING/SAVINGS enum on the create and base schemas instead of a shared UsdBankAccountType component: the required-property lint rule only recognizes a property defined in the same branch as the required list, and a named component would rename the enum the SDK generators emit. - Update the CLI (grid accounts external create --bank-account-type), samples, wallet demos, skill references, and the external accounts docs; add a changelog entry. - Regenerate the wallet demo bank fields and add a CI step that verifies they stay in sync with the spec. This surfaced a pre-existing drift, so also add the crypto-only PLASMA_WALLET to the wallet demos' excluded account types. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1b026c5 to
3d12dd7
Compare
|
✱ Stainless preview builds for gridThis PR will update the cli kotlin php ruby Edit this comment to update them. They will appear in their respective SDK's changelogs. ⏳ grid-typescript studio⏳ grid-openapi studio⏳ grid-ruby studio⏳ grid-kotlin studio⏳ grid-go 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. |

bankAccountType was optional on USD_ACCOUNT external account creation and
omitted values were treated as checking. Grid then sent ACH transaction code 22
instead of 32 for savings accounts, and the receiving bank returned a C05
notification of change. In the month to 2026-08-10, 13 of 18 notifications of
change corrected the account type, all on accounts created without the field.
it is required on POST /customers/external-accounts,
POST /platform/external-accounts, and POST /agents/me/external-accounts. The
read and payment-instruction schemas keep it optional.
shared UsdBankAccountType component: the required-property lint rule only
recognizes a property defined in the same branch as the required list, and a
named component would rename the enum the SDK generators emit.
wallet demos, skill references, and the external accounts docs; add a
changelog entry.
stay in sync with the spec. This surfaced a pre-existing drift, so also add
the crypto-only PLASMA_WALLET to the wallet demos' excluded account types.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com