Skip to main content
POST
/
kyc
/
getKYCToken
kyc获取token
curl --request POST \
  --url http://dev-cn.your-api-server.com/kyc/getKYCToken \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchantId": "<string>",
  "merchantUserId": "<string>",
  "channel": "<string>"
}
'
{
  "success": false,
  "errorCode": "",
  "errorMessage": "",
  "errorMessageEn": "",
  "detailMessage": "",
  "requestId": "",
  "data": {
    "token": "",
    "powerCardUserId": ""
  }
}

Interface Description

PowerCard integrates with Sumsub KYC. When the frontend launches the KYC WebSDK, it needs to obtain the corresponding token. This interface is used to get the token. For detailed documentation, refer to Sumsub WebSDK integration documentation. KYC verification requires calling this interface to obtain the KYC TOKEN.
For card products that require KYC verification, cards can be created directly after successful KYC verification.
For card products that do not require KYC verification, this step can be skipped, but users must be created.

Body

application/json
merchantId
string
required

商户id

merchantUserId
string
required

商户对应用户id

channel
string
required

渠道

Response

200 - application/json
success
boolean
default:false

是否业务处理成功

errorCode
string

错误码

errorMessage
string

错误信息

errorMessageEn
string

英文错误信息

detailMessage
string

详细信息

requestId
string

請求uuid

data
object

结果数据