This service is primarily used to identify the credit willingness of users; the higher the score, the stronger the credit willingness. It is recommended to use it before marketing campaigns to filter out users with high marketing willingness, thereby enhancing marketing effectiveness and reducing marketing investment.
URL HTTP Method request Content Type response Content Type Charset api-base-url?partner_code=xxx&partner_key=xxx POST application/json json UTF-8
Name Type Description Mandatory Notes partner_code String Partner code yes Provided by TrustDecision partner_key String Partner key yes Provided by TrustDecision
Parameter Type Description Required/Optional Notes event_time String The specific time of the event occurs Required Comply with the ISO 8601 standard; Format: yyyy-mm-ddthh: mm: ss.sssz, for example, 2021-10-12T14: 20: 50.521+07: 00 order_id String Customer-side Business Transaction Number Optional Up to 200 characters long product_id String product_id Required Enumeration:
1、CreditWillingnessPhone policy_id String policy_id Optional Provided by TrustDecision,can be empty country String country Required 2-letter country code according to ISO 3166,currently only supports Indonesia (ID). phone_number String phone_number Conditionally required Do not include the "+" sign or /(); Indonesian phone numbers start with "08".
Confirm with TD before interfacing gaid String Google Ad ID Conditionally required Confirm with TD before interfacing ext object Extended Field Optional
Parameter Type Description Required/Optional Notes code Integer API status code Required The status code message String status information Conditionally required In the API exception state, the specific exception reason will be output. order_id String Customer-side Business Transaction Number Optional Consistent with the input parameters, used for analysis on the customer side. sequence_id String Unique ID of Response Required Unique identifier used to track each request record score Integer score Required willingness score(300-900) result String Decision Result Optional detail String detail Optional
Code Description 200 Success 301 Service not purchased 302 Traffic blocked 303 Traffic insufficient 304 Service expired 305 Daily maximum volume reached 11000 {Field name} input parameter empty 11001 {Field name} input parameter error 11002 Input parameter parsing failed 11302 scenario input parameter error 11400 The corresponding workflow cannot be found 11401 Workflow execution error 11500 System error
JSON
{
"country": "ID",
"order_id": "123",
"event_time": "2024-04-25T14:20:50.521+07:00",
"product_id": "CreditWillingnessPhone",
"policy_id": null,
"phone_number": "0812345678",
"gaid": null,
"ext": null
}
JSON
{
"code": 200,
"detail": null,
"message": "Success",
"order_id": "123",
"result": null,
"score": 838,
"sequence_id": "1715242432854559I30332E092745515"
}