{
"codes": [
"string"
],
"activity_id": 1
}curl --location --request POST '/lottery-codes/batch-validate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"codes": [
"string"
],
"activity_id": 1
}'{
"success": true,
"data": {
"results": [
{
"code": "string",
"valid": true,
"message": "string",
"lottery_code_id": 0,
"participant_name": "string",
"participant_email": "string",
"participant_phone": "string"
}
],
"summary": {
"total": 0,
"valid": 0,
"invalid": 0
}
},
"message": "string"
}