#Get balances request
1 messages · Page 1 of 1 (latest)
Hi @trim vessel. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided in the knowledge sources, I can answer part of your question, but I don't have enough specific information to fully address the scenario you described. Let me explain what I can confidently say:
The Deepgram API endpoint <https://api.deepgram.com/v1/projects/{project_id}/balances> is used to retrieve a list of outstanding balances for a specified project API Reference (https://developers.deepgram.com/reference/get-all-balances). This endpoint returns a list of balances, not a single balance.
Each balance in the list has the following structure:
balance_id: A unique identifier for the balanceamount: The amount of the balanceunits: The units of the balance (e.g., USD)purchase_order_id: An identifier for the purchase order associated with the balance
API Reference (https://developers.deepgram.com/reference/get-all-balances)
However, I don't have specific information on how Deepgram handles the scenario of adding funds to an existing balance. It's possible that:
- The API could return two separate balance entries, one for the original $150 and another for the additional $50.
- The API could consolidate the balances and return a single entry of $200.
To get a definitive answer on how the balances would be represented in your specific scenario, I recommend:
- Testing the API behavior directly in your development environment.
- Contacting Deepgram support for clarification on their balance management policies.