Add KYB business-entity fields for Lead — NAICS, structured source of funds, counterparty countries (ENG-10687)#641
Conversation
…funds, counterparty countries (ENG-10687) Adds to BusinessInfo / BusinessInfoUpdate / BusinessInfoResponse: - naicsCode (2-6 digit NAICS) - sourceOfFundsCategories (references the existing SourceOfFunds enum) + sourceOfFundsOtherDescription - purposeOfAccountOtherDescription - expectedCounterpartyCountries Adds MISSING_CONTROL_PERSON and MISSING_GOOD_STANDING_DOCUMENT verification error types. Co-Authored-By: akanter <akanter@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✱ 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-go studio · code · diff
✅ grid-kotlin studio · code · diff
|
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
| 💡 Schema/IsAmbiguous: Missing type for schema |
⚠️ grid-csharp studio · code · diff
Your SDK build had a failure in the build CI job, which is a regression from the base state.
generate ⚠️→build ❗(prev:build ⏭️) →lint ✅(prev:lint ⏭️) →test ❗
✅ grid-php studio · code · diff
Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅→lint ✅→test ✅
✅ grid-cli studio · code · diff
Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
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-03 04:08:01 UTC
The legacy free-text sourceOfFunds property coexists on BusinessInfo; a sibling type named SourceOfFunds breaks the generated C# SDK (property / type name collision flagged by the Stainless preview build).
|
CI note: the |

Summary
Spec side of webdev ENG-10687 (KYB field gaps for Lead business entities). Companion to the webdev stack rooted at lightsparkdev/webdev#29776.
Adds to
BusinessInfo/BusinessInfoUpdate/BusinessInfoResponse:naicsCode— 2–6 digit NAICS code (Lead takes NAICS viabusiness_details.industry)sourceOfFundsCategories— array referencing the existing (previously unreferenced)SourceOfFundsenum, plussourceOfFundsOtherDescriptionpurposeOfAccountOtherDescription— CDD 'other' description forpurposeOfAccount: OTHERexpectedCounterpartyCountries— geographic-risk CDD field (distinct from send-sideexpectedRecipientJurisdictions)Adds
MISSING_CONTROL_PERSONandMISSING_GOOD_STANDING_DOCUMENTtoVerificationErrorType(control person and Certificate of Good Standing are Lead KYB requirements; the webdev validator will emit these for Lead-partnered platforms).make buildre-bundledopenapi.yaml+mintlify/openapi.yaml.make lint-openapiis baseline-equivalent (same single pre-existing error as main).Test plan
🤖 fierce-nexus-2(#2) | Feedback