MultiMarkets API Docs en
HomeGitHubReferenceLanguage
  • Overview
  • Quick Start
    • Status
  • CLIENT API
    • Overview
    • Access
      • Sign
      • Request
      • Limit
      • Error Code
      • API Address
      • API Code
    • Login
      • Captcha
    • Customer
      • Customer registration
      • Replacement Token
      • API Management
        • Apply API
        • Set permissions
        • Delete API
    • Market Data
      • Introduction
      • Limit
      • Error Code
      • Subscribe
        • Ticker
        • Market
        • Cancel
      • Query
        • Heartbeat
        • Historical K-line
    • Open API
      • Readme
        • Sign
        • Request
        • Error Code
        • API Address
      • Order Process
      • Base
        • Symbol Base Info
      • Customer
        • Customer Info
      • Trade
        • Contract order
      • Message
        • Get Msg Token
        • Msg Subscribe
        • Get Msg Token
        • Msg Subscribe
      • More...
    • Auth2 API
      • Readme
      • Auth Code
      • Access Token
      • User Info
      • Refresh Token
    • More...
  • Manager API
    • Overview
    • Access
      • Sign
      • Request
      • Limit
      • Error Code
      • API Address
      • API Code
    • Authorize
    • Basic data
      • Universal dictionaries
      • Company currency
    • Product
      • Product List
    • Customer
      • Customer List
      • Customer registration
      • Customer info
      • Customer Group
      • Account Info
    • Funds
      • Balance Update
      • Get Balance
    • Data Push
    • More...
  • Bridge API
    • Overview
    • Access Instructions
      • Illustrate
      • Sign
      • Request
      • Speed ​​Limit
      • Error Code
      • Product List
    • Basic data
      • Get a list of universal dictionaries
      • Obtain company currency permissions
    • Product Data
      • Product information list
      • Product rule list
    • Customer Management
      • Customer registration
      • Customer list
      • Customer details
      • Customer account cancellation
    • Account Management
      • Add account
      • Update account
      • Check account
      • Delete account
    • Trading interface
      • Check balance
      • Check deposit records
      • Check withdrawal records
      • Query transfer records
      • Place an order
      • Query order
      • Order list
      • Transaction record
      • Current pending order
      • Cancel order
    • News Subscription
      • Notification message description
      • Webhook subscription
      • Information callback notification
  • Webhook API
    • Overview
    • Account balance
    • Execute adjustment balance
    • Cancel adjustment balance
  • Message API
    • Overview
    • Custom message API
  • WEB IFRAME
    • Introduction
    • Process description
  • FAQ
    • How to apply for apikey for an interface?
    • What is the purpose of the public key?
    • What is the interface request timeout?
    • Supported development languages?
    • What are the API call restrictions?
    • How to use APIs more safely?
  • API Reference
    • Manager API
    • Client API
  • CHANGELOGS
    • API
Powered by GitBook
On this page
  1. Manager API

Authorize

Management API interface authentication and authorization

PreviousAPI CodeNextBasic data

Last updated 8 months ago

illustrate

To authorize the white label management API, you need to obtain appId and appSecret in advance. You can obtain or reset them by contacting the main label customer service. The following is the information for testing the white label.

Test Account

{
"appId": "7cb9164942caec70594e594db46de7af",
"appSecret": "33171f3e91c45e0dfbb3c9f219906471"
}

  • illustrate
  • Test Account
  • POSTAuth

Auth

post

bizType=admin.admin.CompanyAuthDubboService.auth

Header parameters
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
Body
appIdstringRequired

B-end company authorization ID

appSecretstringRequired

B-end company authorization key

Responses
200
Success
application/json
post
POST /openapi-b/auth/admin.admin.CompanyAuthDubboService.auth HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "appId": "{{app_id}}",
  "appSecret": "{{app_secret}}"
}
200

Success

{
  "code": "0",
  "msg": "Success",
  "tm": 4,
  "data": {
    "Language": [
      {
        "parentId": 162,
        "id": 163,
        "name": "Simplified Chinese",
        "displayName": "Simplified Chinese",
        "nameTw": "Simplified Chinese",
        "nameEn": "Simplified Chinese",
        "code": "zh-CN",
        "parentCode": "Language",
        "sort": 4,
        "status": 1,
        "revision": 0,
        "createBy": "admin",
        "createTime": 1636696846289,
        "updateBy": "admin",
        "updateTime": 1636696846289
      },
      {
        "parentId": 162,
        "id": 164,
        "name": "English",
        "displayName": "English",
        "nameTw": "English",
        "nameEn": "en-US",
        "code": "en-US",
        "parentCode": "Language",
        "sort": 2,
        "status": 1,
        "revision": 1,
        "createBy": "admin",
        "createTime": 1636696876122,
        "updateBy": "test001",
        "updateTime": 1639822331173
      },
      {
        "parentId": 162,
        "id": 618,
        "name": "Bulgarian",
        "displayName": "Bulgarian",
        "code": "bg-BG",
        "parentCode": "Language",
        "sort": 35,
        "status": 1,
        "revision": 0,
        "createBy": "michael.ma",
        "createTime": 1669188193142,
        "updateBy": "michael.ma",
        "updateTime": 1669188193142
      }
    ]
  },
  "ok": true,
  "fail": false
}