#educatedthug
1 messages · Page 1 of 1 (latest)
Hi there!
What do you mean by "email on a srouce"?
Maybe you can share the object ID you are trying to modify?
@tardy tendon let's chat here
Okay here
Got it
I’m trying to update the customers email here. How do I do this ?
You can see an example of this here: https://stripe.com/docs/api/sources/update?lang=cli
I have tried. I don’t know how to edit the email part alone
Something like this:
stripe sources update src_xxx \
-d "owner[email]"=foo@bar.com
Got this
I just deleted your message, it contained your secret key
I strongly recommend you to roll your secret key now, since this is a public channel
This is covered here: https://stripe.com/docs/keys#rolling-keys
Okay
You mean this instead?
If you try this what happens exaclty?
stripe sources update src_xxx -d "owner[email]"=foo@bar.com
I got this
Again I would recommend to delete that image and roll your secret key, it's possible to read it...
just trying it on my account and it seems to work well.
Now I got this
I’m sorry if my questions sound somehow, I’m a novice at this thing and stripe customer service asked me to do it, regarding a refund with my customer
@olive mica
yeah I'd push back and ask them to change it really, not reasonable for us to ask you to use CLI specifically.
but anyway it's because you need to make the call in livemode using your livemode API key instead.
not sure immediately how you do that in CLI(I usually would recommend never doing that), looking now....
After this command, I added —api-key sk***** at the end
And it still didn’t work
what does "didn't work" mean, what specific error message did you get?
Sources is not recognized as an internal or external command, operable program or batch file
hard to say without seeing the exact command, that sounds like a typo or a shell issue.
```stripe sources update src_xxxx -d "owner[email]"=foo@bar.com --api-key="sk_live_xxx"`
works for me.
I think it worked.
Is their a way to confirm.
Actually I refunded a payment to a customer who paid via ach credit. And according to stripe rules, if a customer pays via ach credit, and I issue a refund, the customer will be contacted via email to provide their bank account details where they want the refund to be deposited.
In my case, the customer didn’t get an email from stripe. So stripe rep asked me to update the email of the customer on the source
yep, that is how refunds on ACH Credit work, and yes, makes sense
Is there a way to resend that email to the customer now
Or only the stripe rep can do that?
I don't know sorry. I'd ask Support.