Access Documentation
H5 lite
Billing Status Code
Billing Status Code

# Billing Status Codes for the H5 Integration Method

When comparison_type=0 (face comparison) is used, whether billing applies is determined by the error_message field of verify_result returned by the get_result or callback interface. Calling the get_result interface multiple times does not incur repeated billing.

HTTP status code Returned message (error_message of verify_result) Description Billable
200 NULL No error. Yes
200 NO_FACE_FOUND No face detected in the corresponding image. Yes

When comparison_type=-1 (liveness only, no comparison) is used, billing occurs after the liveness detection ends, that is, when status=OK in the get_result interface.