#Sarvesh

1 messages ยท Page 1 of 1 (latest)

radiant waveBOT
pine saffron
#

Hello, are you looking for coding help, or are you having trouble refunding a specific payment that has already happened?

copper hare
#

for connected account user I want to build the payment intent transaction link so he can check the status of each transaction just by clicking on the link from application and he will see Stripe page in another tab with transaction details and can also click Refund from Stripe if someone cancelled the registration

#

how it can be achived?

pine saffron
copper hare
#

ok so I need to pass payment intent id "pi_3M8kHmPGjJdpmYtd11XOXzdF" or charge object Id to refund request?

charges":{
"object":"list",
"data":[
{
"id":"ch_3M8kHmPGjJdpmYtd16XUIsye",
"object":"charge",

pine saffron
#

You can use either I believe

#

Because you have the payment intent on that page, I assumed the intent Id would be easier

copper hare
jade vale
#

Hi there ๐Ÿ‘‹ I'm jumping in as my teammate needs to step away soon. I don't think the Express dashboard provides your Connected Accounts with the ability to refund payments, but will need to double check that to confirm.

copper hare
#

ok, pls check as there will be rare case of refund so want to keep it simple and on Stripe side only

jade vale
#

No, I'm not seeing the ability to refund payments in the Express Dashboard.

copper hare
#

ok so from above api request will it auto refund to same participant card or bank account without application fee?

jade vale
#

Sorry, I'm a little unclear on what you're asking as I don't see a request referenced here. If you're referring to the function/endpoint that my teammate pointed you to, then yes that function performs a refund to the original payment method used. Whether the application fee is refunded is dependent on whether you use refund_application_fee parameter:
https://stripe.com/docs/api/refunds/create#create_refund-refund_application_fee

copper hare
#

ok we do not want app fee to refund

#

test/connect/accounts/acct_1M7uEWPGjJdpmYtd/payments/pi_3M8kHmPGjJdpmYtd11XOXzdF