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

Merchant ID

merchantUserId
string
required

Merchant corresponding user ID

channel
string
required

Channel

Response

200 - application/json
success
boolean
default:false

Whether the business processing is successful

errorCode
string

Error code

errorMessage
string

Error message

errorMessageEn
string

English error message

detailMessage
string

Detailed message

requestId
string

Request UUID

data
object

Result