Audience:
Cancel a capital deposit case
Cancel an in-progress capital deposit case with the API, which automatically closes the associated accounts.
All of the following conditions must be met:
- The capital deposit case status is
WaitingForInitialRequirements. - Your shareholders can't have the shareholder status
CapitalTransferred. - The shareholder account's booked balance is zero (0).
After shareholders transfer their capital funds, the case can no longer be canceled with the API. You can still contact Swan and ask to cancel the case.
Guide
- Call the
cancelCapitalDepositCasemutation. - Add the capital deposit case ID (line 2).
- Add the success payload and any information you'd like to receive (line 3).
- Add rejections (not shown).
Mutation
Open in API Explorermutation CancelCase {
cancelCapitalDepositCase(input: { id: "$CAPITAL_DEPOSIT_CASE_ID" }) {
... on CancelCapitalDepositCaseSuccessPayload {
__typename
capitalDepositCase {
statusInfo {
status
... on CapitalDepositCaseCanceledStatusInfo {
reasonCode
}
}
}
}
}
}
Payload
The payload confirms the capital deposit case status changed to Canceled and returns the reason code.
{
"data": {
"cancelCapitalDepositCase": {
"__typename": "CancelCapitalDepositCaseSuccessPayload",
"capitalDepositCase": {
"statusInfo": {
"status": "Canceled",
"reasonCode": "KYCIssue"
}
}
}
}
}
What happens after cancelation
When you cancel a capital deposit case, all associated accounts are automatically closed: shareholder accounts and the future company account.
These accounts receive the closure reason code CapitalDepositWithdrawn.
You can subscribe to the CapitalDepositCaseEvent.Canceled webhook to receive notifications when a capital deposit case is canceled.
The cancelation reason code is also available directly on the capital deposit case, in the CapitalDepositCaseCanceledStatusInfo type.
When a capital deposit is successfully completed, shareholder accounts are closed with the reason code CapitalDepositCompleted.
Cases canceled before 2 April 2026 were migrated retroactively to the current reason codes.