v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Customer Accounts (MTA)

Create customer account

Creates a new customer account. The pair (participant_code, account_label) is unique per participant and is used as idempotency check rather than X-Request-Id; submitting the same pair a second time returns an error rather than creating a duplicate.

post/accounts

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Request body

OR
OR
OR
OR
OR
OR

Example request

{
  "participant_code": "PAR001",
  "account_label": "custom-account-label",
  "tier": "pro",
  "type": "individual",
  "tenants": [
    "PAR002"
  ],
  "financial_advisors": [
    "PAR003"
  ]
}

Response

Creating a customer account is an asynchronous process that does several operations in the background after the response is returned. Customers are advised to listen to the customer_account_status_changed webhook event to be notified when the account is active and ready to use.

Example response

{
  "message": {
    "zrn": "zrn:zh:us:accounts:customer:c761fc96-5c44-40d4-8eb2-3fcd5d06754b",
    "participant_code": "PAR001",
    "platform_code": "PLAT01",
    "account_label": "custom-account-label",
    "account_group": "XYZ456",
    "type": "individual",
    "tier": "pro",
    "status": "open",
    "tenants": [
      "PAR002"
    ],
    "financial_advisors": [
      "PAR003"
    ]
  }
}