Getting Started
- Accounts
- Charging Sessions
- Charging Stations
- Drivers
- Estimations
- Fleets
- Invoices
- Payment Methods
- Reports
- Reservations
- Transactions
- Vehicles
- Vehicle Telemetries
- Webhook Endpoints
Accounts
Create an account
Creates a new Account object. An account is the top-level container for all other resources (vehicles, drivers, stations, etc.). Use this endpoint to onboard a fleet, platform integration, or business entity into Charge.
POST
/
accounts
curl --request POST \
--url https://api.chargeapi.co/v1/accounts \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"email": "<string>",
"type": "individual",
"default_currency": "<string>",
"metric_system": "metric",
"plan": "<string>",
"preferences": {
"billing_cycle": null,
"notifications": null,
"default_currency": null,
"default_payment_method": null,
"reporting_enabled": null,
"report_frequency": null
},
"metadata": {}
}'
{
"id": null,
"object": null,
"business_type": null,
"billing_details": {
"billing_address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
}
},
"contact": {
"email": null,
"name": null,
"phone": null
},
"created": null,
"default_currency": null,
"description": null,
"email": null,
"metadata": null,
"metric_system": null,
"name": null,
"plan": null,
"preferences": {
"billing_cycle": null,
"notifications": null,
"default_currency": null,
"default_payment_method": null,
"reporting_enabled": null,
"report_frequency": null
},
"registration_number": null,
"type": null,
"updated": null,
"wallet_balance": null
}
Body
application/json
Response
200
application/json
Returns the newly created Account object.
curl --request POST \
--url https://api.chargeapi.co/v1/accounts \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"email": "<string>",
"type": "individual",
"default_currency": "<string>",
"metric_system": "metric",
"plan": "<string>",
"preferences": {
"billing_cycle": null,
"notifications": null,
"default_currency": null,
"default_payment_method": null,
"reporting_enabled": null,
"report_frequency": null
},
"metadata": {}
}'
{
"id": null,
"object": null,
"business_type": null,
"billing_details": {
"billing_address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
}
},
"contact": {
"email": null,
"name": null,
"phone": null
},
"created": null,
"default_currency": null,
"description": null,
"email": null,
"metadata": null,
"metric_system": null,
"name": null,
"plan": null,
"preferences": {
"billing_cycle": null,
"notifications": null,
"default_currency": null,
"default_payment_method": null,
"reporting_enabled": null,
"report_frequency": null
},
"registration_number": null,
"type": null,
"updated": null,
"wallet_balance": null
}
Assistant
Responses are generated using AI and may contain mistakes.