POST
/
merchant
/
user
/
new
curl --request POST \
  --url https://api.unibee.top/merchant/user/new \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "<string>",
  "email": "<string>",
  "externalUserId": "<string>",
  "firstName": "<string>",
  "language": "<string>",
  "lastName": "<string>",
  "password": "<string>",
  "phone": "<string>"
}'
{
  "code": 123,
  "data": {
    "user": {
      "address": "<string>",
      "avatarUrl": "<string>",
      "billingType": 123,
      "birthday": "<string>",
      "city": "<string>",
      "companyName": "<string>",
      "countryCode": "<string>",
      "countryName": "<string>",
      "createTime": 123,
      "custom": "<string>",
      "email": "<string>",
      "externalUserId": "<string>",
      "facebook": "<string>",
      "firstName": "<string>",
      "gatewayId": 123,
      "gatewayPaymentType": "<string>",
      "gender": "<string>",
      "id": 123,
      "isRisk": 123,
      "isSpecial": 123,
      "language": "<string>",
      "lastLoginAt": 123,
      "lastName": "<string>",
      "linkedIn": "<string>",
      "merchantId": 123,
      "metadata": {},
      "mobile": "<string>",
      "otherSocialInfo": "<string>",
      "paymentMethod": "<string>",
      "phone": "<string>",
      "profession": "<string>",
      "recurringAmount": 123,
      "registrationNumber": "<string>",
      "school": "<string>",
      "status": 123,
      "subscriptionId": "<string>",
      "subscriptionName": "<string>",
      "subscriptionStatus": 123,
      "taxPercentage": 123,
      "telegram": "<string>",
      "tikTok": "<string>",
      "timeZone": "<string>",
      "type": 123,
      "userName": "<string>",
      "vATNumber": "<string>",
      "version": 123,
      "weChat": "<string>",
      "whatsAPP": "<string>",
      "zipCode": "<string>"
    }
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

User Creation If Not Exist

email
string
required

Email

address
string

Address

externalUserId
string

ExternalUserId

firstName
string

First Name

language
string

Language

lastName
string

Last Name

password
string

Password

phone
string

Phone

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string