Shakira’s alleged threats to expose the downright dirty side of her cheating ex-partner Gerard Piqué actually worked.

Piqué is now playing nice with his former love in regards to the custody of their two children.

Initially, Piqué refused Shakira’s request, to which she reportedly threatened to expose his dirty secrets.

According to Spanish news outlet Marca, the fútbol star is seeking “peace” with Shakira.

He’s now in agreement with the singer to allow her to take Milan (9) and Sasha (7) to live in Miami.

Piqué allegedly sent a sweet message to his ex which Marca obtained.

“I wish you the best. The important thing is the happiness and welfare of our children," the alleged message read.

'La mesa caliente' of Telemundo reports the defender would be willing to sign the permissions to Shakira under two non-negotiable conditions.

The non-negotiables include Piqué having guaranteed five tickets a year to fly first class to visit their children in Miami, and a loan of $400k to pay a debt.