Clearing rules engine
The Clearing rules engine API provides Pismo clients with a set of external endpoints that allow you to configure which clearing events should be automatically processed by the Pismo platform and which should be routed to the dead letter queue (DLQ). The DLQ is the queue for all pending transactions waiting to be cleared.
With this functionality, you gain more autonomy over exception handling, reduce operational effort required for manual analysis, and increase predictability around what is delivered to the issuer. The Clearing rules engine API offers control and flexibility while managing clearing rules configurations.
The DLQ currently includes the following routing reasons, which may or may not be configurable through the rules engine.
| Routing reason | Configurable? |
|---|---|
NOT_REFUNDABLE_AUTHORIZATION | Configurable (TRUE or FALSE) |
NOT_PERMITTED_OPERATION | Configurable (TRUE or FALSE) |
ACCEPTANCE_NOT_FOUND | Not configurable |
DIFFERENT_PROCESSING_CODE | Configurable (TRUE or FALSE) |
CLEARING_WITH_ZERO_AMOUNT | Configurable (TRUE or FALSE) |
INVALID_CARD_MODE | Configurable (TRUE or FALSE) |
INVALID_ACCOUNT_STATUS | Configurable (TRUE or FALSE) |
MCC_AMOUNT_EXCEEDS_AUTHORIZATION | Configurable (TRUE or FALSE) |
MCC_AUTHORIZATION_NOT_FOUND | Configurable (List of MCC) |
CARD_NOT_FOUND | Configurable (TRUE or FALSE) |
INVALID_JULIAN_DATE | Configurable (TRUE or FALSE) |
CANCELLATION_AMOUNT_EXCEEDS_AUTHORIZED | Not configurable |
INVALID_SEMANTIC_CANCELLATION | Not configurable |
CONCILIATION_DEADLINE | Configurable (integer) |
INSTALLMENT_PLAN_VERIFICATION | Configurable (TRUE or FALSE) |
CARD_REGION_RESTRICTION | Configurable (TRUE or FALSE) |
Use the Pending transactions sent event to check Rules engine transactions routed to the DLQ. After receiving these transactions, the issuer can use the Perform clearing reconciliation endpoint to request reprocessing.
Clearing rules engine API endpoints
The Clearing rules engine API provides endpoints to:
- Create and update DLQ rules
- Retrieve the active configuration
Endpoint | Description |
|---|---|
Update clearing rules engine | Use this endpoint to create or update the active DLQ rules configuration for a given scope (Org or Program). With it, you can:
|
Get latest clearing rules configuration | This endpoint returns the latest active configuration for the requested scope (Org or Program), including version metadata. |
Updated about 1 hour ago