#luiz-romagnoli_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1382377196013748255
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- luiz-romagnoli_webhooks, 1 hour ago, 2 messages
Sorry, I mispelled
I'm NOT referring to a card added as a payment methods, but for a card issued to a cardholder.
Hi, to confirm, you're asking if we send any webhook events when the issuing card is expiring? Or something else?
actually, when it does expire
I need to execute some routines on my end when a card expires
I suspect you'd get https://docs.stripe.com/api/events/types#event_types-issuing_card.updated and you can look at the expiry date that way
There is not an explicit event, https://docs.stripe.com/api/events/types like you imagined. Can you confirm if the above works for you?
so the event will be triggered even if nothing else happened to the card excepted the expiration?
in other words, is the expiration alone sufficient for the event to be triggerd?
I'm looking at my old issuing cards to confirm this, hang tight
sure, take your time, thank you
I found an example on my account, and it does not look like that event is sent. You would need to keep track of the expiry dates on your end. You can make this list call with the expiry date: https://docs.stripe.com/api/issuing/cards/list#list_issuing_cards-exp_year for instance. Then, create a replacemenet card: https://docs.corp.stripe.com/issuing/cards/replacements?testing-method=with-code#replacements-for-expired-or-damaged-cards if needed.
I will share your feedback with the product team for future product reiterations to send an event when the issuing card is expired
Thank you for the clarification. So in the same matter, I understand that when a card with status ACTIVE gets expired, its status will continue to be ACTIVE, even though it's, in practice, an useless card (in terms of being able to transact, at least). Is that correct?
What does 'Active' mean here?
We document here, https://docs.stripe.com/issuing/cards/replacements?testing-method=without-code#card-expired-or-damaged that 'Updating the payment details for a card that has been replaced due to expiration or damage ensures that recurring payments and stored payment details continue to function.' which indicates that it would not work
I'm referring to the status attribute from the Card entity
we consider this attribute to display the card status to the customer
so in case the card expires, it would be ideal that the status change from active to inactive, but I need some confirmation if that status change wil take place after the expiration
Let me retrieve that card to confirm, hang tight
sure
yeah, since you can ask for a replcacement on the same card number, https://docs.corp.stripe.com/issuing/cards/replacements it loos like you need to update the status on your end: https://docs.stripe.com/api/issuing/cards/update#update_issuing_card-status if that is what you'd like.
so you confirm that the status will not change when the card expires? If the cars had status = active right before expiring, its status will continue to be active after expiring, unless I change it manualy. Is that correct?
That is correct from my testing.
You can test this yourself: https://docs.stripe.com/issuing/testing and maybe wait a few days for it to expire.
It doen's look like I can set the expiration when creating a card, at least according to https://docs.stripe.com/api/issuing/cards/create
Do you know how much time this test cards have before expiring?
I bellieve this is a default value since it cannot be set I presume
hello
alright, this is everything for today. Thank you and pkskc for the help