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. CLIENT API
  2. Customer
  3. API Management

Apply API

PreviousAPI ManagementNextSet permissions

Last updated 11 months ago

Apply API

post

version=0.0.1 bizType=customer.app.CustomerApiWebService.applyApi Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
tagstringRequired

API tag

googleCodestringOptional

Google Verification Code

phoneCodestringOptional

Mobile verification code, email verification code are required

emailCodestringOptional

Mobile verification code, email verification code are required

phoneSendTokenstringOptional

Send mobile verification code to return token, phoneCode must be passed when not empty

emailSendTokenstringOptional

Send email verification code to return token, emailCode must be passed when not empty

Responses
200
Success
application/json
post
POST /api/global/customer.app.CustomerApiWebService.applyApi HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "tag": "text",
  "googleCode": "text",
  "phoneCode": "text",
  "emailCode": "text",
  "phoneSendToken": "text",
  "emailSendToken": "text"
}
200

Success

{
  "msg": "Success",
  "fail": false,
  "trace": "x-8e544ed3-057a-48ed-ade2-27d3998f7411-1677654224398",
  "code": "0",
  "data": {
    "customerGroupId": null,
    "sources": null,
    "apiKey": "47b471e57c394e8fbc18535805e04016",
    "updateTime": 1677654224184,
    "expiredTime": 1685430224184,
    "privateKey": "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAKvivs7OSD2kYMGjDoOQ6ATsnLV7GMZgJUtDW5N4RS+ZEG/unVSgbBxfVRYvJ3TQ7/bmf24Brs+dqEhWrlXHgdxe2ieQ4IBZb94jScUW2GWBlpz1ULCB1UIYF0sp6fzfadgeCkJrEdtC5xcp0dbg6KzAJOT2Qg6fuELt6M6PQsQlAgMBAAECgYA96ixfJDEjey2bMpgMzkq1U2HTgWbYNlPYu4emJEGPtqwUFbi4fhzTT4e/uPaWfpihsD+gqZyFjr3KaObdYUMmPX2gNVn1qtcTICF4Y0MPFhaGIb8hUzi/xJpOUYinOFzZpE3bt1EUvIlIvDzdqDKD6gEs6kh2ana2JPXzZAZiwQJBAOZ3PbrqDNM239/TvD2yzG6Z35thInH1P4ziShn3saOwU5vNYRt4ArfgNYUnjrlSFOYxAtkxr2GCOIUdfiYwd1UCQQC+7fu1FMWFEKnyg2DR0nkaj461EWNgEUD1nCUDP4d71ccUcf6399faatc3XAqzG7+XApxQpVp+eQIS3QefyHmRAkAJGdRaOTvga15T3GymkxT3mSP3YtKVZXXo/lamx90/9YqXsHiROSACWtxCMdm0/8TLgkv2f7vJQfcxaoS8xVUxAkAQbNzImT7c0bAtIsxDgL3WYR8/yH0qGJHkD0jH3MFFEAEOazgkj3fMXICjTJHHEs4KqbjU30THuJVLFiS/xDlhAkA4L4sl3aFVDFo0CUFjSMxFquaYe8QeS8t1eBpUR7PSJcKS80jKrHk4s8SOSf9/yuU/Kbnki4rUTXpR5fSscOqC",
    "whiteIps": null,
    "companyId": 368,
    "createTime": 1677654224184,
    "customerId": 117,
    "ipLimit": false,
    "tag": "2343",
    "withdrawTime": 1677827024184,
    "secretKeyMd5": "95cfcea9ef853cd519d65858ddc01dfe",
    "id": 3,
    "permissionDTOList": [
      {
        "code": "ready_only",
        "paths": null,
        "canEdit": false,
        "name": "Read",
        "status": 1
      },
      {
        "code": "trade",
        "paths": null,
        "canEdit": true,
        "name": "Spot Trade",
        "status": 2
      },
      {
        "code": "contract_trade",
        "paths": null,
        "canEdit": true,
        "name": "Contract Trade",
        "status": 2
      },
      {
        "code": "captial_out",
        "paths": null,
        "canEdit": true,
        "name": "Withdraw",
        "status": 2
      }
    ],
    "customerNo": "86000116",
    "validityDays": 90,
    "pubKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr4r7Ozkg9pGDBow6DkOgE7Jy1exjGYCVLQ1uTeEUvmRBv7p1UoGwcX1UWLyd00O/25n9uAa7PnahIVq5Vx4HcXtonkOCAWW/eI0nFFthlgZac9VCwgdVCGBdLKen832nYHgpCaxHbQucXKdHW4OiswCTk9kIOn7hC7ejOj0LEJQIDAQAB"
  },
  "bizCode": "",
  "tm": 87948437,
  "msgParams": null,
  "ok": true
}