Sub-account creation is currently blocked by a CLI/API mismatch: the CLI requires a full website URL, while the API requires a bare domain. Wait for a compatible CLI/API release before running the create-first workflow below. The remaining management commands work with an existing sub-account; you can create one through the API.
Prerequisites
Use a full parent-account API key with the matching sub-account scopes. Sub-accounts are available to Platform Partners; contact sales about access. The shell examples need Bash and jq.Create and Manage a Test Sub-Account
After the creation issue above is fixed, save the following three examples in one Bash script. The script stops if creation fails, and only updates or deletes the test account it creates.allocated_cost is a proportional share of the parent’s pooled invoice, not standalone pricing. A monthly credit of 0 means no cap.
Manage a Test Sub-Account API Key
Continue with the sub-account created above. Store the one-timesecret_key securely if an application needs it; this test keeps only the key ID.

