webhookId and criteriaMethods, as well as sorting and ordering.Authorization: ********************curl --location --request GET '/v1/webhooks?page=1&size=10&orderBy=updatedDate&sortBy=desc&webhookId=WBH-20240101-ABC123&criteriaMethods=EWALLET_TNG&criteriaMethods=EWALLET_GRABPAY' \
--header 'Authorization: Bearer <token>'{
"status": "200",
"message": "success",
"data": {
"result": [
{
"id": 1,
"webhookId": "WBH-20240101-ABC123",
"type": "PAYMENT",
"url": "https://example.com/webhook/payment",
"createdDate": "2024-01-01T10:00:00+07:00",
"updatedDate": "2024-01-01T10:00:00+07:00",
"criteriaMethods": [
{
"code": "EWALLET_TNG",
"name": "e-Wallet TNG",
"groupCode": "EWALLET",
"groupName": "e-Wallet",
"bindStatus": "ACTIVE",
"deleted": false
}
]
},
{
"id": 2,
"webhookId": "WBH-20240102-DEF456",
"type": "DISBURSEMENT",
"url": "https://example.com/webhook/disbursement",
"createdDate": "2024-01-02T08:00:00+07:00",
"updatedDate": "2024-01-02T08:00:00+07:00",
"criteriaMethods": [
{
"code": "DISB_SUCCESS",
"name": "Disbursement Success",
"groupCode": "DISB",
"groupName": "Disbursement",
"bindStatus": "ACTIVE",
"deleted": false
}
]
}
],
"paging": {
"page": 1,
"size": 10,
"orderBy": "updatedDate",
"sortBy": "desc",
"totalPages": 1,
"totalElements": 2
}
}
}