Ones-complement checksum over the whole ICMP message, header and data.
Unlike TCP and UDP one layer down, this one needs no pseudo-header — it covers the ICMP message alone and reaches up to nothing. It also covers the payload, unlike the IPv4 header checksum immediately above it, which covers only its own header.
ICMP Message > Checksum