Deprecation warning fix
API Date formatting stuff. Date filter for payments in API.