A rules processing system includes one or more processors and one or more memory devices storing non-transitory, computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform operations. The operations include receiving, by an API gateway, a transaction from a pharmacy, the transaction having a first data format; reformatting, by a translation component, the transaction received by the API gateway into a structured data format used by a rules engine included in the rules processing system; evaluating, by the rules engine, one or more of fields of the transaction according to a configurable set of logic rules; inserting, into a wrapper of the transaction, supplementary data based on the evaluation of the one or more fields; reformatting, by the translation component, the transaction into the first data format; and transmitting, by the API gateway, the transaction to the pharmacy.