Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions openapi/components/schemas/errors/Error409.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ properties:
| EMAIL_OTP_CREDENTIAL_SET_CHANGED | Tied EMAIL_OTP credential set changed after the signed-retry challenge was issued |
| PASSKEY_ALREADY_ENROLLED | The customer already has an enrolled passkey factor; only one passkey per customer is supported. Delete the existing one before enrolling another |
| SCA_SESSION_REQUIRED | The customer's Strong Customer Authentication login session is missing or expired. Re-authenticate the customer, then retry the request. Distinct from a `401`, which means the platform's own API credentials were rejected |
| BENEFICIARY_TRUSTED | The external account is currently a trusted beneficiary, so it cannot be deleted. Untrust it first via `POST /customers/external-accounts/{externalAccountId}/untrust` (and its `/confirm`), then delete |
| CONFLICT | Generic resource-state conflict. Returned, for example, when `platformCustomerId` on a customer create call collides with an existing active customer on the same platform |
enum:
- TRANSACTION_NOT_PENDING_PLATFORM_APPROVAL
Expand All @@ -30,6 +31,7 @@ properties:
- EMAIL_OTP_CREDENTIAL_SET_CHANGED
- PASSKEY_ALREADY_ENROLLED
- SCA_SESSION_REQUIRED
- BENEFICIARY_TRUSTED
- CONFLICT
message:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ get:
$ref: ../../components/schemas/errors/Error500.yaml
delete:
summary: Delete customer external account by ID
description: Delete a customer external account by its system-generated ID
description: >-
Delete a customer external account by its system-generated ID.

An account that is currently a trusted beneficiary for SCA cannot be deleted —
untrust it first via
`POST /customers/external-accounts/{externalAccountId}/untrust` (and its
`/confirm`), then delete.
operationId: deleteCustomerExternalAccountById
tags:
- External Accounts
Expand All @@ -61,6 +67,14 @@ delete:
application/json:
schema:
$ref: ../../components/schemas/errors/Error404.yaml
'409':
description: >-
Returned with `BENEFICIARY_TRUSTED` when the external account is
currently a trusted beneficiary. Untrust it first, then delete.
content:
application/json:
schema:
$ref: ../../components/schemas/errors/Error409.yaml
'500':
description: Internal service error
content:
Expand Down
Loading