Captcha Image
Affected Services
# | Service ID | Service Name |
---|---|---|
1 | 1 | Image to Text (all) |
2 | 4 | VietcomBank |
3 | 5 | Tiktok |
4 | 9 | MB Bank |
5 | 11 | VietinBank |
6 | 12 | TPBank |
7 | 13 | VNPT |
8 | 14 | Viettel |
1. Create Job
POSThttps://captcha-vdg.com/api/CreateJob
application/json
{ "api_token": "YOUR_API_KEY", "service_id": "Service_ID", "data": "BASE64_IMAGE", "fileType": "IMAGE_EXTENSION" }
Response
200
{ "ok": true, "message": "Create Job success", "job_id": 123456 }
200
{ "ok": fail, "message": "API is invalid" }
200
{ "ok": fail, "message": "Service ID is invalid" }
2. Get Job Result
POSThttps://captcha-vdg.com/api/GetJobResult
application/json
{ "api_token": "YOUR_API_KEY", "job_id": "Service_ID", }
Response
200
{ "ok": true, "status": "Success" "result": "abcd1234", "message": "Resolve Captcha Successfully" }
200
{ "ok": true, "status": "Processing" }
200
{ "ok": false, "status": "Error", "message": "ERROR_MESSAGE" }
200
{ "ok": false, "status": "Error", "message": "API is invalid" }
200
{ "ok": false, "status": "Error", "message": "Job ID is invalid" }