Introduction

Welcome to the API reference for Billingrails API. Here you'll find detailed information about the available endpoints, request and response formats, authentication methods, and more. Use this documentation to integrate our services into your applications and leverage the full capabilities of our platform.

Authentication

All API requests must be authenticated using API keys. You can authenticate your requests by adding an Authorization header with a Bearer token type as shown below, replacing the random string with your sandbox or live API key.

Authorization: Bearer sk_site_e66e03bf9a807c88dd3dfa0f893de60b

Example Request

Here's an example of how to make an authenticated request to the Billingrails API:

curl -X GET 'https://sandbox-api.billingrails.com/v1/accounts' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Rate limiting

In the Billingrails sandbox environment, the default rate limit is 50 requests per minute. If you exceed this limit, the API will respond with a 429- Too Many Requests status code to indicate that the rate threshold has been reached.

On this page