Feature/44993923 use referral credits

adds Credit to a Purchase.  this is in conjunction with the same branch on topaz.