curl --request GET \
--url https://api.paygentic.io/v0/sourceRules/{ruleId} \
--header 'Authorization: Bearer <token>'
{
"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
}
curl --request GET \
--url https://api.paygentic.io/v0/sourceRules/{ruleId} \
--header 'Authorization: Bearer <token>'
{
"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
Rule details
An auto-acceptance rule that automatically approves source events matching specified conditions. Rules help automate the approval process for trusted customers or specific transaction patterns.