Skip to content
Software capabilities

Stripe capability

Read a Stripe account balance

Retrieve the Stripe balance to see available and pending funds by currency. Use the REST endpoint over HTTP or the Stripe SDK inside your application.

Documentation reviewed

Ways to do it

API

GET /v1/balance

Retrieve available and pending amounts for the Stripe account the request authenticates as.

Requirements
A Stripe secret key or restricted key with balance read access. For a connected account, set the Stripe-Account header where applicable.
Limitations
Balance values depend on the account and live or test mode. Each currency has a separate amount.

Example

curl --fail --user "$STRIPE_SECRET_KEY:" https://api.stripe.com/v1/balance
Read source: Stripe balance retrieve API

SDK

stripe.balance.retrieve()

Fetch the balance from a Node.js application using the Stripe client.

Requirements
An initialized stripe-node client with a key allowed to read the account balance.
Limitations
Amounts are returned in the currency’s smallest unit. Format them for the currency before displaying them.

Example

const balance = await stripe.balance.retrieve();
Read source: Stripe balance retrieve for Node.js