get order details
GET
/v1/orders/{orderId}
order
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/orders/{{orderId}}'
Response Response Example
200 - Success
{
"id": 1,
"raffleId": 1,
"userId": 1,
"status": "PAID",
"quotaQuantity": 10,
"priceByQuota": "50",
"referral": null,
"paymentMethod": "PIX",
"paymentProviderName": "pay2m",
"totalValue": "500",
"paidAt": null,
"createdAt": "2025-02-14T18:54:03.625Z",
"updatedAt": "2025-02-14T18:54:03.625Z",
"raffle": {
"id": 1,
"title": "Luxury Car Giveaway",
"subtitle": "News!",
"photoUrl": "https://example.com/photo.jpg",
"endsAt": "2025-02-21T18:54:03.613Z",
"reservationTimeLimit": 30
},
"luckyNumbers": [],
"user": {
"id": 1,
"phone": "11111111111"
},
"orderPixPayment": {
"qrCodeId": "123456",
"qrCodeContent": "123456"
}
}
Request
Path Params
orderId
string
required
Example:
{{orderId}}