Skip to main content
GET
/
merchant
/
get
Get Profile
curl --request GET \
  --url https://api.unibee.dev/merchant/get \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "data": {
    "Currency": [
      {
        "Currency": "<string>",
        "Scale": 123,
        "Symbol": "<string>"
      }
    ],
    "MemberRoles": [
      {
        "createTime": 123,
        "id": 123,
        "merchantId": 123,
        "permissions": [
          {
            "group": "<string>",
            "permissions": [
              "<string>"
            ]
          }
        ],
        "role": "<string>"
      }
    ],
    "TimeZone": [
      "<string>"
    ],
    "analyticsHost": "<string>",
    "cloudFeatureAnalyticsEnabled": true,
    "cname": "<string>",
    "cnameDomain": "<string>",
    "defaultCurrency": "<string>",
    "defaultEmailGateway": "<string>",
    "emailGateways": {},
    "emailSender": {
      "address": "<string>",
      "name": "<string>"
    },
    "env": "<string>",
    "exchangeRateApiKey": "<string>",
    "gateways": [
      {
        "IsSetupFinished": true,
        "archive": true,
        "autoChargeEnabled": true,
        "bank": {
          "accountHolder": "<string>",
          "address": "<string>",
          "ABARoutingNumber": "<string>",
          "CNAPS": "<string>",
          "Remarks": "<string>",
          "accountNumber": "<string>",
          "bankName": "<string>",
          "bic": "<string>",
          "bsbCode": "<string>",
          "iban": "<string>",
          "swiftCode": "<string>"
        },
        "companyIssuer": {
          "issueAddress": "<string>",
          "issueCompanyName": "<string>",
          "issueLogo": "<string>",
          "issueRegNumber": "<string>",
          "issueVatNumber": "<string>"
        },
        "countryConfig": {},
        "createTime": 123,
        "currency": "<string>",
        "currencyExchange": [
          {
            "exchange_rate": 123,
            "from_currency": "<string>",
            "to_currency": "<string>"
          }
        ],
        "currencyExchangeEnabled": true,
        "defaultGatewayPaymentType": {
          "autoCharge": true,
          "category": "<string>",
          "countryName": "<string>",
          "name": "<string>",
          "paymentType": "<string>",
          "supportCurrencies": [
            "<string>"
          ]
        },
        "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>",
            "supportCurrencies": [
              "<string>"
            ]
          }
        ],
        "gatewaySecret": "<string>",
        "gatewayType": 123,
        "gatewayWebhookIntegrationLink": "<string>",
        "gatewayWebsiteLink": "<string>",
        "isDefault": true,
        "metadata": {},
        "minimumAmount": 123,
        "name": "<string>",
        "privateSecretName": "<string>",
        "publicKeyName": "<string>",
        "setupGatewayPaymentTypes": [
          {
            "autoCharge": true,
            "category": "<string>",
            "countryName": "<string>",
            "name": "<string>",
            "paymentType": "<string>",
            "supportCurrencies": [
              "<string>"
            ]
          }
        ],
        "sort": 123,
        "subGateway": "<string>",
        "subGatewayName": "<string>",
        "webhookEndpointUrl": "<string>",
        "webhookSecret": "<string>"
      }
    ],
    "globalTOPTEnabled": true,
    "globalUSVATConfig": {
      "active": true,
      "availableGatewayNames": [
        "<string>"
      ],
      "checkAddressViaGateway": true,
      "defaultGatewayName": "<string>",
      "fromAddress": {
        "address": "<string>",
        "city": "<string>",
        "countryCode": "<string>",
        "state": "<string>",
        "verified": true,
        "zipCode": "<string>"
      },
      "nexusAddresses": [
        {
          "address": "<string>",
          "city": "<string>",
          "countryCode": "<string>",
          "state": "<string>",
          "verified": true,
          "zipCode": "<string>"
        }
      ],
      "taxCode": "<string>",
      "toAddress": {
        "address": "<string>",
        "city": "<string>",
        "countryCode": "<string>",
        "state": "<string>",
        "verified": true,
        "zipCode": "<string>"
      },
      "uploadInvoiceToGateway": true
    },
    "isOwner": true,
    "isProd": true,
    "merchant": {
      "address": "<string>",
      "companyLogo": "<string>",
      "companyName": "<string>",
      "companyRegistryCode": "<string>",
      "companyVatNumber": "<string>",
      "countryCode": "<string>",
      "countryName": "<string>",
      "createTime": 123,
      "email": "<string>",
      "homeUrl": "<string>",
      "host": "<string>",
      "id": 123,
      "location": "<string>",
      "name": "<string>",
      "phone": "<string>",
      "timeZone": "<string>",
      "type": 123,
      "userId": 123
    },
    "merchantMember": {
      "MemberGroupPermission": {},
      "MemberRoles": [
        {
          "createTime": 123,
          "id": 123,
          "merchantId": 123,
          "permissions": [
            {
              "group": "<string>",
              "permissions": [
                "<string>"
              ]
            }
          ],
          "role": "<string>"
        }
      ],
      "createTime": 123,
      "currentDeviceIdentity": "<string>",
      "deviceList": [
        {
          "currentDevice": true,
          "identity": "<string>",
          "ipAddress": "<string>",
          "lastActiveTime": 123,
          "lastLoginTime": 123,
          "lastTotpVerificationTime": 123,
          "name": "<string>",
          "status": true
        }
      ],
      "email": "<string>",
      "firstName": "<string>",
      "id": 123,
      "isBlankPasswd": true,
      "isOwner": true,
      "lastName": "<string>",
      "merchantId": 123,
      "mobile": "<string>",
      "oauthAccounts": [
        {
          "email": "<string>",
          "emailVerified": true,
          "image": "<string>",
          "name": "<string>",
          "provider": "<string>",
          "providerId": "<string>"
        }
      ],
      "status": 123,
      "totpType": 123
    },
    "multiCurrencyConfigs": [
      {
        "currencyConfigs": [
          {
            "autoExchange": true,
            "currency": "<string>",
            "exchangeRate": 123
          }
        ],
        "defaultCurrency": "<string>",
        "lastUpdateTime": 123,
        "name": "<string>"
      }
    ],
    "openApiHost": "<string>",
    "openApiKey": "<string>",
    "quickBooksCompanyName": "<string>",
    "quickBooksLastSyncError": "<string>",
    "quickBooksLastSynchronized": "<string>",
    "segmentServerSideKey": "<string>",
    "segmentUserPortalKey": "<string>",
    "sendGridKey": "<string>",
    "taxJarApiKeys": {
      "apiKey": "<string>",
      "apiSecret": "<string>"
    },
    "vatSenseKey": "<string>"
  },
  "merchantId": 123,
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Endpoint Overview

GET https://api.unibee.dev/merchant/get Get Profile

Authorization

All UniBee Merchant API requests require authentication via API key.
HeaderRequiredDescription
AuthorizationYesBearer <your_api_key>
Content-TypeYesapplication/json (for request body)

Parameters

Path, query, and request body parameters are defined in the schema below. Use the interactive Try it panel to see the full request structure. Path, query, and request body parameters are defined in the schema below. Use the interactive Try it panel to see the full request structure.

Request examples

cURL

curl -X GET "https://api.unibee.dev/merchant/get" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Sandbox

curl -X GET "https://api-sandbox.unibee.top/merchant/get" \
  -H "Authorization: Bearer YOUR_SANDBOX_API_KEY" \
  -H "Content-Type: application/json"

Response

Success responses return a JSON envelope with code, data, message, redirect, and requestId. code 0 indicates success.
FieldTypeDescription
codeintegerResponse code. 0 = success
dataobjectResponse payload
data.CurrencyarrayCurrency List
data.MemberRolesarrayThe member role list’
data.TimeZonearrayTimeZone List
data.analyticsHoststringAnalytics Host
data.cloudFeatureAnalyticsEnabledbooleanAnalytics Feature Enabled For Cloud Version
data.cnamestringCNAME value for merchant to configure
data.cnameDomainstringMerchant CNAME Domain
data.defaultCurrencystringDefault Currency
data.defaultEmailGatewaystringDefault Email Gateway
data.emailGatewaysobjectEmail Gateway Map
data.emailSenderobject
data.envstringSystem Env, em: daily|stage|local|prod
data.exchangeRateApiKeystringExchangeRateApiKey
data.gatewaysarrayGateway List
data.globalTOPTEnabledbooleanGlobalTOPTEnabled
data.globalUSVATConfigobject
data.isOwnerbooleanCheck Member is Owner
data.isProdbooleanCheck System Env Is Prod, true|false
data.merchantobject
data.merchantMemberobject
data.multiCurrencyConfigsarrayMerchant’s MultiCurrency Configs
data.openApiHoststringOpenApi Host
data.openApiKeystringOpenAPIKey
data.quickBooksCompanyNamestringQuickBooksCompanyName
data.quickBooksLastSyncErrorstringQuickBooksLastSyncError
data.quickBooksLastSynchronizedstringQuickBooksLastSynchronized
data.segmentServerSideKeystringSegmentServerSideKey
data.segmentUserPortalKeystringSegmentUserPortalKey
data.sendGridKeystringSendGridKey
data.taxJarApiKeysobject
data.vatSenseKeystringVatSenseKey
messagestringHuman-readable message
requestIdstringRequest ID for support

Error handling

HTTP statusMeaning
400Bad request — invalid or missing parameters. Check message in the body.
401Unauthorized — missing or invalid API key.
404Not found — invalid path or resource.
500Server error — retry with backoff.
When code in the response body is non-zero, check message for details. Use requestId when contacting support.

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
code
integer<int>
data
object
merchantId
integer<int64>
message
string<string>
redirect
string<string>
requestId
string<string>