The monthly usage (merges) is calculated based on the number of document generation requests multiplied by the number of unique datasets in the request. At the moment the monthly usage is calculated from the 1st day of the month until the last day of the month. Your billing period can be different from the monthly usage calculation period.

Use-case 1: Single document generation
You make a document generation request and send a single dataset or an array that contains a single dataset. In that case, you generate one document and your monthly usage is increased by one.

Example request body (single object or array)
{"id": 1, "name": "Test"}
[{"id": 1, "name": "Test"}]


Use-case 2: Batch document generation
You make a document generation request and send an array that contains multiple datasets. For example, if the array contains three datasets, then your monthly usage is increased by three.

Example request body ( array)
[{"id": 1, "name": "Test"}, {"id": 2, "name": "Test 2"}, {"id": 3, "name": "Test 3"}]

Merges = requests made * dataset count
Was this article helpful?
Cancel
Thank you!