> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/products/get-category-by-id.md).

# Get Category By Id

## 5.7 Get Category By Id

**Request**

| Method | URL                        |
| ------ | -------------------------- |
| GET    | /categories/{category\_id} |

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                               |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | <p>{</p><p>"status": true,</p><p>"data": {</p><p>"items": \[</p><p>{</p><p>"name": "test555",</p><p>"order": 1,</p><p>"updatedDate": "2024-01-09T08:36:10.096412",</p><p>"is\_active": true,</p><p>"id": 67,</p><p>"merchant\_id": 1,</p><p>"createdDate": "2024-01-09T08:36:10.096412",</p><p>"deletedDate": null</p><p>}</p><p>]</p><p>}</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                        |
| 400    |                                                                                                                                                                                                                                                                                                                                                        |
| 401    |                                                                                                                                                                                                                                                                                                                                                        |
| 401    |                                                                                                                                                                                                                                                                                                                                                        |
| 500    |                                                                                                                                                                                                                                                                                                                                                        |

<br>
