Placed a bid, got outbid, and now missing 3.5 mil

I just made a bid on a used Su9. The base price was around 3,500,000AS. I now see that 3.5 million AS WS deducted from my account and the worse thing is that I was out bid by another player and still don,'t have the money. How exactly does this bidding thing work?

The money is blocked until the end of the auction. If the other enterprise outbidding you is going into insolvency in between, you bid is valid again (a protection against cheating). If you don’t win the auction, you will receive the money back when the auction is over and the auctioneer processed it.