Skip to main content
POST
/
v1
/
ext
/
account
/
create-user
Create End User Account (User/Business)
curl --request POST \
  --url https://staging-api.liquidity.walletos.xyz/v1/ext/account/create-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "businessName": "{{$randomCompanyName}}",
  "email": "{{$randomExampleEmail}}",
  "identifier": "{{$randomUUID}}",
  "type": "BUSINESS",
  "firstName": "{{$randomFirstName}}",
  "lastName": "{{$randomLastName}}"
}
'
{
  "message": "User account created",
  "account": {
    "id": "NmFkZWQyYTYtMGY5Yy00YTVkLWJhYWYtNTZiMTVkMzg0ZTQ1"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

The email address for the account

identifier
string
required

A unique identifier for the account

type
enum<string>
required

The type of account to create

Available options:
USER,
BUSINESS
businessName
string

The business name for the account (required for BUSINESS accounts)

firstName
string

The first name for the account (required for USER accounts)

lastName
string

The last name for the account (required for USER accounts)

Response

OK

The response is of type object.