profiles->get("pfl_eA4MSz7Bvy"); /** * Profile fields that can be updated. * * @See https://docs.mollie.com/reference/v2/profiles-api/update-profile */ $profile->name = "Mollie B.V."; $profile->website = 'www.mollie.com'; $profile->email = 'info@mollie.com'; $profile->phone = '0612345670'; $profile->businessCategory = "MARKETPLACES"; $profile->update(); echo "

Profile updated: " . \htmlspecialchars($profile->name) . "

"; } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "

API call failed: " . \htmlspecialchars($e->getMessage()) . "

"; }