Xtrempay Api Documentation
Authorization: Bearer ********************{
"title": "Weekly Trivia",
"prizeAmount": 5000,
"startTime": "2025-09-25T15:14:00.531Z",
"endTime": "2025-09-25T23:11:00.531Z",
"questionType": "",
"questionCount": 15,
"numberOfWinners": 1,
"sharingFormula": "PROPORTIONAL"
}curl --location --request POST 'https://mock.apidog.com/m1/918700-0-default/v1/gaming/admin/trivia/challenges' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Weekly Trivia",
"prizeAmount": 5000,
"startTime": "2025-09-25T15:14:00.531Z",
"endTime": "2025-09-25T23:11:00.531Z",
"questionType": "",
"questionCount": 15,
"numberOfWinners": 1,
"sharingFormula": "PROPORTIONAL"
}'{
"timestamp": "2025-07-09T20:32:20.773221",
"status": 201,
"success": true,
"message": "Trivia challenge created successfully",
"data": null
}