Skip to content

Add optional primary contact name to business info - #804

Closed
ls-bolt[bot] wants to merge 1 commit into
mainfrom
08-05-business-primary-contact-name
Closed

Add optional primary contact name to business info#804
ls-bolt[bot] wants to merge 1 commit into
mainfrom
08-05-business-primary-contact-name

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This PR has been claimed. The active PR is now #805.

Summary

Adds two optional properties — primaryContactFirstName and primaryContactLastName — to BusinessInfo, BusinessInfoUpdate, and BusinessInfoResponse.

Businesses onboarding in regions that verify a named individual against the business (the EU, for example) have to identify their registered director or authorised representative. Today the business info schemas carry no way to name that person, so there is nowhere for an integrator to send it.

Why two plain properties rather than a primaryContact object

The customer's existing top-level email and phoneNumber already are that person's contact details — they're documented as "Required in regions that verify the email address before identity verification". Nesting a fresh contact object with its own email and phone would create a second, competing pair of channels for the same human, and the verification endpoints (POST /customers/{id}/verify-email, /verify-phone) verify the customer-level ones. Only the name was missing, so only the name is added.

Both fields are optional, so existing integrations are unaffected.

Test plan

  • make build — bundles cleanly to openapi.yaml + mintlify/openapi.yaml
  • npx spectral lint openapi.yaml --fail-severity=error — 0 errors, and no new findings against the added properties
  • oasdiff breaking <main> <head> --fail-on ERR — "No breaking changes to report", so no info.version bump

Requested by @jklein24

Businesses onboarding in regions that verify a named individual against the
business (e.g. the EU) need to identify their registered director or authorised
representative. Adds optional primaryContactFirstName / primaryContactLastName
to the business info request, update, and response schemas; the customer's
existing email and phoneNumber are that person's contact details.
@mintlify

mintlify Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Aug 6, 2026, 12:38 AM

@ls-bolt ls-bolt Bot added the bolt label Aug 6, 2026
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Aug 6, 2026 12:37am
grid-wallet-demo Ignored Ignored Preview Aug 6, 2026 12:37am

Request Review

Copy link
Copy Markdown

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

This PR will update the grid SDKs with the following commit messages.

cli
⏳ (generating...)```
feat: Add optional primary contact name to business info

**go**

feat(api): add primary contact name fields to business customer business info

**kotlin**
⏳ (generating...)```
feat: Add optional primary contact name to business info

openapi

feat(api): add primaryContactFirstName and primaryContactLastName to business customer

php
⏳ (generating...)```
feat: Add optional primary contact name to business info

**python**

feat(api): add primary contact name fields to business customer

**ruby**

feat(api): add primary_contact_first_name/last_name fields to business customer

**typescript**
⏳ (generating...)```
feat: Add optional primary contact name to business info

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-typescript studio
grid-openapi studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️

grid-ruby studio · code · diff

generate ✅build ⏳lint ⏳test ⏳

grid-go studio · code · diff

generate ✅build ⏳lint ⏳test ⏳

go get github.com/stainless-sdks/grid-go@610dc8282edde89ea91e231bde91b3c6793dcdad
grid-kotlin studio
grid-python studio · code · diff

generate ✅build ⏳lint ⏳test ⏳

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.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-08-06 00:40:07 UTC

@jklein24 jklein24 closed this Aug 6, 2026
jklein24 added a commit that referenced this pull request Aug 6, 2026
## Summary

Adds two optional properties — `primaryContactFirstName` and
`primaryContactLastName` — to `BusinessInfo`, `BusinessInfoUpdate`, and
`BusinessInfoResponse`.

Businesses onboarding in regions that verify a named individual against
the business (the EU, for example) have to identify their registered
director or authorised representative. Today the business info schemas
carry no way to name that person, so there is nowhere for an integrator
to send it.

## Why two plain properties rather than a `primaryContact` object

The customer's existing top-level `email` and `phoneNumber` already are
that person's contact details — they're documented as "Required in
regions that verify the email address before identity verification".
Nesting a fresh contact object with its own email and phone would create
a second, competing pair of channels for the same human, and the
verification endpoints (`POST /customers/{id}/verify-email`,
`/verify-phone`) verify the customer-level ones. Only the name was
missing, so only the name is added.

Both fields are optional, so existing integrations are unaffected.

## Test plan

- `make build` — bundles cleanly to `openapi.yaml` +
`mintlify/openapi.yaml`
- `npx spectral lint openapi.yaml --fail-severity=error` — 0 errors, and
no new findings against the added properties
- `oasdiff breaking <main> <head> --fail-on ERR` — "No breaking changes
to report", so no `info.version` bump

Requested by @jklein24

Original PR: #804
@jklein24
jklein24 deleted the 08-05-business-primary-contact-name branch August 6, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants