#hamza-connect-sct
1 messages · Page 1 of 1 (latest)
Hi there 👋 it sounds like you're working on a Separate Charges and Transfers flow, so I think you're looking for our source_transaction parameter:
https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability
hamza-connect-sct
i already cut the charges and remaining amount is save to the data base of the seller the seller just connect with the stripe connect hence providing the stripe account id and requesting the withdraw amount but they throw error platform balance is insuffucent
@severe mortar the link my colleague shared explains exactly how to fix this
can i share my code with you for better understanding?
You can, but really the answer is literally that doc we just gave you. That's all you have to change
i first make the payment intent in my back end ok given back the payment intent id and the client secret and give back to client while using the client secret and the card element we use stripe.confirmPayment and redirect to our return url with the things embeded in it then on that page we use that payment intent id to retreive the status of the payment and change the stauts of the payment to succedd when completed in all that from where we get the charge id ???
The PaymentIntent has latest_charge: 'ch_123' which is the Charge id you need in source_transaction
i got the latest_charge attribute to null