Authorizations
API key authentication
Query Parameters
Filter rules by source ID
Response
List of rules
curl --request GET \
--url https://api.paygentic.io/v0/sourceRules \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "rule_123456",
"conditions": [
{
"operator": "domain",
"type": "customerEmail",
"value": "@trusted.com"
}
],
"createdAt": "2024-03-01T10:00:00Z",
"createdBy": "usr_platform",
"description": "Automatically approve events from customers with @trusted.com email domain",
"enabled": true,
"evaluationCount": 150,
"lastEvaluatedAt": "2024-03-10T14:30:00Z",
"matchCount": 45,
"name": "Auto-approve trusted customers",
"order": 0,
"sourceId": "src_x3y4z5a6b7c8d9e0",
"updatedAt": "2024-03-01T10:00:00Z"
}
]
}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": "rule_123456",
"conditions": [
{
"operator": "domain",
"type": "customerEmail",
"value": "@trusted.com"
}
],
"createdAt": "2024-03-01T10:00:00Z",
"createdBy": "usr_platform",
"description": "Automatically approve events from customers with @trusted.com email domain",
"enabled": true,
"evaluationCount": 150,
"lastEvaluatedAt": "2024-03-10T14:30:00Z",
"matchCount": 45,
"name": "Auto-approve trusted customers",
"order": 0,
"sourceId": "src_x3y4z5a6b7c8d9e0",
"updatedAt": "2024-03-01T10:00:00Z"
}
]
}API key authentication
Filter rules by source ID
List of rules
Show child attributes