Update a company onboarding
Deprecated
This page documents the legacy onboarding API. It is preserved as a read-only reference. Refer to account onboarding enhancements for the current onboarding API.
Update company onboardings using the API.
Updating UBO fields
Fields about an ultimate beneficial owner (UBO) can't be updated incrementally. If you need to update UBO information, you must submit all of the fields again.
Prerequisites
- You must have a project access token.
- The onboarding status must be
Ongoing(valid or invalid).
Guide
To update a company onboarding, change the language.
- First, retrieve the ID for the onboarding you need to update.
- Call the
updateCompanyOnboardingmutation. - Enter the onboarding ID retrieved in step 1.
- Check the box for
language, then enter the language code of your choosing (example:frores). - Add desired messages to the success payload, either for validation or in case of rejection.
- Recommendation: Inside the
UpdateCompanyOnboardingSuccessPayloadoption, addonboardingStateandstatusInfo>statusto confirm the onboarding is still ongoing and valid after making the update.
- Recommendation: Inside the
Mutation
Open in API Explorermutation UpdateCompanyOnboarding {
updateCompanyOnboarding(
input: {
onboardingId: "$ONBOARDING_ID"
language: "fr"
}
) {
... on ForbiddenRejection {
__typename
message
}
... on InternalErrorRejection {
__typename
message
}
... on UpdateCompanyOnboardingSuccessPayload {
__typename
onboarding {
language
onboardingState
statusInfo {
status
}
}
}
... on ValidationRejection {
__typename
message
fields {
message
}
}
}
}
Payload
{
"data": {
"updateCompanyOnboarding": {
"__typename": "UpdateCompanyOnboardingSuccessPayload",
"onboarding": {
"language": "fr",
"onboardingState": "Ongoing",
"statusInfo": {
"status": "Valid"
}
}
}
}
}