feat(internal-accounts): record the customer a platform rule-based account receives for - #1081
Open
bsiaotickchong wants to merge 3 commits into
Open
bsiaotickchong wants to merge 3 commits into
bsiaotickchong wants to merge 3 commits into
Conversation
…count receives for Co-Authored-By: bsiaotickchong <bsiaotickchong@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…hen unset 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
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
|
…itutions; keep error text unchanged Co-Authored-By: bsiaotickchong <bsiaotickchong@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds
onBehalfOfCustomerIdto internal accounts. A platform-owned rule-based account can now name the customer whose payments it receives, while the platform keeps owning the account.InternalAccountCreateRequest.onBehalfOfCustomerId(optional): for regulated financial institutions only. Accepted only whencustomerIdis omitted. It must name a customer of the calling platform. The customer does not need to be verified. Several accounts can name the same customer.InternalAccount.onBehalfOfCustomerId: echoed on reads, and omitted for accounts that name no customer, including every customer-owned account.POST /internal-accounts: a newonBehalfOfCustomerrequest example. The endpoint's error descriptions are unchanged.Non-breaking: an optional request field and an optional response field.
Implementation
The server side, and the regenerated client that depends on this spec, is in lightsparkdev/webdev#34152. Merge this PR first.
Test plan
make buildrebundlesopenapi.yamlandmintlify/openapi.yaml.make lint-openapi: 0 errors, the same asmain.Original PR: #1080