Rules and thresholds. Rokh can give your account a panel page where you change the rules of the checks for your new requests. A request keeps its changed rules in flow_policy.gates. Refer to Rules and thresholds.
An uncertain face match to the document photo can pass. The score must be 70 or more, and no required check can fail. decision_basis tells this. Refer to The decision.
A person can pass a no_pass request manually, with a note. Use the request page of the panel or POST /api/vendor/requests/{id}/manual-decision. DELETE withdraws it. The report keeps the automatic result in automatic_result. Refer to Pass a request manually.
The webhook field correction.kind tells a new check (recheck) from a manual decision (manual_decision, manual_decision_withdrawn).
The report has the field vendor_input_check. It shows a name with missing words and a birth date that is not the same as the document. The customer possibly typed these values incorrectly on your site. Refer to Incorrect values from your site.
Rokh sends a message again after 1 hour, 6 hours and 24 hours too. Rokh stops after the seventh attempt. Refer to Webhooks.
When Rokh checks a finished request again and the result changes, Rokh sends request.completed again. The message has the field correction with the previous result. Refer to Webhooks.
API keys. Your server uses Authorization: Bearer <key>. Make and revoke keys in the panel.
Your own site. The SDK rokh-kyc.js shows the steps inside your page. Set your allowed origins in the panel or with PUT /api/vendor/panel/embed.
return_url sends the customer back to your site at the end.
Idempotency-Key on POST /api/vendor/requests.
The webhook event request.expired.
status shows expired for a link after expires_at. raw_status keeps the stored value.
GET /api/vendor/requests accepts the filters customer_label and status.
Rokh refuses an unknown field in the body of a new request.
The vendor panel and the operations desk cannot show inside a frame of a different site.
A link that is not valid shows a Persian page to the customer, not an empty error page.
Your domain. The customer steps can show on a hostname of your domain, for example https://kyc.example.com. Rokh gets and renews the certificate. Use the panel or /api/vendor/panel/domain.