GET
/
merchant
/
get
curl --request GET \
  --url https://api.unibee.top/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>"
    ],
    "emailSender": {
      "address": "<string>",
      "name": "<string>"
    },
    "env": "<string>",
    "exchangeRateApiKey": "<string>",
    "gateways": [
      {
        "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>"
      }
    ],
    "isOwner": true,
    "isProd": true,
    "merchant": {
      "address": "<string>",
      "businessNum": "<string>",
      "companyLogo": "<string>",
      "companyName": "<string>",
      "countryCode": "<string>",
      "countryName": "<string>",
      "createTime": 123,
      "email": "<string>",
      "homeUrl": "<string>",
      "host": "<string>",
      "id": 123,
      "idcard": "<string>",
      "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,
      "email": "<string>",
      "firstName": "<string>",
      "id": 123,
      "isBlankPasswd": true,
      "isOwner": true,
      "lastName": "<string>",
      "merchantId": 123,
      "mobile": "<string>",
      "status": 123
    },
    "openApiHost": "<string>",
    "openApiKey": "<string>",
    "segmentServerSideKey": "<string>",
    "segmentUserPortalKey": "<string>",
    "sendGridKey": "<string>",
    "vatSenseKey": "<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.

Response

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