Update a capital deposit company
Use the API to update the company information linked to a capital deposit case.
Prerequisites
All of the following conditions must be met:
- The capital deposit case status is
WaitingForInitialRequirements,PendingInternalReview,WaitingForAdditionalInformation, or the deprecatedWaitingForRequirements. - The company onboarding is finalized.
Guideβ
- Call the
updateCapitalDepositCaseCompanymutation. - Add the capital deposit case ID.
- Add the fields you want to update:
companyNameand/orresidencyAddress. - Add the success payload and any information you'd like to receive.
- Add rejections.
Automatic synchronization
Updating these fields automatically syncs the data across both the capital deposit case and the associated account holder.
Mutationβ
Open in API Explorermutation UpdateCompany {
updateCapitalDepositCaseCompany(
input: {
capitalDepositCaseId: "$CAPITAL_DEPOSIT_CASE_ID"
companyName: "Acme"
residencyAddress: {
addressLine1: "10 Rue de Rivoli"
city: "Paris"
postalCode: "75001"
state: "Γle-de-France"
country: "FRA"
}
}
) {
... on UpdateCapitalDepositCaseCompanySuccessPayload {
__typename
capitalDepositCase {
id
companyName
companyOnboarding {
accountHolder {
info {
name
}
residencyAddress {
addressLine1
city
postalCode
country
}
}
}
}
}
... on CapitalDepositCaseCanNotBeFoundRejection {
__typename
message
}
... on BadRequestRejection {
__typename
message
}
... on ValidationRejection {
__typename
message
}
... on ForbiddenRejection {
__typename
message
}
... on InternalErrorRejection {
__typename
message
}
}
}
Payloadβ
{
"data": {
"updateCapitalDepositCaseCompany": {
"__typename": "UpdateCapitalDepositCaseCompanySuccessPayload",
"capitalDepositCase": {
"id": "a4c9da36-56e1-4ed8-b0a1-2c9f3d7e8b12",
"companyName": "Acme",
"companyOnboarding": {
"accountHolder": {
"info": {
"name": "Acme"
},
"residencyAddress": {
"addressLine1": "10 Rue de Rivoli",
"city": "Paris",
"postalCode": "75001",
"country": "FRA"
}
}
}
}
}
}
}