#mad-idempotency

1 messages · Page 1 of 1 (latest)

astral cargo
#

Hi there, the webhook event themselves do not contain an idempotency_key

mellow comet
#

ohh!

#

i was sure that i saw that somewhere

astral cargo
#

This property is populated for events on or after May 23, 2017.

mellow comet
#

i'm confused 🙂

astral cargo
#

Is there anything I can help with your use case?

mellow comet
#

they say that it's only populated for event after 2017, so it should be present

#

ohh i've just read that it's related to the request that generated it

#

what about the case of a webhook ?

astral cargo
#

The webhook event with the id evt_xxxxx should contain the key, do you have an example event I could refer to please?

mellow comet
#

this one for ex: evt_1KGy4pBVFeaV0FZKbdmBJ94i

#

on this one its null

"request": {
    "id": null,
    "idempotency_key": null
  }
astral cargo
#

this is interesting, please allow me look deeper into this

mellow comet
#

thank you @astral cargo

scarlet owl
#

Hi @mellow comet, this is Jack from Stripe. this particular event is an automatic handling (subscription status from active to past_due) which it's not triggered by your API call, that's why both id and idempotency_key are null.