I’m considering taking a remote programming job with a company based in the US but I’m not sure how I would receive payment if I’m not physically in the country.
The most common way is through direct deposit into a US-based bank account. Other options include PayPal or wire transfer. The method of payment will likely be determined by the company you are working for.