A routing log becomes useful evidence only when it connects the payment context, active policy and every provider attempt.

Capture the input context

Record the attributes the policy actually used: merchant and organisation, environment, operation, geography, method, currency, amount and relevant traffic classification. Without the input snapshot, a later team cannot reproduce why a rule matched.

Identify the active rule set

Store the policy version, matched eligibility conditions, route priority and fallback permissions. If a rule changes later, the historic payment should still point to the exact decision logic that was active at the time.

Keep provider events intact

For every attempt, retain timestamps, pipeline identity, provider identifier, normalized outcome and the original provider response needed for diagnosis. Mark whether the attempt was blocked before submission, rejected by the provider, timed out or completed.

Attach ownership and next action

Evidence is operational when it tells a team what to do next. A route-level pattern may require a merchant policy review, a PayStar integration investigation or a PSP escalation. Name the owner instead of leaving a failure reason without a destination.

Define retention and export before an incident

Decide how long the business needs route records for support, financial control and provider discussions, then ensure the required fields can be exported with stable identifiers. Test whether an authorised user can assemble a provider escalation without copying unrelated customer data. Evidence that exists only in a temporary interface or one engineer log is not a dependable operating record. The export should remain understandable after rules, provider mappings and team members have changed.

A trustworthy route record answers three questions: what was known, which rule acted and what each provider returned.

Inspect the evidence chain, not only the result.

Follow one payment from input context through rule execution and provider response.

Explore payment history →