docs: include businessType in the business-customer create examples - #833
Open
JasonCWang wants to merge 1 commit into
Open
docs: include businessType in the business-customer create examples#833JasonCWang wants to merge 1 commit into
JasonCWang wants to merge 1 commit into
Conversation
`businessType` is optional to the schema, so none of the create examples set it — but receivers advertise their own mandatory sender fields, and GBP receivers require this one. A business that omits it passes KYB and then fails every GBP quote with MISSING_MANDATORY_USER_INFO, which reads as a corridor problem rather than a missing field. Adds it to the six business-customer create examples so the copy-paste path produces a customer that can actually pay. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Greptile SummaryAdds the optional
Confidence Score: 5/5The documentation-only change appears safe to merge. The added field is placed correctly within
|
| Filename | Overview |
|---|---|
| .claude/skills/grid-api/SKILL.md | Adds guidance and a valid businessType field to the business-customer curl example. |
| mintlify/global-p2p/onboarding/configuring-customers.mdx | Adds the valid business classification to the Global P2P regulated-customer example. |
| mintlify/ramps/onboarding/configuring-customers.mdx | Adds the valid business classification to the Ramps business-customer example. |
| mintlify/snippets/creating-customers/customers.mdx | Updates the shared customer-creation snippet with the accepted business type. |
| mintlify/snippets/kyc/kyc-regulated.mdx | Adds the accepted business type to the regulated KYB example. |
| mintlify/snippets/kyc/kyc-unregulated.mdx | Adds the accepted business type to the unregulated KYB creation step. |
Reviews (1): Last reviewed commit: "docs: include businessType in the busine..." | Re-trigger Greptile
jklein24
approved these changes
Aug 14, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Adds
businessTypeto the sixPOST /customersbusiness-customer examples (kyc-regulated,kyc-unregulated,creating-customers/customers, theglobal-p2pandrampsconfiguring-customers pages, and thegrid-apiskill snippet).Why
businessTypeis optional in the schema and appeared in none of our examples. But a receiver advertises the sender fields it requires viarequiredPayerDataFieldson the lookup response, and GBP receivers require this one.That makes for a confusing failure: a business customer created by copying the docs passes KYB, shows
kybStatus: APPROVED, and then fails every GBP quote withMISSING_MANDATORY_USER_INFObefore the payment is attempted. It reads as a corridor or provider problem rather than a field that was never set at creation.Setting it in the examples means the copy-paste path produces a customer that can actually pay. Existing customers can be fixed with
PATCH /customers/{id}, or unblocked for a single payment by passingsenderCustomerInfoon the quote.Test Plan
Verified every edited
businessInfoblock still parses as JSON, and thatINFORMATIONis a member of theBusinessTypeenum inopenapi/components/schemas/customers/BusinessType.yaml. No spec changes, so no rebundle needed.🤖 Generated with Claude Code