Cancel a capital deposit case
Use the API to cancel a capital deposit case.
Prerequisites
All of the following conditions must be met:
- The capital deposit case status is
WaitingForRequirements
. - Your shareholders can't have the shareholder status
CapitalTransferred
. - The shareholder account's booked balance is zero (0).
Guide​
- Call the
cancelCapitalDepositCase
mutation. - Add the capital deposit case ID.
- Add the success payload and any information you'd like to receive.
- Add rejections (not shown).
Mutation​
🔎 Open the mutation in API Explorer
mutation CancelCase {
cancelCapitalDepositCase(input: { id: "$CAPITAL_DEPOSIT_CASE_ID" }) {
... on CancelCapitalDepositCaseSuccessPayload {
__typename
capitalDepositCase {
status
}
}
}
}
Payload​
{
"data": {
"cancelCapitalDepositCase": {
"__typename": "CancelCapitalDepositCaseSuccessPayload",
"capitalDepositCase": {
"status": "Canceled"
}
}
}
}