GET
/
sourceRules
List source rules
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
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

sourceId
string
required

Filter rules by source ID

Response

200
application/json

List of rules

The response is of type object.