PHPackages                             kruegge82/billbee-php-sdk-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. kruegge82/billbee-php-sdk-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kruegge82/billbee-php-sdk-api
=============================

Documentation of the Billbee REST API to connect a Billbee account to external aplications. ## Endpoint The Billbee API endpoint base url is https://api.billbee.io/api/v1 ## Activation You have to enable the API in the settings of your Billbee account. In addition you need a Billbee API Key identifying the application you develop. To get an API key, send a mail to support@billbee.io and send us a short note about what you are building. ## Authorization &amp; security Because you can access private data with the Billbee API, every request has to be sent over https and must \* Contain a valid API Key identifying the application/developer. It has to be sent as the HTTP header X-Billbee-Api-Key \* Contain a valid user login with billbee username and api password in form of a basic auth HTTP header ## Throttling 50 calls per second for each API Key. 10 calls per second for each API Key in combination with Billbee user. Besides that each endpoint has a throttle of max 2 requests per second per combination of API Key and Billbee user. When you exceed the throttle threshold, the API will return a HTTP 429 status code and a Retry-After-Header indicating how many seconds you will have to wait before you can call the API again.

v1.1(1y ago)226unlicensePHPPHP ^8.1

Since Aug 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kruegge82/billbee-php-sdk-api)[ Packagist](https://packagist.org/packages/kruegge82/billbee-php-sdk-api)[ Docs](https://openapi-generator.tech)[ RSS](/packages/kruegge82-billbee-php-sdk-api/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (5)Versions (9)Used By (0)

OpenAPIClient-php
=================

[](#openapiclient-php)

Documentation of the Billbee REST API to connect a Billbee account to external aplications.

Endpoint
--------

[](#endpoint)

The Billbee API endpoint base url is

Activation
----------

[](#activation)

You have to enable the API in the settings of your Billbee account. In addition you need a Billbee API Key identifying the application you develop. To get an API key, send a mail to  and send us a short note about what you are building.

Authorization &amp; security
----------------------------

[](#authorization--security)

Because you can access private data with the Billbee API, every request has to be sent over https and must

- Contain a valid API Key identifying the application/developer. It has to be sent as the HTTP header X-Billbee-Api-Key
- Contain a valid user login with billbee username and api password in form of a basic auth HTTP header

Throttling
----------

[](#throttling)

50 calls per second for each API Key.

10 calls per second for each API Key in combination with Billbee user.

Besides that each endpoint has a throttle of max 2 requests per second per combination of API Key and Billbee user.

When you exceed the throttle threshold, the API will return a HTTP 429 status code and a Retry-After-Header indicating how many seconds you will have to wait before you can call the API again.

For more information, please visit .

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
