Participants
- Your institution. Your system collects the transaction context, calls Tracer, acts on the decision and posts the transaction.
- Tracer. Evaluates your active rules and spending limits, and returns the decision. It consumes no limit.
- Midaz. The ledger that records the transaction after ALLOW.
Before you start
- Your system can call the Tracer API with a valid credential. See the Tracer integration guide.
- Your rules and spending limits are ACTIVE in Tracer. See Set up rules and spending limits.
Diagram
Steps
How you know it finished
Tracer returned a decision with its
validationId. After ALLOW, Midaz returned the created transaction.
Rules
- A matched
DENYrule decidesDENY, and Tracer then does not check the limits. Next, a matchedREVIEWrule or a rule that Tracer cannot evaluate decidesREVIEW. Then a matchedALLOWrule decidesALLOW. Last, when no rule matches and Tracer can evaluate every rule, the default decision of your Tracer configuration applies:ALLOWorDENY. Tracer then checks anALLOWagainst your limits. An amount that would take a limit past its maximum decidesDENYwith the reasonlimit_exceeded. - This journey reads your spending limits and counts nothing against them. Only a transaction that Midaz creates with Tracer enabled consumes a limit. See Check Midaz transactions with Tracer.
- A
requestIdthat Tracer already knows returns the stored decision when the request is the same. A different request with thatrequestId, or one that the other validate route stored, returns409with code0084. - To decide by your rules alone, send the same request to
POST /v1/validations/rules-only.

