Orders calls Payments
With microservices, Orders needs to call Payments. The simplest way: put the payment servers’ IP addresses in Orders’ config file and spread calls across them.
It works — as long as those two machines never change.
Key idea
In a monolith this question doesn’t exist: “calling payments” is a function call in the same process.