The code revealed the existence of Apple Pay, which had not been publicly confirmed.