Repository navigation
docs: drop stale platform-owned rule-based account caveat - #1063
Conversation
Platform-owned rule-based accounts are supported, so omitting customerId on POST /internal-accounts is no longer rejected. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
⚡ Revision log — updated in place, latest first. Revision 3
Earlier revisions (2)Revision 2
Revision 1
|
|
| account in the same currency, which is where funds land when a sweep | ||
| cannot be completed. Platform-owned rule-based accounts are not available | ||
| yet, so omitting this is currently rejected. | ||
| cannot be completed. |
There was a problem hiding this comment.
Conflicting account availability guidance
This field now says that omitting customerId creates a platform-owned account, but the POST /internal-accounts operation still says rule-based accounts are available “for individual customers.” This contradiction can make integrators overlook the newly supported platform-owned flow. Please align the operation description and rebundle the generated contracts.
Knowledge Base Used:
Prompt To Fix With AI
This is a comment left during a code review.
Path: openapi/components/schemas/customers/InternalAccountCreateRequest.yaml
Line: 17
Comment:
**Conflicting account availability guidance**
This field now says that omitting `customerId` creates a platform-owned account, but the `POST /internal-accounts` operation still says rule-based accounts are available “for individual customers.” This contradiction can make integrators overlook the newly supported platform-owned flow. Please align the operation description and rebundle the generated contracts.
**Knowledge Base Used:**
- [Grid API contract](https://app.greptile.com/lightspark/-/custom-context/knowledge-base/lightsparkdev/grid-api/-/docs/api-contract.md)
- [Customers and accounts API](https://app.greptile.com/lightspark/-/custom-context/knowledge-base/lightsparkdev/grid-api/-/docs/customers-and-accounts-api.md)
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Good catch, fixed in c067e69: the operation now says rule-based accounts are available "for a customer or for your platform itself", and both bundles are rebuilt. ⚡
…-accounts Co-Authored-By: greptile-apps <greptile-apps@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
|
⚡ Review ledger Round 1
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Co-Authored-By: bsiaotickchong <bsiaotickchong@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Summary
Platform-owned rule-based accounts are now supported: omitting
customerIdonPOST /internal-accountscreates a platform-owned account. Two descriptions still said otherwise.customerIdfield onInternalAccountCreateRequestended with "Platform-owned rule-based accounts are not available yet, so omitting this is currently rejected." That sentence is removed.POST /internal-accountsoperation said rule-based accounts are available "for individual customers, and must be enabled for your platform before this endpoint accepts requests". It now says they are available "for a customer or for your platform itself", and the enablement clause is removed.Changes
openapi/components/schemas/customers/InternalAccountCreateRequest.yaml: sentence removed.openapi/paths/internal_accounts.yaml: availability wording updated and enablement clause removed.openapi.yamlandmintlify/openapi.yaml: rebundled withmake build.Test plan
make build: the bundled diff contains only these two description changes.make lint-openapi: exits 0.🤖 Generated with Claude Code
Requested by @bsiaotickchong
Original PR: #1062