Skip to content

Onboard child apps

Create, verify, and operate a child app without losing control of its create-only credential.

Child-app onboarding creates a durable commerce boundary and a bearer credential in one operation. The safe workflow decides ownership first, prepares secret storage before the request, verifies the returned identity, and records only the public relationship facts the API actually returns.

Prerequisites

  • Complete Design app boundaries.
  • Use a server-side parent-app key with the authority required for app creation.
  • Prepare an encrypted secret store and an authenticated delivery path if another party will own the child key.
  • For operating policies, confirm that your account is enrolled in the selected-account private beta before depending on policy fields.

Choose ownership before the request

Create an app accepts an optional relationship_policy. Its public choices answer two separate questions:

Field Question Public values
credentials Who controls the child’s keys after creation? child or parent
management Who manages the direct relationship? child or parent
child_standing What standing should the relationship begin with? Use only the documented values in the Apps reference.

Omitting the relationship policy defaults to parent management and child credential control. Defaults are convenient, but they are not a substitute for an ownership decision. Record the chosen owners in your tenant or organization registry before creating the child.

Create and capture atomically

Treat creation and credential capture as one transaction in your application:

  1. Create an onboarding attempt in your own registry and persist the exact planned boundary and request before calling Inttegro.
  2. Call Create an app from a trusted server. Omit placement_parent_application_id for an ordinary direct child.
  3. Validate that the response contains app.id, app.relationship, and app.secret_key.token before marking onboarding complete.
  4. Write the token directly to the prepared secret store. Mark it sensitive so logs, traces, exception reports, and operator screens redact it.
  5. Persist the app ID, relationship ID, direct parent ID, and relationship status against the onboarding attempt. Do not persist extra copies of the token.
  6. If child credential control was selected, deliver the secret through the authenticated path agreed with the child. Do not send it in ordinary email, support chat, analytics, or a browser response.

The token is returned only by the create operation. Lookup an app and Update an app do not return secret values. If capture fails after a successful response, do not repeat creation blindly: preserve the request evidence and reconcile the original attempt through a supported recovery path first.

Verify with the child’s credential

Use the newly stored child key to call Lookup an app. Verification is complete only when:

  • the returned app.id matches the ID from creation;
  • app.relationship.parent.id matches the expected direct parent;
  • app.relationship.status is appropriate for your intended use; and
  • the returned metadata matches your onboarding record.

The relationship object is the public record of direct placement. It does not tell you who controls credentials, prove wider organizational hierarchy, or grant the parent access to every child resource. Keep the ownership decision in your registry and enforce tenant isolation in your own control plane.

If verification fails, keep the tenant disabled in your product. Preserve the API request ID, compare the stored app ID and secret reference, and retry only the read operation. Do not create a replacement child until you know whether the first creation succeeded.

Complete the operating setup

App creation is not the same as readiness to take payments or send payouts. After identity verification:

  1. Review the public app.capabilities returned by the Apps API using the child key.
  2. Treat restricted or unavailable capabilities as real setup state; do not hide them behind a successful app-creation response.
  3. If the policy beta is enabled, confirm that the returned operating-policy snapshot matches the intended selection.
  4. Configure payment methods, financial accounts, and payout destinations only within the child app that owns those resources.
  5. Run a non-production integration test with non-production credentials before enabling customer traffic.

Simile can validate the public request and response shapes for app operations and exercise synthetic creation locally. It cannot prove that a production account has private-beta access, that delegated placement is authorized, that a key reached the intended human owner, or that live financial capabilities are enabled.

Operate the child safely

Use Update an app for mutable metadata and, when enabled, for replacing the operating-policy snapshot. That endpoint does not move resources, change the direct parent, or rotate keys.

Use the Keys API for subsequent credential lifecycle work. A safe rotation process issues a replacement into the same secret store, deploys it to the trusted server, verifies it, then disables the old key. Never destroy the only working credential before the replacement has been proven.

The public Apps API does not expose a general delete, reparent, or relationship-policy update operation. Do not promise those actions in your customer onboarding UI. If your offboarding model depends on one, confirm the supported process with Inttegro before launch.

Acceptance checklist

Check Evidence to retain
Boundary is correct Approved boundary record naming purpose, environment, resource scope, and settlement owner.
Owners are explicit Credential and management owners recorded before creation.
Secret is protected Secret-manager reference exists; plaintext is absent from logs, databases, tickets, and client responses.
Identity is verified Child-authenticated lookup matches the created app and expected direct parent.
Capabilities are known Capability response reviewed before customer traffic is enabled.
Recovery is possible Onboarding attempt, app ID, relationship ID, and API request ID are available without exposing the token.

Recover incomplete onboarding

Make recovery depend on the last verified fact, not on a generic “retry” button.

Last known fact Safe next action Action to avoid
No create request was sent Send the reviewed request recorded for the onboarding attempt Rebuilding a different request from partial operator input
Request was sent but the response was lost Stop and reconcile the unknown result through a supported recovery path Repeating creation and risking a second app because the first result is unknown
App ID was stored but the token was not captured Stop onboarding and determine the supported credential recovery path before continuing Expecting app lookup to reveal the create-only token
Token was stored but identity was not verified Call app lookup with that token and compare the returned app ID and parent Sending customer traffic before the key’s identity is known
Identity was verified but configuration failed Keep the tenant disabled and retry only the failed configuration step Recreating the app and leaving two live identities
Secret delivery to a child owner is uncertain Treat delivery as incomplete and use an authenticated, auditable delivery mechanism Resending plaintext through email or chat

Store onboarding state and error summaries without storing request authorization headers or the plaintext child token. Preserve Inttegro request IDs because they let support correlate a failure without receiving your secrets.

Design operator access

Most credential incidents begin in operator tooling rather than the API call itself. An internal onboarding screen should display the app ID, relationship status, configuration state, and secret-store reference—not the bearer token. Restrict creation and rotation actions to operators whose role requires them, and require a second review when credential ownership or settlement responsibility changes.

Do not add a “show secret” feature merely because the secret manager can return the value. Services that need the child credential should load it at execution time; humans usually need to know that a secret exists and when it was issued, not read it. Redact authorization headers in HTTP tracing before enabling app creation in production.

Exercise recovery in non-production: interrupt the request after sending it, simulate secret-store failure, retry verification, and confirm that the workflow produces one child app and no plaintext logs. This test is at least as important as the successful onboarding path.

Type to search…

↑↓ navigate↵ selectEsc close