Skip to content

docs(kyc): align EDD sandbox example with OpenAPI schema - #755

Merged
jklein24 merged 1 commit into
mainfrom
docs/sync-20260728
Jul 30, 2026
Merged

docs(kyc): align EDD sandbox example with OpenAPI schema#755
jklein24 merged 1 commit into
mainfrom
docs/sync-20260728

Conversation

@claude

@claude claude Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix sandbox-verification.mdx EDD example to use correct endpoint (PATCH /customers/{customerId} instead of non-existent POST /customers/edd)
  • Replace invalid PERSONAL_SPEND enum value with valid P2P_TRANSFERS from PurposeOfAccount schema
  • Add required customerType: INDIVIDUAL to PATCH request body

This sync addresses documentation drift from the Grid Programmatic KYC API (#726) changes.

Test plan

  • Verified P2P_TRANSFERS is a valid PurposeOfAccount enum value in openapi/components/schemas/customers/PurposeOfAccount.yaml
  • Verified EDD fields are patched via PATCH /customers/{customerId} per CustomerEdd.yaml description and IndividualCustomerUpdateRequest.yaml schema
  • Ran make lint - no new errors

🤖 Generated with Claude Code

The sandbox-verification.mdx example referenced a non-existent
`POST /customers/edd` endpoint and used an invalid `PERSONAL_SPEND`
enum value. Updated to:
- Use `PATCH /customers/{customerId}` (the actual endpoint for EDD)
- Replace `PERSONAL_SPEND` with valid `P2P_TRANSFERS` from PurposeOfAccount enum
- Add required `customerType: INDIVIDUAL` to the PATCH request body

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 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 Jul 28, 2026 9:04am
grid-wallet-demo Ignored Ignored Jul 28, 2026 9:04am

Request Review

@mintlify

mintlify Bot commented Jul 28, 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 Jul 28, 2026, 9:05 AM

@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR corrects the sandbox EDD example to use the schema-defined customer PATCH endpoint, required customer type discriminator, and valid purpose-of-account enum.

  • Replaces the nonexistent POST /customers/edd request with PATCH /customers/{customerId}.
  • Adds the required customerType: INDIVIDUAL request-body field.
  • Replaces PERSONAL_SPEND with the valid P2P_TRANSFERS enum value.

Confidence Score: 5/5

The PR appears safe to merge with no actionable defects identified.

The documented endpoint, required customer type discriminator, EDD field placement, and revised enum values all align with the current OpenAPI definitions.

Important Files Changed

Filename Overview
mintlify/snippets/sandbox-verification.mdx The revised EDD curl example matches the customer PATCH route and individual-customer update schema.

Reviews (1): Last reviewed commit: "docs(kyc): align EDD sandbox example wit..." | Re-trigger Greptile

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
Grid 🟡 Building Jul 28, 2026, 9:04 AM

@jklein24
jklein24 merged commit 554d21c into main Jul 30, 2026
9 checks passed
@jklein24
jklein24 deleted the docs/sync-20260728 branch July 30, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant