Test with OpenAPI

更新时间:
复制 MD 格式

Risk Identification is integrated with OpenAPI to explore and debug its APIs. You can find the service by searching for Risk Identification on the OpenAPI Explorer page, or go there directly.

Prerequisites

  1. You have an Alibaba Cloud enterprise account and have activated the Risk Identification service, or click to activate.

  2. Risk Identification provides various ready-to-use, scenario-based risk control models. Identify the service to test and obtain its required parameters. For more information, see common parameters.

Procedure

  1. Go to the Risk Identification OpenAPI Explorer page and sign in.

  2. Follow the prompts to enter values for the Service and ServiceParameters parameters, then click Initiate Call.

The left pane lists the available APIs, categorized by Domestic public service call, Overseas public service call, and Custom event service call. In this example, the ExecuteRequest API is selected. The center pane is the API debugging area, where you can select a Service endpoint, enter values for ServiceParameters and Service, and then click Initiate Call. The right pane describes the request and response parameters.

Parameter

Example value

Service endpoint

China (Hangzhou)

Service

account_abuse

ServiceParameters

{"mobile":"13188XXXX88","ip":"123.1.XX.XX"}

  1. The following is an example response.

{
  "Message": "OK", 
  "RequestId": "CC78A86E-CFA2-5BB5-9FA5-1AA4265D9C21", 
   "Data": 
   { 
        "score": 0 
   }, 
   "Code": 200
}