curl --request GET \
--url https://api.paygentic.io/v0/sourceRules \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"sourceId": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"conditions": [
{
"type": "date",
"operator": "equals",
"value": "<string>"
}
],
"order": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastEvaluatedAt": "2023-11-07T05:31:56Z",
"evaluationCount": 123,
"matchCount": 123
}
]
}
List all auto-acceptance rules for a source. These rules automatically approve pending source events when all conditions are met.
curl --request GET \
--url https://api.paygentic.io/v0/sourceRules \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"sourceId": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"conditions": [
{
"type": "date",
"operator": "equals",
"value": "<string>"
}
],
"order": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastEvaluatedAt": "2023-11-07T05:31:56Z",
"evaluationCount": 123,
"matchCount": 123
}
]
}
API key authentication
Filter rules by source ID
List of rules
The response is of type object
.