Domain name for API request: faceid.intl.tencentcloudapi.com.
This API is used to create an EKYC Webhook configuration.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CreateEKYCWebhook. |
| Version | Yes | String | Common Params. The value used for this API: 2018-03-01. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-hongkong, ap-singapore. |
| WebhookName | Yes | String | Webhook name, used for console display |
| WebhookURL | Yes | String | Callback URL. It must use the HTTPS protocol. |
| Scene | No | String | Business scenario. Default if not passed: AML_SCREENING_RESULT_CHANGE. For parameter values, see the enumeration below. Enumeration values:
|
| SignatureKey | No | String | Callback signature key, up to 128 characters. Used for HMAC-SHA256 signature verification of subsequent callback messages. If not provided, signature is not enabled. It is recommended to use OpenSSL random bytes to generate the key. Recommended command: openssl rand -base64 32
|
| Parameter Name | Type | Description |
|---|---|---|
| Result | String | Returned results |
| WebhookId | Integer | ID of the created Webhook configuration |
| HasSignatureKey | Boolean | Whether to add a key Default value: false. |
| SignatureKey | String | Callback secret key |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: faceid.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateEKYCWebhook
<Common request parameters>
{
"WebhookName": "qq",
"WebhookURL": "https://www.qq.com/"
}
{
"Response": {
"Result": "Success",
"WebhookId": 51,
"RequestId": "1778ad8c-2cf3-4f14-99ff-c250e32f0611"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.AMLDBError | AML database operation error. |
| FailedOperation.AMLInternalError | AML service internal error. |
| FailedOperation.AMLWebhookDuplicate | A webhook for this scene already exists. |
| FailedOperation.EKYCWebhookDuplicate | A webhook for this scene already exists. |
| InvalidParameterValue.AMLFieldValidation | Field validation failed |
| InvalidParameterValue.EKYCFieldValidation | Field validation failed. |
| InvalidParameterValue.MissingScene | Scene is required. |
| InvalidParameterValue.MissingWebhookName | WebhookName is required. |
| InvalidParameterValue.WebhookURL | Webhook URL must be a valid HTTPS URL. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários