You do not need to pay it back. You most likely received the payment based on your 2019 return on which you claimed your daughter. You ex-husband will receive the payment based on his 2020 tax return on which he claimed your daughter. This is all correct.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"