Order Information
Get Order Information
The method for getting order information returns information about the order and also the proxies attached to it
Order statuses:
- Failed: -1
- Successful: 1
- Awaiting payment: 2
- Overdue: 3
Order types:
- Balance refill: -1
- Renewal: 2
- Purchase: 3
- System renewal: 4
- System balance refill: 5
Request
URL
https://api.belurk.com/orders/:order_id
Sending Method
GET
CURL
- 1.curl --location 'https://api.belurk.com/orders/:order_id'
- 2.--header 'x-api-token: {{API_TOKEN}}'
Successful Response
Response Status: HTTP 200 OK
- 1.{
- 2. data: {
- 3. id: 1773,
- 4. status: 1,
- 5. is_ready: true,
- 6. type: 3,
- 7. amount: 21,
- 8. items: [
- 9. {
- 10. credential_id: '9100',
- 11. product_id: 11,
- 12. login: 'u6KLKgkxpG',
- 13. password: 'vrlDS67M6L',
- 14. ip_address: '38.247.59.223',
- 15. type: 'ipv6',
- 16. country: {
- 17. code: 'CN',
- 18. label: 'Китай',
- 19. },
- 20. expired_at: '2024-04-26T13:19:15+03:00',
- 21. is_expired: false,
- 22. ports: {
- 23. http: 17995,
- 24. socks: 3760,
- 25. },
- 26. speed: {
- 27. value: 20,
- 28. unit: 'mbps',
- 29. },
- 30. },
- 31. ],
- 32. },
- 33.},
Failure Response
Response Status: HTTP 401 Unauthorized
- 1.{
- 2. "data": null
- 3. "error": "Unauthorized"
- 4.}