The Golden Rule

Whenever you are attacked, as a reaction you can spend 100gp to gain +1 AC for 1 round. You can spend additional increments during this reaction to increase your AC further.