Skip to content

Check Balance

Shows how to check the current credit balance.

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

1
2
3
4
5
using var client = new MeshyClient(apiKey);

// Retrieve the current credit balance.
var balance = await client.Balance.GetBalanceAsync();
Console.WriteLine($"Credits: {balance.Balance}");