#bimbo1989_api

1 messages ¡ Page 1 of 1 (latest)

ashen heronBOT
#

👋 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/1315613992927887394

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

covert saddle
#

hi! just so I understand the context, why are you starting wih a balance_transaction, where do you get that from; as opposed to listing something like PaymentIntents or Charges or using a webhook for those?

bright timber
#

Hi, I'm using balance_transaction to list the recent transactions for a given connect account. I get everything I need, the only thing I'd need in addition is the name and surname of the final customer

#

would listing Charges work?

#

also, I need to list payouts, payment and charges in the same table

#

so I thought that balance_transaction was the way to go

covert saddle
#

at a high level, assuming the BT is from a payment(Charge object) and that Charge had an attached Customer object, balance_transaction->source->customer->name can be their name. It depends on your exact integration.

bright timber
#

ok I will check it out

#

thank you

#

Tried it in postman and the expand parameter was what I was missing. It works!

#

Thank you a lot