Raffle System
  1. lucky-numbers
Raffle System
  • Raffles
    • authentication
      • admin login
      • user login
    • awarded-boxes
      • getAll
      • open awarded box
      • create
      • getAll by raffleId
      • delete
    • awarded-boxes-combo
      • create
      • getAll by raffleId
      • update
      • delete
    • tracking
      • get tracking info
    • pay2m-api
      • access token generation
      • generate billing qr code
      • consult qr code
      • list webhook
      • register/update webhook
      • delete webhook
    • provider-api
      • auth login
      • create pix static
      • get webhooks
      • create webhook
      • get balance
      • get extracts
      • edit webhook
      • delete webhook
      • get webhook details
      • restore webhook
    • winner
      • get quota prize winners
    • general
      • update settings
      • get settings
      • create notifications
      • get notifications
      • get notification by id
      • update notification
      • delete notification
      • create faq
      • get faqs
      • get faq by id
      • update faq
      • delete faq
    • metrics
      • get sales by day for raffle
      • get top buyers by raffle
      • get general metrics
      • get last orders
      • get raffle percentage of sales
      • get orders summary
      • get badges
      • get sell bar
      • get fake sold quotas percentage
      • create fake sold quotas percentage
      • update fake sold quotas percentage
    • payments
      • get payment providers
      • create/update payment provider
      • get payment provider by name
      • get pix payments
      • get my pix payments
      • get pix payment details
    • order
      • create order withou payment method
      • create order
      • get orders
      • get orders by raffle id
      • get my orders
      • get order details
      • pay order
      • cancel order
    • lucky-numbers
      • get lucky numbers by raffleId
        GET
      • get lucky numbers by orderId
        GET
    • raffle
      • toggle awarded boxes visualization
      • toggle awarded boxes winners visualization
      • toggle acumulative combo
      • update category
      • delete category
      • create raffle category
      • get categories
      • create raffle
      • get raffles
      • get raffle details
      • delete raffle
      • update raffle
      • get winners
      • get winner details
      • get winner info
      • create winner
      • upload file
    • user
      • create user
      • get users
      • update user
      • get user details
      • delete user
      • get user by phone
      • get profile
      • create customer
      • update customer
  1. lucky-numbers

get lucky numbers by raffleId

GET
/v1/lucky-numbers/{raffleId}
lucky-numbers
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/lucky-numbers/{{raffleId}}'
Response Response Example
200 - Success
{
    "luckyNumbers": [
        {
            "number": 1,
            "status": "AVAILABLE"
        },
        {
            "number": 2,
            "status": "AVAILABLE"
        },
        {
            "number": 3,
            "status": "AVAILABLE"
        },
        {
            "number": 4,
            "status": "AVAILABLE"
        },
        {
            "number": 5,
            "status": "AVAILABLE"
        },
        {
            "number": 6,
            "status": "AVAILABLE"
        },
        {
            "number": 7,
            "status": "AVAILABLE"
        },
        {
            "number": 8,
            "status": "AVAILABLE"
        },
        {
            "number": 9,
            "status": "AVAILABLE"
        },
        {
            "number": 10,
            "status": "AVAILABLE"
        },
        {
            "number": 11,
            "status": "AVAILABLE"
        },
        {
            "number": 12,
            "status": "AVAILABLE"
        },
        {
            "number": 13,
            "status": "AVAILABLE"
        },
        {
            "number": 14,
            "status": "AVAILABLE"
        },
        {
            "number": 15,
            "status": "AVAILABLE"
        },
        {
            "number": 16,
            "status": "AVAILABLE"
        },
        {
            "number": 17,
            "status": "AVAILABLE"
        },
        {
            "number": 18,
            "status": "AVAILABLE"
        },
        {
            "number": 19,
            "status": "AVAILABLE"
        },
        {
            "number": 20,
            "status": "AVAILABLE"
        },
        {
            "number": 21,
            "status": "RESERVED"
        },
        {
            "number": 22,
            "status": "AVAILABLE"
        },
        {
            "number": 23,
            "status": "AVAILABLE"
        },
        {
            "number": 24,
            "status": "AVAILABLE"
        },
        {
            "number": 25,
            "status": "RESERVED"
        },
        {
            "number": 26,
            "status": "AVAILABLE"
        },
        {
            "number": 27,
            "status": "AVAILABLE"
        },
        {
            "number": 28,
            "status": "AVAILABLE"
        },
        {
            "number": 29,
            "status": "AVAILABLE"
        },
        {
            "number": 30,
            "status": "AVAILABLE"
        },
        {
            "number": 31,
            "status": "AVAILABLE"
        },
        {
            "number": 32,
            "status": "AVAILABLE"
        },
        {
            "number": 33,
            "status": "AVAILABLE"
        },
        {
            "number": 34,
            "status": "AVAILABLE"
        },
        {
            "number": 35,
            "status": "AVAILABLE"
        },
        {
            "number": 36,
            "status": "AVAILABLE"
        },
        {
            "number": 37,
            "status": "AVAILABLE"
        },
        {
            "number": 38,
            "status": "AVAILABLE"
        },
        {
            "number": 39,
            "status": "AVAILABLE"
        },
        {
            "number": 40,
            "status": "AVAILABLE"
        },
        {
            "number": 41,
            "status": "AVAILABLE"
        },
        {
            "number": 42,
            "status": "AVAILABLE"
        },
        {
            "number": 43,
            "status": "AVAILABLE"
        },
        {
            "number": 44,
            "status": "AVAILABLE"
        },
        {
            "number": 45,
            "status": "AVAILABLE"
        },
        {
            "number": 46,
            "status": "AVAILABLE"
        },
        {
            "number": 47,
            "status": "AVAILABLE"
        },
        {
            "number": 48,
            "status": "AVAILABLE"
        },
        {
            "number": 49,
            "status": "AVAILABLE"
        },
        {
            "number": 50,
            "status": "AVAILABLE"
        },
        {
            "number": 51,
            "status": "AVAILABLE"
        },
        {
            "number": 52,
            "status": "AVAILABLE"
        },
        {
            "number": 53,
            "status": "AVAILABLE"
        },
        {
            "number": 54,
            "status": "AVAILABLE"
        },
        {
            "number": 55,
            "status": "AVAILABLE"
        },
        {
            "number": 56,
            "status": "AVAILABLE"
        },
        {
            "number": 57,
            "status": "AVAILABLE"
        },
        {
            "number": 58,
            "status": "AVAILABLE"
        },
        {
            "number": 59,
            "status": "AVAILABLE"
        },
        {
            "number": 60,
            "status": "AVAILABLE"
        },
        {
            "number": 61,
            "status": "AVAILABLE"
        },
        {
            "number": 62,
            "status": "AVAILABLE"
        },
        {
            "number": 63,
            "status": "AVAILABLE"
        },
        {
            "number": 64,
            "status": "AVAILABLE"
        },
        {
            "number": 65,
            "status": "AVAILABLE"
        },
        {
            "number": 66,
            "status": "AVAILABLE"
        },
        {
            "number": 67,
            "status": "AVAILABLE"
        },
        {
            "number": 68,
            "status": "AVAILABLE"
        },
        {
            "number": 69,
            "status": "AVAILABLE"
        },
        {
            "number": 70,
            "status": "AVAILABLE"
        },
        {
            "number": 71,
            "status": "AVAILABLE"
        },
        {
            "number": 72,
            "status": "AVAILABLE"
        },
        {
            "number": 73,
            "status": "AVAILABLE"
        },
        {
            "number": 74,
            "status": "AVAILABLE"
        },
        {
            "number": 75,
            "status": "AVAILABLE"
        },
        {
            "number": 76,
            "status": "AVAILABLE"
        },
        {
            "number": 77,
            "status": "AVAILABLE"
        },
        {
            "number": 78,
            "status": "AVAILABLE"
        },
        {
            "number": 79,
            "status": "AVAILABLE"
        },
        {
            "number": 80,
            "status": "AVAILABLE"
        },
        {
            "number": 81,
            "status": "AVAILABLE"
        },
        {
            "number": 82,
            "status": "AVAILABLE"
        },
        {
            "number": 83,
            "status": "AVAILABLE"
        },
        {
            "number": 84,
            "status": "AVAILABLE"
        },
        {
            "number": 85,
            "status": "AVAILABLE"
        },
        {
            "number": 86,
            "status": "AVAILABLE"
        },
        {
            "number": 87,
            "status": "AVAILABLE"
        },
        {
            "number": 88,
            "status": "AVAILABLE"
        },
        {
            "number": 89,
            "status": "AVAILABLE"
        },
        {
            "number": 90,
            "status": "AVAILABLE"
        },
        {
            "number": 91,
            "status": "AVAILABLE"
        },
        {
            "number": 92,
            "status": "AVAILABLE"
        },
        {
            "number": 93,
            "status": "AVAILABLE"
        },
        {
            "number": 94,
            "status": "AVAILABLE"
        },
        {
            "number": 95,
            "status": "AVAILABLE"
        },
        {
            "number": 96,
            "status": "AVAILABLE"
        },
        {
            "number": 97,
            "status": "AVAILABLE"
        },
        {
            "number": 98,
            "status": "AVAILABLE"
        },
        {
            "number": 99,
            "status": "AVAILABLE"
        },
        {
            "number": 100,
            "status": "AVAILABLE"
        }
    ],
    "count": 10000,
    "totalPages": 100
}

Request

Path Params
raffleId
string 
required
Example:
{{raffleId}}
Query Params
status
enum<string> 
optional
Allowed values:
AVAILABLERESERVEDSOLD
Example:
AVAILABLE
page
string 
optional
Example:
1

Responses

🟢200OK
application/json
Body
luckyNumbers
array [object {2}] 
required
number
integer 
required
status
enum<string> 
required
Allowed values:
AVAILABLERESERVEDSOLD
count
integer 
required
totalPages
integer 
required
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Previous
cancel order
Next
get lucky numbers by orderId
Built with