#AtalAtal

1 messages · Page 1 of 1 (latest)

light forgeBOT
shadow nimbus
#

Hi 👋

How are you creating the Transfer?

soft berry
#

I want to send payouts and make a destination charge.
So on the PaymentIntent I pass in the Connected Account ID as the destination.

#

I want to manually payout the connected account, but only the booking (payment) I want. So I want to search in the transfers of that connected account.

#

I don't know if this is the right way though.

shadow nimbus
#

I'm sorry but none of that makes sense to me. What does this have to do with passing metadata?

soft berry
#

So I want to pass in the booking ID in the metadata. Because when the service for that booking is delivered. I want to search the connected account's transfers for that booking ID and issue the payout.

#

I only want to payout a certain amount, in this case, the price of the booking. Not the whole amount.

shadow nimbus
#

Okay. So unfortunately you can only pass the destination and amount to the Transfer object.

soft berry
#

I thought so.

shadow nimbus
#

There are a couple ways you could try to do this.

#

Depending on how fast. you create Payment Intents/transfers you could try to match up the Transfer with the previous Payment Intent and copy the metadata.

soft berry
#

I have the amount that needs to be paid out in my own database as well, but for cross region payments, the currency exchange makes it different.

shadow nimbus
soft berry
#

In this Payment Intent: 'pi_3Mjq7FDOdw8vQKwD0H79Aplr'
I have a €290.02 transfer amount. But that is exchange to DKK, when transfered.
How can I payout the exact exchanged amount to the connected account?

#

Oh never mind. I got it. Throught the transfer object.

#

You may close this thread.

#

Thanks.