#chrisbloecker

1 messages · Page 1 of 1 (latest)

void drumBOT
lethal cliff
#

Hi there! The best way to handle this is to quickly send the 200/success response after receiving the charge.succeeded event, and retrieve the Balance Transaction (to view the fees) separately. You shouldn't wait to send the event acknowledgement until after retrieving the Balance Transaction

dense lava
#

So there's no event that I could subscribe to or retrieve those fees in bulk? For example an API call where I can say "please give me the fees for the following balance transactions?"

lethal cliff
#

Is it possible to receive an event that contains that info?
No, this isn't possible. You'll need to retrieve the specific Balance Transaction to see the fee details

dense lava
#

Alright. And connected to this, can there be more than one succeeded charge per payment intent? I'm working only with card payments, in case that helps to answer the question.

lethal cliff
#

No, there shouldn't be.