Bash
curl -X POST "https://api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/aml/renew/update-status" \
-H "X-ACCESS-TOKEN: {Your Access Token}" \
-H "Content-Type: application/json" \
-d '{
"name": "John Doe",
"profileId": "PF_YgKkmLntAJNrp3WOECbaY",
"dob": "1990-05-21",
"nationality": "USA",
"countryLocation": "USA",
"placeOfBirth": "USA",
"gender": "MALE",
"enableOgs": true
}'
Indonesia Singapore Thailand Philippines
https://api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/aml/renew/update-status
POST (application/json)https://sg-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/aml/renew/update-status
POST (application/json)https://th-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/aml/renew/update-status
POST (application/json)https://ph-api.advance.ai/intl/openapi/identity-risk/idvs-h5/ekyc/v1/aml/renew/update-status
POST (application/json)
Parameter) Description profileId string The unique business identifier for the user.autoRenew boolean Whether to enable or disable automatic renew. true means enable, false means disable
Parameter Description code enum Response's Status Code.transactionId string The request id, the max length is 64.message string Status Code Explanation.data object The result of the comparison.extra object Extra response info (Exception Message).
Status Code Message SUCCESS OK PARAMETER_ERROR User ID can not be empty AML_CASE_NOT_FOUND_FOR_USER Case not found for userId AML_CASE_AUTO_RENEW_ENABLED Case already has auto-renew enabled AML_CASE_AUTO_RENEW_NOT_ENABLED Case does not have auto-renew enabled, cannot close renew ERROR Server error.
Field Description profileId string The profile ID.autoRenew boolean Whether auto-renew is enabledmonitoringEndDate longThe monitoring end datecurrentCycleStartTime longStart date of the current monitoring cyclerenewCloseTime longThe time when auto-renew was closed, can be nullogsTaskDaysCountdown integerThe last OGS 365-day monitoring start date (does not refresh upon toggling OGS)
JSON
{
"code": "SUCCESS",
"message": "OK",
"data": {
"profileId": "PF_YgKkmLntAJNrp3WOECbaY",
"autoRenew": false,
"monitoringEndDate": 1793070086000,
"currentCycleStartTime": 1761534086000,
"renewCloseTime": 1761547311991,
"ogsTaskDaysCountdown": 364
},
"extra": null,
"transactionId": "c33131d74353564c",
"pricingStrategy": "FREE"
}
JSON
{
"code": "PARAMETER_ERROR",
"message": "Profile ID can not be empty",
"data": null,
"transactionId": "b203e5f74d9abf11",
"pricingStrategy":"FREE"
}
JSON
{
"code": "AML_CASE_NOT_FOUND_FOR_PROFILE",
"message": "Case not found for profileId",
"data": null,
"extra": null,
"transactionId": "5928a3252e043745",
"pricingStrategy": "FREE"
}
JSON
{
"code": "AML_CASE_AUTO_RENEW_ENABLED",
"message": "Case already has auto-renew enabled",
"data": null,
"extra": null,
"transactionId": "1382632cbd20bc2f",
"pricingStrategy": "FREE"
}
JSON
{
"code": "AML_CASE_AUTO_RENEW_NOT_ENABLED",
"message": "Case does not have auto-renew enabled, cannot close renew",
"data": null,
"extra": null,
"transactionId": "cbd825758e4b2070",
"pricingStrategy": "FREE"
}
JSON
{
"code":"ERROR",
"message":"Server error",
"data":null,
"extra":null,
"transactionId":"1deae5a13ef2bd5e",
"pricingStrategy":"FREE"
}