#lola_cleo

1 messages · Page 1 of 1 (latest)

oblique oceanBOT
tardy dome
#

If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with cancel_at_period_end, canceled_at will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.

#

Can you share a specific example?

raven temple
#

you mean like a subscription id?

tardy dome
#

Yes

raven temple
#

sub_1LkQj6H9F6cNTHT4EieKaSSn - this one's cancelled_at is not immediately after subscription created_at

sub_1LklSAH9F6cNTHT4GDTSd84a - this one's cancelled_at is immediately after subscription created_at

tardy dome
#

The request that canceled sub_1LklSAH9F6cNTHT4GDTSd84a: https://dashboard.stripe.com/logs/req_0yXL63desHESeD

Was ~immediately (4 minutes) after creation. As per docs:

If the subscription was canceled with cancel_at_period_end, canceled_at will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.

#

Same applies for the other subscription too

#

Because you passed cancel_at_period_end, the timestamp reflects the time the update request was made, not the actual period end/cancel date (as per the docs)