There are cashable bonuses and sticky bonuses. The latter can be used for playing, but they can’t be withdrawn. Thus, when you meet the wagering requirements and request a withdrawal, the bonus money will be deducted, and you can cash out the rest.