#Marroco-stripe
1 messages ยท Page 1 of 1 (latest)
Hi there! I would love to help but this channel is for technical questions from developers. I can't help with account specific questions โ for that you will need to reach out to our Support team: https://support.stripe.com/contact/login
Can you re-paste your question here?
sure
Thanks!
How can I get how much the company is making from this month
So you'd like to use the API to calculate your revenue?
Okay so mostly you want to use our List Balance Tranasactions API: https://stripe.com/docs/api/balance_transactions/list
You can use the created param to specify the time period: https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-created
And then you will want to use pagination (https://stripe.com/docs/api/pagination) to handle the list being greater than 100 items
thanks, is there a way just to get the transaction list for the current month?
or thats something I need to make in my backendlogic
oh lol nvm
๐
$stripe->balanceTransactions->all(['limit' => 3]);
how can I enter the parameter
sorry for that
'limit' => 3,
'created' => [
'gt' => timestamp
]
]);```