https://docs.mollie.com/reference/v2/profiles-api/update-profile
function(string $idProfile, array $data)
{
$profile = $this->mollie->profiles->get($idProfile);
foreach ($data as $k => $d) {
$profile->{$k} = $d;
}
$updatedProfile = $profile->update();
return X::toArray($updatedProfile);
}