Skip to main content

Configuration

Initialize the ChargeOver class by providing your API credentials:

String endpoint = "https://YOUR_CHARGEOVER_INSTANCE";
String user = "YOUR_API_USERNAME";
String pass = "YOUR_API_PASSWORD";

// Use false for key-based authentication
ChargeOver co = new ChargeOver(endpoint, user, pass, false);

Replace YOUR_API_USERNAME and YOUR_API_PASSWORD with your actual ChargeOver API credentials, and ensure the YOUR_CHARGEOVER_INSTANCE is your ChargeOver instance.