#vinkesh
1 messages · Page 1 of 1 (latest)
Hi there, you can create a new subscription with a new idempotency key
But i want to use my invoice id as idempotency key
old subscription is cancelled
But it still not allowing me to create
is there is a way i can remove idempotency key frcefully from old subscription
An idempotency will expire in 24 hours and there's no way to manually invalidate an idempotency key.
I'll also suggest you to use unique value (i.e., V4 UUIDs) as an idempotency key
invoiceId is a UUID
As I explained before, you need to use a different value for idempotency key in order to create a new subscription, using an old idempotency key will return the saved response. You can learn more about idempotent requests here https://stripe.com/docs/api/idempotent_requests#idempotent_requests