UBS earlier on Sunday said it would pay 3 billion Swiss francs ($3.23 billion) for 167-year-old Credit Suisse and assume at least $5.4 billion in losses in a deal backed by a massive Swiss government guarantee and expected to close by the end of 2023.