Apply API

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
}

Last updated