import CheckoutIntents from 'checkout-intents';const client = new CheckoutIntents({ apiKey: process.env['CHECKOUT_INTENTS_API_KEY'], // This is the default and can be omitted});const response = await client.billing.getBalance();console.log(response.balance);
Get current drawdown balance for the authenticated developer
GET
/
api
/
v1
/
billing
/
balance
JavaScript
import CheckoutIntents from 'checkout-intents';const client = new CheckoutIntents({ apiKey: process.env['CHECKOUT_INTENTS_API_KEY'], // This is the default and can be omitted});const response = await client.billing.getBalance();console.log(response.balance);