| 1 |
{ |
| 2 |
"id": "evt_1TWIw10qWkNaM1fMYsEAntdJ", |
| 3 |
"object": "event", |
| 4 |
"api_version": "2026-01-28.clover", |
| 5 |
"created": 1778602409, |
| 6 |
"data": { |
| 7 |
"object": { |
| 8 |
"id": "sub_1TWIvx0qWkNaM1fMrdkbo8m2", |
| 9 |
"object": "subscription", |
| 10 |
"application": null, |
| 11 |
"application_fee_percent": null, |
| 12 |
"automatic_tax": { |
| 13 |
"disabled_reason": null, |
| 14 |
"enabled": false, |
| 15 |
"liability": null |
| 16 |
}, |
| 17 |
"billing_cycle_anchor": 1778602404, |
| 18 |
"billing_cycle_anchor_config": null, |
| 19 |
"billing_mode": { |
| 20 |
"flexible": null, |
| 21 |
"type": "classic" |
| 22 |
}, |
| 23 |
"billing_thresholds": null, |
| 24 |
"cancel_at": null, |
| 25 |
"cancel_at_period_end": false, |
| 26 |
"canceled_at": null, |
| 27 |
"cancellation_details": { |
| 28 |
"comment": null, |
| 29 |
"feedback": null, |
| 30 |
"reason": null |
| 31 |
}, |
| 32 |
"collection_method": "charge_automatically", |
| 33 |
"created": 1778602404, |
| 34 |
"currency": "usd", |
| 35 |
"customer": "cus_UVJZMy16ECE8yo", |
| 36 |
"customer_account": "acct_1TWIvw1sF2hHgAOY", |
| 37 |
"days_until_due": null, |
| 38 |
"default_payment_method": "pm_1TWIvv0qWkNaM1fMRDWm1lC1", |
| 39 |
"default_source": null, |
| 40 |
"default_tax_rates": [], |
| 41 |
"description": null, |
| 42 |
"discounts": [], |
| 43 |
"ended_at": null, |
| 44 |
"invoice_settings": { |
| 45 |
"account_tax_ids": null, |
| 46 |
"issuer": { |
| 47 |
"type": "self" |
| 48 |
} |
| 49 |
}, |
| 50 |
"items": { |
| 51 |
"object": "list", |
| 52 |
"data": [ |
| 53 |
{ |
| 54 |
"id": "si_UVJZpNsxeY0zZP", |
| 55 |
"object": "subscription_item", |
| 56 |
"billing_thresholds": null, |
| 57 |
"created": 1778602405, |
| 58 |
"current_period_end": 1781280804, |
| 59 |
"current_period_start": 1778602404, |
| 60 |
"discounts": [], |
| 61 |
"metadata": {}, |
| 62 |
"plan": { |
| 63 |
"id": "price_1TWIvo0qWkNaM1fMGlWVXGB4", |
| 64 |
"object": "plan", |
| 65 |
"active": false, |
| 66 |
"amount": 200, |
| 67 |
"amount_decimal": "200", |
| 68 |
"billing_scheme": "per_unit", |
| 69 |
"created": 1778602396, |
| 70 |
"currency": "usd", |
| 71 |
"interval": "month", |
| 72 |
"interval_count": 1, |
| 73 |
"livemode": true, |
| 74 |
"metadata": {}, |
| 75 |
"meter": null, |
| 76 |
"nickname": null, |
| 77 |
"product": "prod_UUyK7pagjqHxLk", |
| 78 |
"tiers_mode": null, |
| 79 |
"transform_usage": null, |
| 80 |
"trial_period_days": null, |
| 81 |
"usage_type": "licensed" |
| 82 |
}, |
| 83 |
"price": { |
| 84 |
"id": "price_1TWIvo0qWkNaM1fMGlWVXGB4", |
| 85 |
"object": "price", |
| 86 |
"active": false, |
| 87 |
"billing_scheme": "per_unit", |
| 88 |
"created": 1778602396, |
| 89 |
"currency": "usd", |
| 90 |
"custom_unit_amount": null, |
| 91 |
"livemode": true, |
| 92 |
"lookup_key": null, |
| 93 |
"metadata": {}, |
| 94 |
"nickname": null, |
| 95 |
"product": "prod_UUyK7pagjqHxLk", |
| 96 |
"recurring": { |
| 97 |
"interval": "month", |
| 98 |
"interval_count": 1, |
| 99 |
"meter": null, |
| 100 |
"trial_period_days": null, |
| 101 |
"usage_type": "licensed" |
| 102 |
}, |
| 103 |
"tax_behavior": "unspecified", |
| 104 |
"tiers_mode": null, |
| 105 |
"transform_quantity": null, |
| 106 |
"type": "recurring", |
| 107 |
"unit_amount": 200, |
| 108 |
"unit_amount_decimal": "200" |
| 109 |
}, |
| 110 |
"quantity": 1, |
| 111 |
"subscription": "sub_1TWIvx0qWkNaM1fMrdkbo8m2", |
| 112 |
"tax_rates": [] |
| 113 |
} |
| 114 |
], |
| 115 |
"has_more": false, |
| 116 |
"total_count": 1, |
| 117 |
"url": "/v1/subscription_items?subscription=sub_1TWIvx0qWkNaM1fMrdkbo8m2" |
| 118 |
}, |
| 119 |
"latest_invoice": "in_1TWIvx0qWkNaM1fMYgGTkWbQ", |
| 120 |
"livemode": true, |
| 121 |
"managed_payments": { |
| 122 |
"enabled": false |
| 123 |
}, |
| 124 |
"metadata": {}, |
| 125 |
"next_pending_invoice_item_invoice": null, |
| 126 |
"on_behalf_of": null, |
| 127 |
"pause_collection": null, |
| 128 |
"payment_settings": { |
| 129 |
"payment_method_options": { |
| 130 |
"acss_debit": null, |
| 131 |
"bancontact": null, |
| 132 |
"card": { |
| 133 |
"network": null, |
| 134 |
"request_three_d_secure": "automatic" |
| 135 |
}, |
| 136 |
"customer_balance": null, |
| 137 |
"konbini": null, |
| 138 |
"payto": null, |
| 139 |
"pix": null, |
| 140 |
"sepa_debit": null, |
| 141 |
"upi": null, |
| 142 |
"us_bank_account": null |
| 143 |
}, |
| 144 |
"payment_method_types": null, |
| 145 |
"save_default_payment_method": "off" |
| 146 |
}, |
| 147 |
"pending_invoice_item_interval": null, |
| 148 |
"pending_setup_intent": null, |
| 149 |
"pending_update": null, |
| 150 |
"plan": { |
| 151 |
"id": "price_1TWIvo0qWkNaM1fMGlWVXGB4", |
| 152 |
"object": "plan", |
| 153 |
"active": false, |
| 154 |
"amount": 200, |
| 155 |
"amount_decimal": "200", |
| 156 |
"billing_scheme": "per_unit", |
| 157 |
"created": 1778602396, |
| 158 |
"currency": "usd", |
| 159 |
"interval": "month", |
| 160 |
"interval_count": 1, |
| 161 |
"livemode": true, |
| 162 |
"metadata": {}, |
| 163 |
"meter": null, |
| 164 |
"nickname": null, |
| 165 |
"product": "prod_UUyK7pagjqHxLk", |
| 166 |
"tiers_mode": null, |
| 167 |
"transform_usage": null, |
| 168 |
"trial_period_days": null, |
| 169 |
"usage_type": "licensed" |
| 170 |
}, |
| 171 |
"quantity": 1, |
| 172 |
"schedule": null, |
| 173 |
"start_date": 1778602404, |
| 174 |
"status": "active", |
| 175 |
"test_clock": null, |
| 176 |
"transfer_data": null, |
| 177 |
"trial_end": null, |
| 178 |
"trial_settings": { |
| 179 |
"end_behavior": { |
| 180 |
"missing_payment_method": "create_invoice" |
| 181 |
} |
| 182 |
}, |
| 183 |
"trial_start": null |
| 184 |
}, |
| 185 |
"previous_attributes": { |
| 186 |
"default_payment_method": null, |
| 187 |
"status": "incomplete" |
| 188 |
} |
| 189 |
}, |
| 190 |
"livemode": true, |
| 191 |
"pending_webhooks": 1, |
| 192 |
"request": { |
| 193 |
"id": null, |
| 194 |
"idempotency_key": "23f31c95-0fc6-435a-b5f5-12f27f474e83" |
| 195 |
}, |
| 196 |
"type": "customer.subscription.updated" |
| 197 |
} |
| 198 |
|