#viky_api

1 messages ¡ Page 1 of 1 (latest)

slate valeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1285564384579555379

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

solar root
#

What is a 'transaction'? Which API endpoint/resource are you using?

#

OK, missed the request ID you provided which is a Payment Intent

#

But you're doing destination charges, so the 'payment' occurs on the platform not the conncted account. So it depends on what information it is you want as yo how you get it

slow cosmos
solar root
solid grove
#

hi! I'm taking over this thread. let me know if you have any other questions.

slow cosmos
#

I have my UI already created now i am creating API's
to get the count of all these and I am using stripe package

solid grove
#

what's your question?

slow cosmos
#

How can I get all the counts

solid grove
#

there's no direct way to get that information, but you could get it with the API.
for example for Refunds, list all refunds with this: https://docs.stripe.com/api/refunds/list and count how many results there are.

slow cosmos
#

what if it is more than 100