Check Task
- URL:
/Check
- Method:
POST
- Headers:
Content-Type: application/json
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
list | array | Yes | List of card numbers |
key | string | Yes | Authentication key |
api | string | Yes | Interface name |
Request Data Example
shcurl $API_URL/Check \
-X POST \
-H "Content-Type: application/json" \
-d '{
"list":[
{"card":"5263364961111111|12|28|051"},
{"card":"5262360179222222|01|26|651"},
{"card":"5267360369333333|12|27|205"}
],
"key": $API_KEY,
"api":"Gate Api"
}' \
-k
💡 Note, the parameter 'api' is obtained from the card interface list, only characters before '_' are needed, i.e., 'Coco2'
Successful Response
Successful response code example:
json{
"status": "wait",
"errorMsg": "",
"FormatErrorList": [],
"uuid": "d4ddf512-7fe5-4992-ab7c-4bca0bcba401"
}
Error Response
Error response code example:
json{
"status": "error",
"msg": "All card formats uploaded this time are incorrect. The correct format should be: card number date cvv",
"FormatErrorList": ["5267360969313233|12|27|205 => LuhnInvalidCard"],
"uuid": "5f2c8c0b-3847-4c17-adf5-ffce3dccd902"
}
Response Parameter Explanation
Attribute Name | Type | Description |
---|---|---|
status | string | wait or error |
uuid | int | ID for accessing the result interface |
FormatErrorList | string[] | ID for accessing the result interface |
errorMsg | string | Error message (if any) |