POST
/
merchant
/
user
/
list
curl --request POST \
  --url https://api.unibee.top/merchant/user/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 123,
  "createTimeEnd": 123,
  "createTimeStart": 123,
  "deleteInclude": true,
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "page": 123,
  "planIds": [
    123
  ],
  "sortField": "<string>",
  "sortType": "<string>",
  "status": [
    123
  ],
  "subStatus": [
    123
  ],
  "subscriptionId": "<string>",
  "userId": 123
}'
{
  "code": 123,
  "data": {
    "total": 123,
    "userAccounts": [
      {
        "address": "<string>",
        "avatarUrl": "<string>",
        "billingType": 123,
        "birthday": "<string>",
        "city": "<string>",
        "companyName": "<string>",
        "countryCode": "<string>",
        "countryName": "<string>",
        "createTime": 123,
        "creditAccounts": [
          {
            "amount": 123,
            "createTime": 123,
            "currency": "<string>",
            "currencyAmount": 123,
            "exchangeRate": 123,
            "id": 123,
            "payoutEnable": 123,
            "rechargeEnable": 123,
            "totalDecrementAmount": 123,
            "totalIncrementAmount": 123,
            "type": 123,
            "userId": 123
          }
        ],
        "custom": "<string>",
        "email": "<string>",
        "externalUserId": "<string>",
        "facebook": "<string>",
        "firstName": "<string>",
        "gateway": {
          "IsSetupFinished": true,
          "archive": true,
          "autoChargeEnabled": true,
          "bank": {
            "accountHolder": "<string>",
            "address": "<string>",
            "bic": "<string>",
            "iban": "<string>"
          },
          "countryConfig": {},
          "createTime": 123,
          "currency": "<string>",
          "currencyExchange": [
            {
              "exchange_rate": 123,
              "from_currency": "<string>",
              "to_currency": "<string>"
            }
          ],
          "currencyExchangeEnabled": true,
          "description": "<string>",
          "displayName": "<string>",
          "gatewayIcons": [
            "<string>"
          ],
          "gatewayId": 123,
          "gatewayKey": "<string>",
          "gatewayLogo": "<string>",
          "gatewayName": "<string>",
          "gatewayPaymentTypes": [
            {
              "autoCharge": true,
              "category": "<string>",
              "countryName": "<string>",
              "name": "<string>",
              "paymentType": "<string>"
            }
          ],
          "gatewaySecret": "<string>",
          "gatewayType": 123,
          "gatewayWebhookIntegrationLink": "<string>",
          "gatewayWebsiteLink": "<string>",
          "minimumAmount": 123,
          "name": "<string>",
          "privateSecretName": "<string>",
          "publicKeyName": "<string>",
          "setupGatewayPaymentTypes": [
            {
              "autoCharge": true,
              "category": "<string>",
              "countryName": "<string>",
              "name": "<string>",
              "paymentType": "<string>"
            }
          ],
          "sort": 123,
          "subGateway": "<string>",
          "subGatewayName": "<string>",
          "webhookEndpointUrl": "<string>",
          "webhookSecret": "<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>",
        "planId": 123,
        "profession": "<string>",
        "promoCreditAccounts": [
          {
            "amount": 123,
            "createTime": 123,
            "currency": "<string>",
            "currencyAmount": 123,
            "exchangeRate": 123,
            "id": 123,
            "payoutEnable": 123,
            "rechargeEnable": 123,
            "totalDecrementAmount": 123,
            "totalIncrementAmount": 123,
            "type": 123,
            "userId": 123
          }
        ],
        "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
count
integer

Count OF Page

createTimeEnd
integer

CreateTimeEnd

createTimeStart
integer

CreateTimeStart

deleteInclude
boolean

Deleted Involved,Need Admin

email
string

Search Filter Email

firstName
string

Search FirstName

lastName
string

Search LastName

page
integer

Page,Start 0

planIds
integer[]

PlanIds, Search Filter PlanIds

sortField
string

Sort,user_id|gmt_create|email|user_name|subscription_name|subscription_status|payment_method|recurring_amount|billing_type,Default gmt_create

sortType
string

Sort Type,asc|desc,Default desc

status
integer[]

Status, 0-Active|2-Frozen

subStatus
integer[]

Filter, Default All,1-Pending|2-Active|3-Suspend | 4-Cancel | 5-Expire | 6- Suspend| 7-Incomplete | 8-Processing | 9-Failed

subscriptionId
string

Search Filter SubscriptionId

userId
integer

Filter UserId

Response

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