profiles->create(["name" => "My website name", "website" => "https://www.mywebsite.com", "email" => "info@mywebsite.com", "phone" => "+31208202070", "businessCategory" => "MARKETPLACES", "mode" => "live"]); echo "

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

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

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

"; }