Add idType/identifier to IndividualCustomerCreateRequest (ENG-10686)#636
Add idType/identifier to IndividualCustomerCreateRequest (ENG-10686)#636ls-bolt[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
✱ 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-go studio · code · diff
✅ grid-typescript 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
✅ grid-ruby studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
…0686) Individual account-holder CIP capture — accept the individual's tax identification (SSN/ITIN) on customer creation so sparkcore can bridge it to paycore EntUserInfo.tax_identifier for Lead onboarding. Write-only: added to the create request only (not the shared IndividualCustomerFields), so the SSN is never echoed in customer responses. Mirrors the flat idType/identifier shape beneficial owners already use.
4a51edc to
d587c85
Compare
|
Clarification on the oasdiff
Verified in webdev#29658: the full existing create-customer suite passes unchanged with no tax fields sent (118 tests), plus new tests covering both the omit path and the opt-in validation paths. |
…637) ## Summary Adds the individual account-holder's tax identification (**SSN/ITIN**) to `IndividualCustomerCreateRequest` so Grid can capture it at customer creation and bridge it downstream to `EntUserInfo.tax_identifier` for Lead (banking-partner) onboarding of a US individual. Part of ENG-10686 (Individual account-holder CIP). Consumed by the webdev PR (lightsparkdev/webdev#29658), which reads `idType`/`identifier` off the regenerated client model. ## Details - New fields on the **create request only** (added to the `allOf` in `IndividualCustomerCreateRequest.yaml`, not the shared `IndividualCustomerFields`), so the identifier is **write-only** and never echoed in customer GET responses. - Reuses the existing `IdentificationType` enum (SSN/ITIN/EIN/NON_US_TAX_ID) and mirrors the flat `idType`/`identifier`/`countryOfIssuance` shape beneficial owners already expose (`BeneficialOwnerPersonalInfo`). - Regenerated bundle (`openapi.yaml`, `mintlify/openapi.yaml`) via `make build`; `redocly lint` clean. ## Test plan - `npm run build:openapi` + `npx @redocly/cli lint openapi.yaml` → valid. - webdev client regeneration (`grid-api/update_schema.sh`) picks up `id_type`/`identifier`/`country_of_issuance` on the individual create model. --- 🤖 [sovereign-nebula-2](https://zeus.dev.dev.sparkinfra.net/#/arc?id=sovereign-nebula)[(#2)](https://zeus.dev.dev.sparkinfra.net/#/instance?id=sovereign-nebula-2) | [Feedback](https://zeus.dev.dev.sparkinfra.net/feedback) Original PR: #636

Summary
Adds the individual account-holder's tax identification (SSN/ITIN) to
IndividualCustomerCreateRequestso Grid can capture it at customer creation and bridge it downstream toEntUserInfo.tax_identifierfor Lead (banking-partner) onboarding of a US individual.Part of ENG-10686 (Individual account-holder CIP). Consumed by the webdev PR (lightsparkdev/webdev#29658), which reads
idType/identifieroff the regenerated client model.Details
allOfinIndividualCustomerCreateRequest.yaml, not the sharedIndividualCustomerFields), so the identifier is write-only and never echoed in customer GET responses.IdentificationTypeenum (SSN/ITIN/EIN/NON_US_TAX_ID) and mirrors the flatidType/identifier/countryOfIssuanceshape beneficial owners already expose (BeneficialOwnerPersonalInfo).openapi.yaml,mintlify/openapi.yaml) viamake build;redocly lintclean.Test plan
npm run build:openapi+npx @redocly/cli lint openapi.yaml→ valid.grid-api/update_schema.sh) picks upid_type/identifier/country_of_issuanceon the individual create model.🤖 sovereign-nebula-2(#2) | Feedback