#charlie-fanbase_best-practices

1 messages ยท Page 1 of 1 (latest)

hushed reefBOT
#

๐Ÿ‘‹ 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/1460240453084516480

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

brave dagger
#

hey there ๐Ÿ‘‹

zealous radish
#

Hey

brave dagger
zealous radish
#

Ok great so the balance transaction will be used for all transactions on the payout report?

brave dagger
#

yep, exactly!

zealous radish
#

Ok cool thanks, that should make it easier

#

We will have to backfill all of our existing transactions to get the blanace transaction id, from a paymentIntentId. Is there a reccomeneded way to do this?

brave dagger
#

so in short, to get from the PaymentIntent ID to the Balance Transaction ID, you'd need to:

  1. retrieve the PI,
  2. expand the Charge, and
  3. get the balance_transaction from the Charge object
zealous radish
#

Ok thanks for your help

brave dagger
#

any time!

zealous radish
#

have a nice day!