API Documentation
Welcome to the iInvoice API documentation. This API allows you to manage clients, invoices, settings, and subscriptions programmatically. All responses are in JSON format.
Base URL: https://ezyinvoiceapi/benorinetechnologies.com/api
Authentication
The API uses Laravel Sanctum for authentication. Protected endpoints require an API token in the Authorization header.
/login
Authenticate a user and retrieve an API token.
{
"email": "user@example.com",
"password": "password"
}
/register
Register a new user account.
{
"name": "John Doe",
"email": "john@example.com",
"password": "password",
"password_confirmation": "password"
}
Clients
/clients
Retrieve a paginated list of clients.
/clients
Create a new client.
Invoices
/invoices
Retrieve a paginated list of invoices.
/invoices/{id}/send
Send an invoice via email.
Settings
/settings
Update application settings.
Subscriptions
/checkout/{plan}
Initiate a checkout session for a subscription plan.
/subscription/status
Check the current subscription status.