Deel: Cancel a Child Account onboarding intent
Deel intents.cancelChildAccountOnboardingIntent: arguments, response, policy and SDK examples.
← Intents operations · Get started
Operation deel.intents_cancelchildaccountonboardingintent_v2026_11_17
Provider route: POST /intents/child-account-onboardings/{intent_id}/cancel. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["intents"]["cancelChildAccountOnboardingIntent"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.intents.cancelChildAccountOnboardingIntent(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.intents.cancel_child_account_onboarding_intent(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.intent_id | string | Required within parent | |
headers | object | Required within parent | Additional keys: not allowed |
headers.Idempotency-Key | string | Required within parent | |
headers.X-Beta | string | Required within parent | Default: true One of: true |
body | object | Optional | |
body.data | Model | Optional | Expand Cancel a Child Account onboarding intent — request body — body data The cancellation. May be left out. |
Referenced models: Cancel a Child Account onboarding intent — request body — body data
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Cancel a Child Account onboarding intent — 200 response body |
Referenced models: Cancel a Child Account onboarding intent — 200 response body
Schemas
Section titled “Schemas”5 more schemas are linked from the tables above, on the schema pages.
Cancel a Child Account onboarding intent — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The cancellation. May be left out. |
code | string | Optional | Why the intent was canceled. Why the intent is canceled. Only `REQUESTED` is accepted, and it is the default. One of: REQUESTED |
reason | string | Optional | Free text for your records. It is returned in `cancellation.reason`. Maximum length: 500 |
Cancel a Child Account onboarding intent — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data The intent. |
Referenced models: Cancel a Child Account onboarding intent — 200 response body — data
Cancel a Child Account onboarding intent — 200 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The intent. |
cancellation | JSON | Required within parent | The cancellation of a canceled intent, or null. |
cancellation (anyOf 1) | Model | Alternative | Expand Cancel a Child Account onboarding intent — 200 response body — data / cancellation / code: REQUESTED |
cancellation (anyOf 2) | null | Alternative | |
created_at | string | Required within parent | When the intent was opened. |
details | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data details What the intent sets up. |
expires_at | JSON | Required within parent | |
expires_at (anyOf 1) | string | Alternative | When the intent expires, or null for no expiry. |
expires_at (anyOf 2) | null | Alternative | When the intent expires, or null for no expiry. |
id | string | Required within parent | Id of the intent. |
last_error | JSON | Required within parent | |
last_error (anyOf 1) | object | Alternative | The last error of the intent, or null. Additional keys: see wildcard field |
last_error (anyOf 1).* | JSON | Additional keys | Any type |
last_error (anyOf 2) | null | Alternative | The last error of the intent, or null. Additional keys: see wildcard field |
last_error (anyOf 2).* | JSON | Additional keys | Any type |
next_actions | array | Required within parent | The actions for the steps that are due, in step order. |
next_actions[] | Model | Each item | Expand Cancel a Child Account onboarding intent — 200 response body — data next actions item |
object | string | Required within parent | Always `intent`. |
requirements | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data requirements The steps by status. |
result | JSON | Required within parent | |
result (anyOf 1) | object | Alternative | The result of a finished intent, or null. Additional keys: see wildcard field |
result (anyOf 1).* | JSON | Additional keys | Any type |
result (anyOf 2) | null | Alternative | The result of a finished intent, or null. Additional keys: see wildcard field |
result (anyOf 2).* | JSON | Additional keys | Any type |
status | string | Required within parent | The statuses an intent of this version uses. Status of the intent. Known values: CANCELED, REQUIRES_ACTION, SUCCEEDED |
steps | array | Optional | Every step of the intent in definition order. Only with `include=steps`. |
steps[] | Model | Each item | Expand Cancel a Child Account onboarding intent — 200 response body — data steps item |
subject | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data subject The Child Account and its signer. |
summary | string | Required within parent | One sentence on where the intent stands. |
type | string | Required within parent | Type of the intent. |
type_version | string | Required within parent | Version of the type the intent was opened with, as a date. |
updated_at | string | Required within parent | When the intent last changed. |
wait | JSON | Required within parent | |
wait (anyOf 1) | object | Alternative | What the intent waits for, or null. Additional keys: see wildcard field |
wait (anyOf 1).* | JSON | Additional keys | Any type |
wait (anyOf 2) | null | Alternative | What the intent waits for, or null. Additional keys: see wildcard field |
wait (anyOf 2).* | JSON | Additional keys | Any type |
Referenced models: Cancel a Child Account onboarding intent — 200 response body — data subject, Cancel a Child Account onboarding intent — 200 response body — data / cancellation / code: REQUESTED, Cancel a Child Account onboarding intent — 200 response body — data details, Cancel a Child Account onboarding intent — 200 response body — data next actions item, Cancel a Child Account onboarding intent — 200 response body — data requirements, Cancel a Child Account onboarding intent — 200 response body — data steps item
Cancel a Child Account onboarding intent — 200 response body — data subject
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The Child Account and its signer. |
organization_id | string | Required within parent | UUID of the Child Account. Format: uuid |
signer_user_id | string | Required within parent | Id of the signer user. |
Cancel a Child Account onboarding intent — 200 response body — data / cancellation / code: REQUESTED
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The cancellation of a canceled intent, or null. |
canceled_at | string | Required within parent | When the intent was canceled (ISO 8601). Format: date-time |
code | string | Required within parent | Why the intent was canceled. Known values: REQUESTED |
reason | JSON | Required within parent | |
reason (anyOf 1) | string | Alternative | The free text the partner sent when canceling, or null. |
reason (anyOf 2) | null | Alternative | The free text the partner sent when canceling, or null. |
Cancel a Child Account onboarding intent — 200 response body — data details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | What the intent sets up. |
micro_deposits_sent_at | JSON | Required within parent | |
micro_deposits_sent_at (anyOf 1) | string | Alternative | When Deel sent the two micro-deposits (ISO 8601). They usually arrive 1–2 business days later. Null until the signer adds the bank account, and again when the account must be added again. Format: date-time |
micro_deposits_sent_at (anyOf 2) | null | Alternative | When Deel sent the two micro-deposits (ISO 8601). They usually arrive 1–2 business days later. Null until the signer adds the bank account, and again when the account must be added again. Format: date-time |
payment_method | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data details payment method The payment method the intent sets up. |
Referenced models: Cancel a Child Account onboarding intent — 200 response body — data details payment method
Cancel a Child Account onboarding intent — 200 response body — data next actions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
actor | string | Required within parent | Who does the step. Who does the action. Known values: CLIENT |
call | Model | Required within parent | Expand Cancel a Child Account onboarding intent — 200 response body — data next actions item call The call that does the action. |
confirm | JSON | Required within parent | Who must confirm the action. `HUMAN` means a person must do it. Null means no confirmation. |
confirm (anyOf 1) | string | Alternative | Who must confirm the action. `HUMAN` means a person must do it. Null means no confirmation. Known values: HUMAN |
confirm (anyOf 2) | null | Alternative | |
key | string | Required within parent | Key of the step the action does. |
redirect | Model | Optional | Expand Cancel a Child Account onboarding intent — 200 response body — data next actions item redirect Only on a `REDIRECT` action: who the returned link is for, and what the call returns. |
title | string | Required within parent | Short name of the action for a person. |
type | string | Required within parent | How the caller does the step. `REDIRECT` sends a person to a link. `CALL` is an API call. How the action is done. Known values: CALL, REDIRECT |
why | string | Required within parent | Why the action is needed. |
Referenced models: Cancel a Child Account onboarding intent — 200 response body — data next actions item call, Cancel a Child Account onboarding intent — 200 response body — data next actions item redirect
Cancel a Child Account onboarding intent — 200 response body — data details payment method
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The payment method the intent sets up. |
rail | string | Required within parent | Payment rail. Known values: US_ACH |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.intents_cancelchildaccountonboardingintent_v2026_11_17. Catalog operation: intents_cancelchildaccountonboardingintent_v2026_11_17. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["organizations:write"]
Pinned headers: {"X-Version": "2026-11-17"}