#jasuno-invoice-customer

1 messages · Page 1 of 1 (latest)

pure canopyBOT
scenic carbon
#

jasuno-invoice-customer

hexed mortar
#

Thanks that helps a lot

#

Wait

#

i forgot an important detail

#

Is there an easy way to fetch all the invoices that related to a specific customer a cross connect accounts?

scenic carbon
#

Customers are scoped to a specific account. So there's no "across connect accounts" no. Every Customer is different. I assume you're a platform with Standard connected accounts and are cloning PaymentMethods maybe?
If you could try to provide a lot more details, if possible all in one message I am happy to provide more context

hexed mortar
#

Sorry, So i have multiple customers and multiple connect accounts, yes the customers from the connect accounts are cloned from the main account. there is a possible instance where a customer will have open invoices from multiple connect account, so the question is can i fetch all of those invoices from these different connect accounts.

scenic carbon
#

Unfortunately there is no API for this. There's no "link" between all those customers in the API. So you'd have to list the Invoices on each connected account one by one (or track this in your own database)

hexed mortar
#

is there a link between the cloned user and the original?

#

id the original customer ID and the cloned customer ID the same?

scenic carbon
#

Not in our API. The ids are different and it's really something only you can track

#

you as the platform should now that cus_AAA in the platform is related to cus_789 on connected account A and cus_001 on connected account B