---
agentTools:
  projectIndex: https://swahilies.readme.io/llms.txt
---

# Get order status

This is the API to get all list of transactions/orders you have and their status

[block:parameters]
{
  "data": {
    "h-0": "code (required) (int)",
    "h-1": "For swahilies purpose default: 105",
    "0-0": "api (required) (int)",
    "0-1": "For swahilies purpose\ndefault: 170",
    "1-0": "api_key (required)",
    "1-1": "Your API key given after registration",
    "2-0": "order_id (required)",
    "2-1": "Your order id passed on during creating an order"
  },
  "cols": 2,
  "rows": 3
}
[/block]

\##Sample of body request

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"api\":170, \n   \"code\":103,\n    data:{\n     \"api_key\":\"csdheruvhhjdhvjadmvjehrve\",\n    }\n}",
      "language": "json"
    }
  ]
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "import requests\n\nurl = \"https://swahiliesapi.invict.site/Api\"\n\npayload = \"{\n  \"api\" :170, \n   \"code\":103,\n    data: {\n      \"api_key\":\"csdheruvhhjdhvjadmvjehrve\",\n    }\n  }\"\n\nheaders = {}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)",
      "language": "python"
    }
  ]
}
[/block]