Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 684 Bytes

File metadata and controls

28 lines (19 loc) · 684 Bytes

list

Retrieve balance

Retrieves the current account balance, based on the authentication that was used to make the request. For a sample request, see Accounting for negative balances.

API Endpoint: GET /v1/balance

Synchronous Client

from os import getenv
from sideko_stripe import Stripe

client = Stripe(token=getenv("API_TOKEN"))
res = client.balance.list()

Asynchronous Client

from os import getenv
from sideko_stripe import AsyncStripe

client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.balance.list()