Created
April 10, 2022 11:08
-
-
Save pedro-vasconcelos/618f0a6aab1f1729fec52b944bca25f6 to your computer and use it in GitHub Desktop.
stripe_event: subscription_schedule.updated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "evt_1KmyWeLueXt1u2tdZoY8SJM0", | |
"object": "event", | |
"api_version": "2020-08-27", | |
"created": 1649588508, | |
"data": { | |
"object": { | |
"id": "sub_sched_1KmyWdLueXt1u2tdqnTEjx1V", | |
"object": "subscription_schedule", | |
"canceled_at": null, | |
"completed_at": null, | |
"created": 1594857600, | |
"current_phase": { | |
"end_date": 1597536000, | |
"start_date": 1594857600 | |
}, | |
"customer": "cus_LTn5xX5Or3vZGT", | |
"default_settings": { | |
"application_fee_percent": null, | |
"automatic_tax": { | |
"enabled": true | |
}, | |
"billing_cycle_anchor": "automatic", | |
"billing_thresholds": null, | |
"collection_method": "charge_automatically", | |
"default_payment_method": null, | |
"default_source": null, | |
"invoice_settings": { | |
"days_until_due": null | |
}, | |
"transfer_data": null | |
}, | |
"end_behavior": "release", | |
"livemode": false, | |
"metadata": [], | |
"phases": [ | |
{ | |
"add_invoice_items": [], | |
"application_fee_percent": null, | |
"billing_cycle_anchor": null, | |
"billing_thresholds": null, | |
"collection_method": null, | |
"coupon": null, | |
"default_payment_method": null, | |
"default_tax_rates": [], | |
"end_date": 1597536000, | |
"invoice_settings": null, | |
"items": [ | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"price": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"quantity": 100, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"price": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"quantity": 100, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS2LueXt1u2tdHyi4uhic", | |
"price": "price_1KmpS2LueXt1u2tdHyi4uhic", | |
"quantity": 1, | |
"tax_rates": [] | |
} | |
], | |
"proration_behavior": "create_prorations", | |
"start_date": 1594857600, | |
"transfer_data": null, | |
"trial_end": null | |
}, | |
{ | |
"add_invoice_items": [], | |
"application_fee_percent": null, | |
"billing_cycle_anchor": null, | |
"billing_thresholds": null, | |
"collection_method": null, | |
"coupon": null, | |
"default_payment_method": null, | |
"default_tax_rates": [], | |
"end_date": 1600214400, | |
"invoice_settings": null, | |
"items": [ | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS1LueXt1u2td6IJNfn28", | |
"price": "price_1KmpS1LueXt1u2td6IJNfn28", | |
"quantity": 1, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"price": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"quantity": 100, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"price": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"quantity": 100, | |
"tax_rates": [] | |
} | |
], | |
"proration_behavior": "create_prorations", | |
"start_date": 1597536000, | |
"transfer_data": null, | |
"trial_end": null | |
} | |
], | |
"released_at": null, | |
"released_subscription": null, | |
"renewal_interval": null, | |
"status": "active", | |
"subscription": "sub_1KmpVmLueXt1u2tdkmwwgrYG", | |
"test_clock": "clock_1KmpDSLueXt1u2tdsyMHIfzh" | |
}, | |
"previous_attributes": { | |
"phases": [ | |
{ | |
"add_invoice_items": [], | |
"application_fee_percent": null, | |
"automatic_tax": { | |
"enabled": true | |
}, | |
"billing_cycle_anchor": null, | |
"billing_thresholds": null, | |
"collection_method": null, | |
"coupon": null, | |
"default_payment_method": null, | |
"default_tax_rates": [], | |
"end_date": 1597536000, | |
"invoice_settings": null, | |
"items": [ | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"price": "price_1KmpS3LueXt1u2tdEtZQKyyx", | |
"quantity": 100, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"price": "price_1KmpS4LueXt1u2td3lzW9y43", | |
"quantity": 100, | |
"tax_rates": [] | |
}, | |
{ | |
"billing_thresholds": null, | |
"plan": "price_1KmpS2LueXt1u2tdHyi4uhic", | |
"price": "price_1KmpS2LueXt1u2tdHyi4uhic", | |
"quantity": 1, | |
"tax_rates": [] | |
} | |
], | |
"proration_behavior": "create_prorations", | |
"start_date": 1594857600, | |
"transfer_data": null, | |
"trial_end": null | |
} | |
] | |
} | |
}, | |
"livemode": false, | |
"pending_webhooks": 2, | |
"request": { | |
"id": "req_m3tSw8ZTr2L9U3", | |
"idempotency_key": "79814cc7-620e-4f18-983a-5e9a977dbb1f" | |
}, | |
"type": "subscription_schedule.updated" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment