docs: document endUserTermsConsent on the Disclosures page - #837
Merged
Conversation
Unregulated platforms must record each customer's End User Terms acceptance before Grid provisions their internal accounts, for both INDIVIDUAL and BUSINESS customers. Add a shared snippet covering the current-terms lookup, the endUserTermsConsent request shape on create and update, and the provisioning consequence, and include it in all four product guides. Co-Authored-By: pengying <pengying@users.noreply.github.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Consolidate the consent instructions where the End User Terms requirements already live, instead of in the four product Configuring Customers guides. Reverts the shared snippet and its includes. Co-Authored-By: pengying <pengying@users.noreply.github.com>
ls-bolt
Bot
force-pushed
the
08-14-document-end-user-terms-consent
branch
from
August 14, 2026 19:55
7f63bc9 to
5c40443
Compare
pengying
marked this pull request as ready for review
August 14, 2026 20:15
pengying
approved these changes
Aug 14, 2026
Contributor
Greptile SummaryDocuments how unregulated platforms record End User Terms acceptance and the consequences of missing consent.
Confidence Score: 5/5The documentation-only change appears safe to merge. The documented consent fields, accepted values, update requirements, response behavior, and error codes align with the repository’s API contracts, and no actionable defect remains.
|
| Filename | Overview |
|---|---|
| mintlify/payouts-and-b2b/onboarding/disclosures.mdx | Adds consent-recording examples and behavior that align with the customer request, response, and error schemas. |
| mintlify/snippets/internal-accounts.mdx | Adds an explicitly scoped warning about consent-gated account provisioning and transactions. |
Reviews (1): Last reviewed commit: "docs: move endUserTermsConsent onto the ..." | Re-trigger Greptile
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.

Summary
Documents
endUserTermsConsenton the Disclosures page. Unregulated platforms must record each customer's End User Terms acceptance — for bothINDIVIDUALandBUSINESScustomers — or Grid won't provision that customer's internal accounts, and customer-scoped transactions are rejected with403 END_USER_TERMS_NOT_ACCEPTED.Disclosures already covered the legal side of this requirement (embed the terms, require affirmative acceptance, send evidence of your consent flow) but stopped short of how to record an acceptance through the API. That left the integration details in the OpenAPI schema descriptions only.
Approach
Everything lands on the existing Disclosures page, next to the consent-flow requirements it already documents, so an integrator reads the obligation and the API call in one place. Added there, as a Record each acceptance section:
endUserTermsConsentobject onPOST /customers, with a field-by-field tablePATCH /customers/{customerId}, so consent can be recorded for customers that already exist — the path for integrations that predate the fieldGET /customers/{customerId}to find customers still missing consentThe page keeps pointing integrators at the hosted terms URL they must embed; it deliberately does not document
GET /customers/end-user-terms, since the terms are embedded once rather than fetched per customer. ThetermsVersionrow notes that Grid rejects an unrecognized version with400 END_USER_TERMS_VERSION_NOT_FOUND.The two paragraphs Disclosures already had on this are replaced by the fuller treatment rather than duplicated.
Changes: 2 files
mintlify/payouts-and-b2b/onboarding/disclosures.mdx— the Record each acceptance section and the consequences of missing consentmintlify/snippets/internal-accounts.mdx— warn that a customer's internal accounts aren't provisioned until consent is recorded, linking to DisclosuresTest plan
mintlify dev(CLI 4.2.284, Node 20) — Disclosures renders and reads straight from presenting the terms into recording acceptance; the Internal Accounts warning renders and its link resolves to Disclosuresmarkdownlint— no new findings versusorigin/mainon either filemintlify broken-links— no new broken links in the touched filesReply with a comment (e.g. LGTM) to approve — emoji reactions don't notify me on GitHub.