Skip to main content
POST
/
v2
/
customers
Create a child customer account
curl --request POST \
  --url https://api.uat.frankie.one/v2/customers \
  --header 'Content-Type: application/json' \
  --header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
  --header 'api_key: <api-key>' \
  --data '
{
  "customer": {
    "name": "Example Child Account"
  },
  "defaultWorkflows": [
    {
      "workflowDefinitionId": "customer-verification-workflow",
      "workflowName": "<string>",
      "workflowDisplayName": "<string>",
      "workflowDefinitionVersion": "0",
      "lifecyclePhase": "OTHER",
      "monitoringType": "AML"
    }
  ],
  "initialUsers": [
    {
      "name": "Jane Doe",
      "email": "user@example.com",
      "roles": [
        "admin"
      ]
    }
  ]
}
'
{
  "requestId": "01HN9XHZN6MGXM9JXG50K59Q85",
  "customer": {
    "name": "Example Child Account",
    "customerChildId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "defaultWorkflows": [
    {
      "workflowDefinitionId": "customer-verification-workflow",
      "workflowName": "<string>",
      "workflowDisplayName": "<string>",
      "workflowDefinitionVersion": "0",
      "lifecyclePhase": "OTHER",
      "monitoringType": "AML"
    }
  ],
  "initialUsers": [
    {
      "name": "Jane Doe",
      "email": "user@example.com",
      "roles": [
        "admin"
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.frankieone.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api_key
string
header
required

Headers

api_key
string
required

Your API key provided by FrankieOne

Example:

"245c765b124a098d09ef8765...."

X-Frankie-CustomerID
string
required

Your Customer ID provided by FrankieOne

Example:

"12345678-1234-1234-1234-123456789012"

X-Frankie-CustomerChildID
string

Your Customer Child ID provided by FrankieOne

Example:

"87654321-4321-4321-4321-210987654321"

X-Frankie-Channel
string

Open string that can be used to define the "channel" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.

X-Frankie-Username
string

Username provided by API caller

Example:

"fred.flintstone@frankieone.com"

Body

application/json

Request to create a child customer account in the context of the calling account as the parent.

customer
object
required

A child customer account in the context of the calling account as the parent.

defaultWorkflows
object[]

Workflows that will be configured for the child customer by default.

initialUsers
object[]

Optional list of users to provision in the newly created child customer account. Each user will be invited via the supplied email address.

Response

Child customer account successfully created.

Response object for creating a child customer account.

requestId
string

The unique request identifier for the API call made.

Example:

"01HN9XHZN6MGXM9JXG50K59Q85"

customer
object

A child customer account in the context of the calling account as the parent.

defaultWorkflows
object[]

The workflows that have been configured for the child customer.

initialUsers
object[]

The users that have been provisioned in the newly created child customer account.