#Linq2-transaction

1 messages · Page 1 of 1 (latest)

strange egret
#

Hi there! Can you clarify your question? What are you trying to achieve?

#

Are you doing Destination Charges, and looking for the py_xxx object on the connected account?

trim pasture
#

after the FULL payment has gone to our main account, we take a small amount to cover Stripe transaction fees, the remained gets paid in to the connect account, the Payment in the connect account has an id of py_xxxxxx

#

I need to fetch that object back

#

I already have the connect account acct_xxxx object coming back, here

'partner_destination' => $payment_intent->transfer_data->destination, // Connect Account ID
#

also how would I return the current account balance for the connect account in the object

strange egret
#

Got it! Then you can find that ID with a little bit of work:
The PaymentIntent (pi_xxx) has a Charge object (ch_xxx). In the charge object there is a transfer object (tr_xxx). And in the transfer there is the destination_payment (py_xxx).

trim pasture
#

so where in the documents is it?

strange egret
#

I don't think we have a specific page in the documentation that cover this.

#

Do you need more details or my explanation above makes sense?

trim pasture
#

I have resent screen shots to the developer, explaining, as these details was in the database at one point, not sure why they took them out, so I will see what they do...