The digital trade ecosystem’s development relies on the growth of cross-border e-commerce platforms. To ensure the continued growth of China’s digital trade, it is crucial to consider the service capabilities of digital platforms and the digital transformation capabilities of cross-border e-commerce firms. This study explores the impact of these factors on the performance of cross-border e-commerce companies, with digital transformation capability acting as a mediator. Empirical research reveals that the service capability of digital platforms is composed of supply chain communication and cost control abilities, which partially mediate the relationship between digital platform serviceability and cross-border e-commerce enterprise performance. Moreover, both the service capabilities of digital platforms and the digital transformation capabilities of cross-border e-commerce companies have a positive and significant impact on enterprise performance.