#Get balances request

1 messages · Page 1 of 1 (latest)

trim vessel
whole deltaBOT
#

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 balance
  • amount: The amount of the balance
  • units: 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:

  1. The API could return two separate balance entries, one for the original $150 and another for the additional $50.
  2. 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:

  1. Testing the API behavior directly in your development environment.
  2. Contacting Deepgram support for clarification on their balance management policies.
#

I apologize that I can't provide a more definitive answer to your specific scenario. The exact behavior might depend on Deepgram's internal policies and how they manage balance additions, which is not explicitly detailed in the provided knowledge sources.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: