diff --git a/mintlify/snippets/sandbox-verification.mdx b/mintlify/snippets/sandbox-verification.mdx index 413713603..e947fd585 100644 --- a/mintlify/snippets/sandbox-verification.mdx +++ b/mintlify/snippets/sandbox-verification.mdx @@ -8,7 +8,7 @@ The **last 3 characters** of the `fullName` on `POST /customers` (with `customer |--------|---------|----------| | **001** | `verificationStatus: IN_PROGRESS`, `kycStatus: PENDING` | KYC verification remains pending (manual review) | | **002** | `verificationStatus: REJECTED`, `kycStatus: REJECTED` | KYC verification is rejected | -| **003** | `verificationStatus: RESOLVE_ERRORS` with `MISSING_FIELD` errors on `edd.*` fields | EDD is required — call `POST /customers/edd` with `customerId` and the requested fields, then retry `POST /verifications` | +| **003** | `verificationStatus: RESOLVE_ERRORS` with `MISSING_FIELD` errors on `edd.*` fields | EDD is required — call `PATCH /customers/{customerId}` with the requested fields, then retry `POST /verifications` | | **Any other** | `verificationStatus: IN_PROGRESS`, `kycStatus: APPROVED` | KYC verification is approved | EDD flow example: @@ -32,14 +32,14 @@ curl -X POST "https://api.lightspark.com/grid/2025-10-13/verifications" \ -H "Content-Type: application/json" \ -d '{ "customerId": "Customer:..." }' -# Supply the EDD fields -curl -X POST "https://api.lightspark.com/grid/2025-10-13/customers/edd" \ +# Supply the EDD fields via PATCH +curl -X PATCH "https://api.lightspark.com/grid/2025-10-13/customers/Customer:..." \ -u "$GRID_CLIENT_ID:$GRID_CLIENT_SECRET" \ -H "Content-Type: application/json" \ -d '{ - "customerId": "Customer:...", + "customerType": "INDIVIDUAL", "sourceOfWealthCategories": ["SALARY"], - "purposeOfAccount": "PERSONAL_SPEND", + "purposeOfAccount": "P2P_TRANSFERS", "annualIncomeRange": "RANGE_100K_250K" }'