Patent ID: 11893598
Assignee: PAYPAL, INC.
Field: IT methods for management (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations comprising:
monitoring, via an application programming interface (API) of a service provider for a merchant on a decentralized blockchain, transactions between users and a merchant made using the service provider, wherein the transactions include involving purchases made by the users of products sold by the merchant;
determining, based on the monitoring, that at least one of the users has satisfied reward criteria for a loyalty program associated with the merchant and implemented by the service provider, wherein the determining comprises:
determining that a number of purchases within a period of time made by the at least one of the users passes at least one threshold in the reward criteria; and
determining a plurality of tokens to be distributed in the loyalty program based on the at least one threshold in the reward criteria to the at least one of users who has satisfied the reward criteria;

in response to the determining that the at least one of the users has satisfied the reward criteria, automatically selecting at least one token from the plurality of tokens to be distributed for the at least one of the users, based on at least one smart contract associated with the merchant and the reward criteria, wherein:
the at least one smart contract is stored on the decentralized blockchain in association with a unique identifier for the merchant,
the at least one token corresponds to one of a plurality of token categories associated with the loyalty program, and
the at least one smart contract is generated based on the one of the plurality of token categories; and

broadcasting a transaction to the decentralized blockchain for transferring the at least one token to a digital wallet of the at least one of the users.