How to show an additional information on the «checkout success» page?

Preliminary reading: How is the «checkout success» screen implemented?

Magento 2.0 and 2.1:

Magento 2.2:

An example

See also: