客户接口/客户KYC认证

业务场景是否KYC通过

post

version=0.0.1 bizType=customer.app.KycWebApiService.checkKycApply 登录之后可以访问

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

开户类型:0.个人 1.企业

businessCodestringRequired

业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card

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

{
  "openAccountType": 1,
  "businessCode": "text"
}
200Success
{

    "msg": "Success",

    "fail": false,

    "trace": "x-y87e-cait-r4b6-c135wj-1677641720",

    "code": "0",

    "data": 2,//正常2=成功,异常状态【0认证,1审核中,3审核拒绝】

    "bizCode": "",

    "tm": 6551651,

    "msgParams": "CUSTOMER_API_0000602",

    "ok": true

}

获取业务场景KYC认证信息

post

version=0.0.1 bizType=customer.app.KycWebApiService.findAllBizKyc 登录之后可以访问

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

业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card

openAccountTypeinteger · int32Optional

开户类型:0.个人 1.企业

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

{
  "businessCode": "text",
  "openAccountType": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-4djg1xe-p9sygx2-1v7k21-y2z1g-1677642057",
  "code": "0",
  "data": [],
  "bizCode": "",
  "tm": 4315987,
  "msgParams": null,
  "ok": true
}

身份认证列表

post

version=0.0.1 bizType=customer.app.KycWebApiService.findAllBizKycList 登录之后可以访问

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

开户类型:0.个人 1.企业

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

{
  "openAccountType": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": [
    {
      "levelCode": "text",
      "levelName": "text",
      "status": 1,
      "statusName": "text",
      "sort": 1,
      "preLevelName": "text",
      "businessNameList": [
        "text"
      ],
      "businessCodeList": [
        "text"
      ],
      "companyType": "text",
      "openAccountType": "text",
      "pathCode": "text"
    }
  ],
  "ok": true,
  "fail": true
}

根据业务场景获取客户已经认证信息

post

version=0.0.1 bizType=customer.app.KycWebApiService.findAllCusKycListByBiz 登录之后可以访问

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

业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card

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

{
  "businessCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": [
    {
      "levelCode": "text",
      "openAccountType": 1,
      "levelName": "text",
      "pathName": "text",
      "pathCode": "text",
      "elementList": [
        {
          "elementCode": "text",
          "elementName": "text",
          "showType": "text",
          "extend": "text",
          "elementValue": "text",
          "elementValueInputGroup": "text",
          "elementCodeInputGroup": "text"
        }
      ]
    }
  ],
  "ok": true,
  "fail": true
}

KYC等级是否要KYC认证

post

version=0.0.1 bizType=customer.app.KycWebApiService.findAllLevelKyc 登录之后可以访问

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

语言信息

levelCodestringOptional

KYC等级( level_1,level_2, level_3)

customerNostringOptional

客户账号(每个公司下唯一,跨公司不唯一)

openAccountTypeinteger · int32Optional

开户类型:0.个人 1.企业

selectCountrystringOptional

选择的国家

selectCompanyTypestringOptional

选择的企业类型

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

{
  "levelCode": "level_1"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": [
    {
      "levelCode": "text",
      "openAccountType": 1,
      "levelName": "text",
      "pathName": "text",
      "pathCode": "text",
      "elementList": [
        {
          "elementCode": "text",
          "elementName": "text",
          "showType": "text",
          "extend": "text",
          "elementValue": "text",
          "elementValueInputGroup": "text",
          "elementCodeInputGroup": "text"
        }
      ]
    }
  ],
  "ok": true,
  "fail": true
}

获取支持企业开户的国家

post

version=0.0.1 bizType=customer.app.KycWebApiService.findCompanyCountry 登录之后可以访问

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.KycWebApiService.findCompanyCountry
POST /api/global/customer.app.KycWebApiService.findCompanyCountry HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-0m1j4g7-9f99i12r-n8f86-ev41-1677649081",
  "code": "0",
  "data": {
    "companyId": 360,
    "createTime": 1647485223229,
    "action": "manual",
    "updateTime": 1675775113871,
    "id": 1504288172189061000,
    "openCompanyCountry": "MC,CN"
  },
  "bizCode": "",
  "tm": 3817612,
  "msgParams": null,
  "ok": true
}

KYC业务场景认证申请

post

version=0.0.1 bizType=customer.app.KycWebApiService.kycApply 登录之后可以访问

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

KYC等级Code(level_1,level_2,level_3)

businessCodestringOptional

业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card

openAccountTypeinteger · int32Optional

开户类型:0.个人 1.企业

selectCompanyTypestringOptional

选择的企业类型,企业认证时必填

commitTagbooleanOptional

是否提交,默认提交

selectCountrystringOptional

选择的国家,企业认证选填,空值取注册国家

cardTypestring · max: 50Optional

卡类型

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

{
  "levelCode": "text",
  "businessCode": "text",
  "openAccountType": 1,
  "elementList": [
    {
      "elementValue": "text",
      "elementCode": "text"
    }
  ],
  "selectCompanyType": "text",
  "commitTag": true,
  "selectCountry": "text",
  "cardType": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

KYC等级认证申请

post

version=0.0.1 bizType=customer.app.KycWebApiService.kycLevelApply 登录之后可以访问

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

KYC等级Code(level_1,level_2,level_3)

openAccountTypeinteger · int32Optional

开户类型:0.个人 1.企业

selectCountrystringOptional

选择的国家,企业认证选填,空值取注册国家

selectCompanyTypestringOptional

选择的企业类型,企业认证时必填

commitTagbooleanOptional

是否提交,默认提交

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

{
  "levelCode": "level_1",
  "elementList": [
    {
      "elementCode": "applyCurrency",
      "elementValue": "HKD"
    },
    {
      "elementCode": "type",
      "elementValue": "1"
    }
  ]
}
200Success
{
    "msg": "Success",
    "fail": false,
    "trace": "x-eb9so-p7qxs-7588-88mm-1677650372",
    "code": "0",
    "data": "K683312403240189952",//对应kyc待审核提案id
    "bizCode": "",
    "tm": 28692396,
    "msgParams": null,
    "ok": true
}

Last updated