Paytm has agreed to sell its stake in Japanese payments firm PayPay to SoftBank for $279.2 million, as the Indian firm sheds non-core assets following a bruising regulatory clampdown earlier this year.

The sale of Paytm’s stake in PayPay, which it received through acquisition rights six years ago, follows months of restructuring at the Indian firm that saw the company sell its entertainment ticketing unit to Zomato for $246 million in August.