Potentials have a back-and-forth relationship with scattering amplitudes (leading to scattering probabilities and their distributions) in quantum mechanics. Look at the Breit-Wigner scattering formula. You can learn things about a potential based on the scattering distribution of particles, or you go the other way, putting in a potential and getting out a scattering (probability) distribution.
But the potential can be seen to arise from the fundamental interaction (probability) amplitudes in quantum field theory. In particular, an important contribution comes from the “propagator” of a virtual particle exchange between real interacting particles. The *dominant form* of this contribution to an interaction amplitude involving a massless exchange particle is such that the potential interpreted from the interaction (or scattering) amplitude is of a 1/r form. For an exchange particle with a mass, the dominant form is the Yuakawa potential, dropping off exponentially at a rate depending on the mass of that particle. In quantum electrodynamics the massless photon is the exchange particle. In gravitation, the hypothetical particle would be the massless graviton. For the weak interaction, the W and Z exchange particles have a mass. And for the strong nuclear interaction among protons and neutrons effectively involves a massive particle called the pion. [The strong interaction is fundamentally called quantum chromodynamics and involves quarks interacting via massless exchange particles called gluons. But due to the nature of the strong interaction, there is a “mass gap”, meaning that effectively we see quarks and gluons bound up in a quantum states that we see as massive composite particles, like pions, protons and neutrons. That’s why I talked about that *effective* picture above to describe the fast drop-off of the potential.]
As implied by one of the previous posts, these forms are approximations (hence “dominant form”) and the corrections can be calculated in quantum field theory.
Also, the virtual exchange particles can really only be talked about when there are real particles interacting. In the classical picture, we say that a charge is a source of potential, and that if we were to put another charged particle in that potential field, it would experience a force. By contrast, in quantum field theory, the potential arises as a derived thing based on the way two or more particles interact.