#Dufji-refund-cli
1 messages ยท Page 1 of 1 (latest)
Hi ๐ I belive so. You can run the below help command to see the options that it accepts:
stripe refunds create --help
ah awesome, i was tryign with stripe trigger charge.refunded --add
Any time!
Yeah, trigger is more focused on getting events to generate than it is on being able to complete specific tasks.
stripe refunds create --charge ch_3K.. should do the trick?
I guess this wont work because I am doing a destination charge. Could you advice me how I can test a connect standard account refund? As the standard account is "non existing"
We typically don't recommend using destination charges with Standard connected accounts. Were you just using a destination charge for testing?
I am testing this, as I am migrating away from express accounts. I want to no longer, or be less, involved in the payments.
I just want the payments to be handled on their own accounts as much as possible.
Gotcha, so are you migrating to Standard connected accounts and Direct Charges?
yes
And my previous implementation depends on the "destination" in the refund payload, so now I just need to refactor that ๐
And for that I want to trigger a refund
Gotcha, it'll probably make your testing much easier if you can actually see the flows you're trying to build. So, if you haven't already done so, I would recommend creating a second Stripe account and use this process to connect it to your platform in test mode.
https://stripe.com/docs/connect/oauth-standard-accounts
ah ok yes I will do it like that, was not sure if that would work because I got mixed account errors before. I will give it a shot, hopefully you wont hear from me again;
Thank you for your time
Always happy to help! That's the process I used to link my two test accounts so I can see Standard Connect flows.
So on the top right I see my new stripe account, can I press skip this form or should I better complete it?
Yeah, that Skip this form is always easier than trying to get test values that will be accepted.
Awesome
Managed to make all work. Thanks again.
๐ฅณ thrilled to hear!