Deel: Execute a Child Account onboarding intent action
Deel intents.doChildAccountOnboardingIntentAction: arguments, response, policy and SDK examples.
← Intents operations · Get started
Operation deel.intents_dochildaccountonboardingintentaction_v2026_11_16
Provider route: POST /intents/child-account-onboardings/{intent_id}/actions/{action_key}. 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"]["doChildAccountOnboardingIntentAction"]>[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.doChildAccountOnboardingIntentAction(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.do_child_account_onboarding_intent_action(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 | |
path.action_key | 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 Execute a Child Account onboarding intent action — request body — body data |
Referenced models: Execute a Child Account onboarding intent action — 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 Execute a Child Account onboarding intent action — 200 response body |
Referenced models: Execute a Child Account onboarding intent action — 200 response body
Schemas
Section titled “Schemas”6 more schemas are linked from the tables above, on the schema pages.
Execute a Child Account onboarding intent action — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
amounts | array | Optional | verify_bank_account only, and required there: the two deposit amounts in US dollars, in any order. |
amounts[] | number | Each item | Format: double Maximum: 0.99 Minimum: 0.01 |
Execute a Child Account onboarding intent action — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
action_result | Model | Required within parent | Expand Execute a Child Account onboarding intent action — 200 response body — action result What the partner does next for the action. |
data | Model | Required within parent | Expand Execute a Child Account onboarding intent action — 200 response body — data The intent after the action. |
Referenced models: Execute a Child Account onboarding intent action — 200 response body — action result, Execute a Child Account onboarding intent action — 200 response body — data
Execute a Child Account onboarding intent action — 200 response body — action result
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | What the partner does next for the action. |
expires_at | JSON | Required within parent | |
expires_at (anyOf 1) | string | Alternative | When the link stops working. Null for a `CALL`. |
expires_at (anyOf 2) | null | Alternative | When the link stops working. Null for a `CALL`. |
type | string | Required within parent | How the partner finishes the action. `REDIRECT`: send the signer to `url`. `CALL`: the call did the action; read the intent in `data`. Known values: REDIRECT, CALL |
url | JSON | Required within parent | |
url (anyOf 1) | string | Alternative | One-time link to the signer session, on your own white-label host when you have one. It runs every signer step that is due. A new call stops the previous link if the signer has not opened it yet. Deel does not store it and never shows it again; a repeat with the same Idempotency-Key signs a new token for the same link. Null for a `CALL`. |
url (anyOf 2) | null | Alternative | One-time link to the signer session, on your own white-label host when you have one. It runs every signer step that is due. A new call stops the previous link if the signer has not opened it yet. Deel does not store it and never shows it again; a repeat with the same Idempotency-Key signs a new token for the same link. Null for a `CALL`. |
Execute a Child Account onboarding intent action — 200 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The intent after the action. |
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 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_dochildaccountonboardingintentaction_v2026_11_16. Catalog operation: intents_dochildaccountonboardingintentaction_v2026_11_16. 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-16"}