API Resources URLs
The base URL for all Stax Bill API calls is secure.fusebill.com. To this base, you would append the URLs described in this documentation.
Note
When submitting a API call, the header content type should be set to application/json. For example,
Content-Type: application/json
Example
GET secure.fusebill.com/v1/customers?pageSize=100&pageNumber=0will return the list of up to 100 customers from your production account.
Some users may have older Fusebill testing environments that are accessed via stg-admin.fusebill.com instead of the regular admin.fusebill.com.
In the case where you are working out of one of these accounts, the base API URL is stg-secure.fusebill.com/v1/ instead of secure.fusebill.com/v1
Resource URLs
Many of the Fusebill API resource URLs are structured in a limited hierarchy. There are several parent URLs followed by several child URLs. The child URLs return a list of child resources. Individual resources in this list are accessed via their parent URLs.
Examples
- GET secure.fusebill.com/v1/customers returns a list of customers
- GET secure.fusebill.com/v1/customers/{id} returns a single customer
- GET secure.fusebill.com/v1/customers/{id}/subscriptions returns a list of all subscriptions belonging to the customer
- GET secure.fusebill.com/v1/subscriptions/{id} returns a single subscription
Each resource includes a URI for accessing it. We recommend using the URIs in the resources instead of hard-coding URLs, as this reduces the work required to integrate and keeps the URL structure decoupled from your implementation.
