Get Rules
5.4 Get Rules
Request
Method
URL
GET
/rules
Query Params
description(Optional): Filter members by description.
id(Optional): List of member IDs to filter.
name (Optional): Filter members by name.
page (Optional): Page number for pagination.
size (Optional): Number of items per page for pagination.
Response
Status
Response
200
{
"status": true,
"data": {
"items": [
{
"name": "str",
"description": "str",
"to_wallet": true,
"is_active": true,
"updatedDate": "2023-12-14T18:32:40.623608",
"percentage": true,
"merchant_id": 1,
"id": 1,
"amount": 1.0,
"createdDate": "2023-12-14T18:32:40.623608",
"deletedDate": null
},
{
"name": "str1",
"description": "str1",
"to_wallet": true,
"is_active": true,
"updatedDate": "2023-12-14T18:32:48.759415",
"percentage": true,
"merchant_id": 1,
"id": 2,
"amount": 1.0,
"createdDate": "2023-12-14T18:32:48.759415",
"deletedDate": null
},
},
"page": 1,
"size": 6,
"total_size": 6
}
403
400
401
401
500
Last updated