How to check how much credits i still have in my account

I’m using aspose to convert pdf to excel by CURL in my php program. First i get token by “https://api.aspose.cloud/connect/token” with client_id and secret_id in the body, and than i convert to excel by “https://api.aspose.cloud/v3.0/pdf/convert/xls?outPath=result.xls” with the token i got and with file in the request, and finally i get the file from the storage by “https://api.aspose.cloud/v3.0/pdf/storage/file/result.xls” with the token.

so, i want to know how can i check how much credits i still have in my account, by API request.

In addition if there us a way to reduce the process so i will not need to call 3 API requests to get converted file i will happy to hear about that.
thank you.

@achist

Please note that the token endpoint is not charged, so in your scenario, only two API calls are charged.

I am afraid there is no direct option to count your credits other than the monthly invoice. However, you can check successful calls from the API Usage Logs tab on the aspose.cloud dashboard. Furthermore, you can set your daily or monthly API call limit for an application from the aspose.cloud dashboard.

I am afraid that currently you need to use at least two API requests for the conversion. However, we have logged an enhancement ticket(PDFCLOUD-4030) to convert PDF document to Excel without cloud storage. We will notify you as soon as it is resolved.