Before you begin using APIs, keep the following best practices in mind to ensure success:
- The standard BillingPlatform instance allows for 100,000 API requests per 24 hours.
We recommend no more than 15 API requests per second. - Rather than creating multiple requests, create a single request and put all the information there.
- Simple workflows process more quickly. The bigger the dataset, the longer the processing time.
When creating records, it is quicker to send all items at once rather than separately. - Session management is important. Try to stay in the same session for as long as possible.
- Create separate API users for each integrated system.
- Perform negative testing to validate error handling.
It is also important to follow these recommendations on concurrency:
- Optimally, 4–8 threads should run concurrently depending on the complexity of the thread.
- The global system timeout is 400 seconds, so it is highly recommended that you set your timeout to a greater value.
- The maximum number of records in an uploaded usage file is 200,000.