Uh oh!
There was an error while loading. Please reload this page.
docs(kyc): align EDD sandbox example with OpenAPI schema - #755
Conversation
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>The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Greptile SummaryThe PR corrects the sandbox EDD example to use the schema-defined customer PATCH endpoint, required customer type discriminator, and valid purpose-of-account enum.
Confidence Score: 5/5The 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.
|
| 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
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Uh oh!
There was an error while loading. Please reload this page.
Summary
PATCH /customers/{customerId}instead of non-existentPOST /customers/edd)PERSONAL_SPENDenum value with validP2P_TRANSFERSfrom PurposeOfAccount schemacustomerType: INDIVIDUALto PATCH request bodyThis sync addresses documentation drift from the Grid Programmatic KYC API (#726) changes.
Test plan
P2P_TRANSFERSis a valid PurposeOfAccount enum value inopenapi/components/schemas/customers/PurposeOfAccount.yamlPATCH /customers/{customerId}perCustomerEdd.yamldescription andIndividualCustomerUpdateRequest.yamlschemamake lint- no new errors🤖 Generated with Claude Code