K

Kill Bill REST API

REST discovered

Details
URL
http://127.0.0.1:8080/1.0/kb
Docs
https://apidocs.killbill.io/
Authentication
Kill Bill API user credentials Authorization: Basic <credential> + Kill Bill tenant API key and secret X-Killbill-ApiKey: <credential> + Kill Bill tenant API key and secret X-Killbill-ApiSecret: <credential> discovered
Kill Bill API user credentials basic

Kill Bill is typically self-hosted. An administrator configures the initial API user in the server shiro.ini file, then can create additional users via the Kill Bill security APIs as described in Users, Roles & Permissions. Use the username and password for HTTP Basic auth.

Kill Bill tenant API key and secret compound

Create or obtain a tenant's apiKey and apiSecret. The docs show creating a tenant with POST /1.0/kb/tenants and a body containing {"apiKey": "...", "apiSecret": "..."} in Users, Roles & Permissions. These values are then sent on each API request as the X-Killbill-ApiKey and X-Killbill-ApiSecret headers.