He asks: Is it permissible to buy gold with a MasterCard?
It debits the balance directly as soon as it's inserted in the machine.
Buying gold with cards requires further distinction.
If the card is one from which the balance is debited immediately.
so it goes from the buyer's account to the seller's while in the shop.
This is allowed.
Because both sides took possession in the sale session.
But if the card is one that is delayed or may be delayed.
Then it takes an hour or two.
Three hours until it is credited to the seller's account.
That is not allowed for gold.
Because immediate possession is required.
Even if the funds were withdrawn from the buyer's account.
But it had not reached the account.
The seller; here, possession has not occurred.
But if the card is as the questioner said.
Or as with some cards, as soon as it is completed.
The transaction: debited from the buyer's balance.
And credited to the seller's balance.
So this is permissible and this counts as taking possession. Yes.