Patent attributes
Implementations are described for automatically storing, in a blockchain, metrics that relate to payments. In one implementation, permissions that identify a set of metrics are retrieved from a database. The permissions are stored by a tenant of a multi-tenant system to grant permission to the multi-tenant system to store the metrics for a second tenant. A metric is selected from the set of metrics, based on a determination that a value of the metric is to be updated responsive to a payment in a transaction between the first and second tenants where the payment has been successfully processed. The value of the metric is determined for the second tenant based on data relating to the payment. The value of the metric is stored, in the blockchain, with an identifier that uniquely identifies the second tenant in the blockchain.