Base URL
All API requests should be made to:Authentication
The Credibill API uses API keys to authenticate requests. You can view and manage your API keys in the Credibill Dashboard.Pagination
All top-level API resources have support for bulk fetches via “list” API methods. For instance, you can list customers, subscriptions, and invoices. These list API methods share a common structure, taking at least these two parameters:limit and starting_after.
Errors
Credibill uses conventional HTTP response codes to indicate the success or failure of an API request. In general:- Codes in the
2xxrange indicate success. - Codes in the
4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). - Codes in the
5xxrange indicate an error with Credibill’s servers.