Commit 6b7473c
authored
feat: removing customerId from platformExternalAccount request (#218)
### TL;DR
Added a new `PlatformExternalAccountCreateRequest` schema with a
`platformAccountId` field and updated the platform external accounts
endpoint to use this new schema instead of the generic
`ExternalAccountCreateRequest`.
### What changed?
- Created a new `PlatformExternalAccountCreateRequest` schema that
includes a `platformAccountId` field for platform-specific account
identification
- Updated the platform external accounts POST endpoint to reference the
new schema
- The new schema maintains the same required fields (`currency` and
`accountInfo`) as the original but adds the optional `platformAccountId`
field
### How to test?
- Test the platform external accounts creation endpoint with the new
`platformAccountId` field
- Verify that existing requests without `platformAccountId` still work
as expected
- Confirm that requests with `platformAccountId` properly store and
reference the platform's identifier
### Why make this change?
This change allows platforms to associate their own internal account
identifiers with external accounts, enabling easier account management
and reference within their own systems while maintaining compatibility
with the existing API structure.1 parent 7826a99 commit 6b7473c
4 files changed
Lines changed: 50 additions & 3 deletions
File tree
- mintlify
- openapi
- components/schemas/external_accounts
- paths/platform
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments