#jeyson

1 messages ยท Page 1 of 1 (latest)

tall peakBOT
dire torrent
#

This is for connected accounts?

obsidian fern
#

Yes

dire torrent
#

THere's no API for this, you can use dashboard data like you're using or calculate this based on payments using your own system & logic etc

obsidian fern
#

I need to extract that value with nodejs

dire torrent
#

ie, retrieve all the payments/invoices etc for the connected account and sum them up, or aggregate on a rolling basis using webhooks etc

obsidian fern
#

But Is it possible extract with the number of CONNECTED_STRIPE_ACCOUNT_ID

dire torrent
#

No, you would need to calculate this total volume based on the details of your integration

obsidian fern
#

it with this endpoint payments/invoices

#

Is it I understant you?

dire torrent
#

It depends on what you use

#

You'd calculate this according to your business logic to determine account volume

obsidian fern
#

ok please tell me, what is the endpoint to check that values with the CONNECTED_STRIPE_ACCOUNT_ID

#

with nodejs

dire torrent
#

What values?

obsidian fern
#

the volume in Connected accounts

dire torrent
#

It doesn't exist

#

What kind of payments are you using?

obsidian fern
#

I use payment of type much , for example card, ach google-pay apple-pay

dire torrent
#

OK, but all using payment intents?

obsidian fern
#

some use stripe.charges.create and others stripe.paymentIntents.create with api nodejs

#

Is it possible to check the amount used by those stripe apis for nodejs?

wanton mauve
#

HI ๐Ÿ‘‹

I'm stepping in as @dire torrent needs to go.

#

So if your integration uses both Payment Intents and Charges to create charges for a Connect Account, you would need to write code to retrieve those payments and calculate the totals.

obsidian fern
#

I understand, can you tell what is the endpoint with which could to do it ?

wanton mauve
#

Well you said you were using both Payment Intents and Charges, correct?

obsidian fern
#

yes it is correct

wanton mauve
obsidian fern
#

ok I will check this endpoints, thanks ๐Ÿ‘

wanton mauve
#

Sure thing, happy to help ๐Ÿ™‚