# 5.8 Get Rules By Id

**Request**

| Method | URL               |
| ------ | ----------------- |
| GET    | /rules/{rule\_id} |

\ <br>

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p><br></p><p>{</p><p>    "status": true,</p><p>    "data": {</p><p>        "items": \[</p><p>            {</p><p>                "name": "str",</p><p>                "description": "str",</p><p>                "to\_wallet": true,</p><p>                "is\_active": true,</p><p>                "updatedDate": "2023-12-14T18:32:40.623608",</p><p>                "percentage": true,</p><p>                "merchant\_id": 1,</p><p>                "id": 1,</p><p>                "amount": 1.0,</p><p>                "createdDate": "2023-12-14T18:32:40.623608",</p><p>                "deletedDate": null</p><p>            }</p><p>        ]</p><p>    }</p><p>}</p><p><br><br></p> |
| 403    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 400    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 401    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 500    | <p><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

<br>
