You attempt to reflect a spell back at the caster. If you are targeted by a spell that is 4th level or lower, make an attribute check using your spellcasting attribute. The DC equals 10 + the spell's level. On a success, the spell is reflected. It has no effect on you, and the spell targets the caster instead, using the same spell level, spell save DC, Attack bonus, and spellcasting attribute of the caster. You automatically succeed on this check if the spell you attempt to reflect is of 2nd level or lower.
Upcasting. You can attempt to reflect a spell that is equal to the level you cast or lower, and you automatically succeed on the check if its level is equal to half the level you cast.