clearspending API