Skip to main content

Configuration

Before using the API, you need to configure authentication to communicate with the ChargeOver API. ChargeOver uses Basic Auth with API credentials.

ChargeOverAPI chargeOver = new ChargeOverAPI(
"https://your-chargeover-instance.com",
"Your_API_Key",
"Your_API_Secret"
);

Replace Your_API_Key and Your_API_Secret with your actual ChargeOver API credentials, and ensure the URL is your ChargeOver instance.