Skip to content

Credits

Get the account's credit balance information.

This example assumes using DId; is in scope and apiKey contains your DId API key.

1
2
3
4
5
// Retrieve the current credit balance for your D-ID account.
// The response includes the total credits allocated and remaining credits.
using var client = new DIdClient(apiKey);

var response = await client.Credits.GetCreditsAsync();