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. 1.curl --location 'https://api.belurk.com/orders/:order_id'
  2. 2.--header 'x-api-token: {{API_TOKEN}}'

Successful Response

Response Status: HTTP 200 OK

  1. 1.{
  2. 2. data: {
  3. 3. id: 1773,
  4. 4. status: 1,
  5. 5. is_ready: true,
  6. 6. type: 3,
  7. 7. amount: 21,
  8. 8. items: [
  9. 9. {
  10. 10. credential_id: '9100',
  11. 11. product_id: 11,
  12. 12. login: 'u6KLKgkxpG',
  13. 13. password: 'vrlDS67M6L',
  14. 14. ip_address: '38.247.59.223',
  15. 15. type: 'ipv6',
  16. 16. country: {
  17. 17. code: 'CN',
  18. 18. label: 'Китай',
  19. 19. },
  20. 20. expired_at: '2024-04-26T13:19:15+03:00',
  21. 21. is_expired: false,
  22. 22. ports: {
  23. 23. http: 17995,
  24. 24. socks: 3760,
  25. 25. },
  26. 26. speed: {
  27. 27. value: 20,
  28. 28. unit: 'mbps',
  29. 29. },
  30. 30. },
  31. 31. ],
  32. 32. },
  33. 33.},

Failure Response

Response Status: HTTP 401 Unauthorized

  1. 1.{
  2. 2. "data": null
  3. 3. "error": "Unauthorized"
  4. 4.}