Skip to content

Add end-user terms consent customer APIs - #788

Draft
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-31-AT-5718-end-user-terms-api
Draft

Add end-user terms consent customer APIs#788
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-31-AT-5718-end-user-terms-api

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add customer endpoints to fetch and update end-user terms consent
  • expose the current Grid-hosted terms URL and version
  • accept consent during customer creation and document the unregulated-platform requirement

Validation

  • make lint

Fixes AT-5718

Requested by @bsiaotickchong

📊 PR Presentation · commit df1a8bc911e00cef52ed9eb5a266dfb602a0a926 · 2026-08-01

@vercel

vercel Bot commented Jul 31, 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 1, 2026 12:08am
grid-wallet-demo Ignored Ignored Preview Aug 1, 2026 12:08am

Request Review

@ls-bolt ls-bolt Bot added the bolt label Jul 31, 2026

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

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

cli

feat(api): add endUserTermsConsent parameter to customers create method

go

feat(api): add endUserTermsConsent parameter to business and individual customer create

kotlin

feat(api): add endUserTermsConsent field to customer create requests

openapi

feat(api): add end-user-terms consent endpoints and field to customers

php

feat(api): add endUserTermsConsent parameter to customer creation

python

feat(api): add end_user_terms_consent to customer create requests

ruby

feat(api): add end_user_terms_consent parameter to business/individual customer create

typescript

feat(api): add endUserTermsConsent parameter to customers create

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

grid-typescript studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ✅

npm install https://pkg.stainless.com/s/grid-typescript/8941b926baa1befbc7ed7f07ec8290deff3d0866/dist.tar.gz
grid-kotlin studio · code · diff

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

grid-go studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ❗

go get github.com/stainless-sdks/grid-go@072354ff1425e401d63e7a048c9f468b9448dd66
grid-python studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ❗

pip install https://pkg.stainless.com/s/grid-python/2da50abcc04af53f8b65166a8d8e0e4384fbc687/grid-0.0.1-py3-none-any.whl
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 ❗

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

Your SDK build had at least one "note" 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-08-01 00:13:21 UTC

@ls-bolt

ls-bolt Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

⚡ On it - adding the three new customer endpoints to the Stainless SDK configuration and validating the preview config. I’ll update here when it’s pushed.


🤖 fission-sentinel(#1) | Feedback

Co-Authored-By: github-actions <github-actions@users.noreply.github.com>
@ls-bolt
ls-bolt Bot force-pushed the 07-31-AT-5718-end-user-terms-api branch from 5ac5ae1 to df1a8bc Compare August 1, 2026 00:08
@ls-bolt

ls-bolt Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Revision 2

  • Added the three new consent/terms endpoints to the Stainless customers resource
  • Registered the new request and response models so generated SDKs expose the methods
  • Re-ran the repository lint successfully

🤖 fission-sentinel(#1) | Feedback

@mintlify

mintlify Bot commented Aug 1, 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 1, 2026, 1:48 AM

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