206 lines
6.1 KiB
Plaintext
206 lines
6.1 KiB
Plaintext
meta {
|
|
name: STRIPE WEBHOOKS
|
|
type: http
|
|
seq: 3
|
|
}
|
|
|
|
post {
|
|
url: https://memeaigen.test/stripe/webhook
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"id": "evt_1Rg71IEEXQJo9EEO4GHqZdRZ",
|
|
"object": "event",
|
|
"api_version": "2025-05-28.basil",
|
|
"created": 1751387215,
|
|
"data": {
|
|
"object": {
|
|
"id": "sub_1Rg71FEEXQJo9EEO18sXSEho",
|
|
"object": "subscription",
|
|
"application": null,
|
|
"application_fee_percent": null,
|
|
"automatic_tax": {
|
|
"disabled_reason": null,
|
|
"enabled": false,
|
|
"liability": null
|
|
},
|
|
"billing_cycle_anchor": 1751387213,
|
|
"billing_cycle_anchor_config": null,
|
|
"billing_mode": {
|
|
"type": "classic"
|
|
},
|
|
"billing_thresholds": null,
|
|
"cancel_at": null,
|
|
"cancel_at_period_end": false,
|
|
"canceled_at": null,
|
|
"cancellation_details": {
|
|
"comment": null,
|
|
"feedback": null,
|
|
"reason": null
|
|
},
|
|
"collection_method": "charge_automatically",
|
|
"created": 1751387213,
|
|
"currency": "usd",
|
|
"customer": "cus_SbGYl34MpG4nv5",
|
|
"days_until_due": null,
|
|
"default_payment_method": "pm_1Rg71EEEXQJo9EEOJWUAU6EQ",
|
|
"default_source": null,
|
|
"default_tax_rates": [],
|
|
"description": null,
|
|
"discounts": [],
|
|
"ended_at": null,
|
|
"invoice_settings": {
|
|
"account_tax_ids": null,
|
|
"issuer": {
|
|
"type": "self"
|
|
}
|
|
},
|
|
"items": {
|
|
"object": "list",
|
|
"data": [
|
|
{
|
|
"id": "si_SbJesuW5WgGoZ7",
|
|
"object": "subscription_item",
|
|
"billing_thresholds": null,
|
|
"created": 1751387213,
|
|
"current_period_end": 1754065613,
|
|
"current_period_start": 1751387213,
|
|
"discounts": [],
|
|
"metadata": {},
|
|
"plan": {
|
|
"id": "price_1RfN2VEEXQJo9EEOzjPI2HGt",
|
|
"object": "plan",
|
|
"active": true,
|
|
"amount": 400,
|
|
"amount_decimal": "400",
|
|
"billing_scheme": "per_unit",
|
|
"created": 1751210467,
|
|
"currency": "usd",
|
|
"interval": "month",
|
|
"interval_count": 1,
|
|
"livemode": false,
|
|
"metadata": {},
|
|
"meter": null,
|
|
"nickname": null,
|
|
"product": "prod_SaY8TGjiPi5hWu",
|
|
"tiers_mode": null,
|
|
"transform_usage": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"price": {
|
|
"id": "price_1RfN2VEEXQJo9EEOzjPI2HGt",
|
|
"object": "price",
|
|
"active": true,
|
|
"billing_scheme": "per_unit",
|
|
"created": 1751210467,
|
|
"currency": "usd",
|
|
"custom_unit_amount": null,
|
|
"livemode": false,
|
|
"lookup_key": null,
|
|
"metadata": {},
|
|
"nickname": null,
|
|
"product": "prod_SaY8TGjiPi5hWu",
|
|
"recurring": {
|
|
"interval": "month",
|
|
"interval_count": 1,
|
|
"meter": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"tax_behavior": "unspecified",
|
|
"tiers_mode": null,
|
|
"transform_quantity": null,
|
|
"type": "recurring",
|
|
"unit_amount": 400,
|
|
"unit_amount_decimal": "400"
|
|
},
|
|
"quantity": 1,
|
|
"subscription": "sub_1Rg71FEEXQJo9EEO18sXSEho",
|
|
"tax_rates": []
|
|
}
|
|
],
|
|
"has_more": false,
|
|
"total_count": 1,
|
|
"url": "/v1/subscription_items?subscription=sub_1Rg71FEEXQJo9EEO18sXSEho"
|
|
},
|
|
"latest_invoice": "in_1Rg71FEEXQJo9EEOmxbGjtdH",
|
|
"livemode": false,
|
|
"metadata": {
|
|
"is_on_session_checkout": "true"
|
|
},
|
|
"next_pending_invoice_item_invoice": null,
|
|
"on_behalf_of": null,
|
|
"pause_collection": null,
|
|
"payment_settings": {
|
|
"payment_method_options": {
|
|
"acss_debit": null,
|
|
"bancontact": null,
|
|
"card": {
|
|
"network": null,
|
|
"request_three_d_secure": "automatic"
|
|
},
|
|
"customer_balance": null,
|
|
"konbini": null,
|
|
"sepa_debit": null,
|
|
"us_bank_account": null
|
|
},
|
|
"payment_method_types": null,
|
|
"save_default_payment_method": "off"
|
|
},
|
|
"pending_invoice_item_interval": null,
|
|
"pending_setup_intent": null,
|
|
"pending_update": null,
|
|
"plan": {
|
|
"id": "price_1RfN2VEEXQJo9EEOzjPI2HGt",
|
|
"object": "plan",
|
|
"active": true,
|
|
"amount": 400,
|
|
"amount_decimal": "400",
|
|
"billing_scheme": "per_unit",
|
|
"created": 1751210467,
|
|
"currency": "usd",
|
|
"interval": "month",
|
|
"interval_count": 1,
|
|
"livemode": false,
|
|
"metadata": {},
|
|
"meter": null,
|
|
"nickname": null,
|
|
"product": "prod_SaY8TGjiPi5hWu",
|
|
"tiers_mode": null,
|
|
"transform_usage": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"quantity": 1,
|
|
"schedule": null,
|
|
"start_date": 1751387213,
|
|
"status": "active",
|
|
"test_clock": null,
|
|
"transfer_data": null,
|
|
"trial_end": null,
|
|
"trial_settings": {
|
|
"end_behavior": {
|
|
"missing_payment_method": "create_invoice"
|
|
}
|
|
},
|
|
"trial_start": null
|
|
},
|
|
"previous_attributes": {
|
|
"default_payment_method": null,
|
|
"status": "incomplete"
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 2,
|
|
"request": {
|
|
"id": null,
|
|
"idempotency_key": "e50baede-20b6-4a06-a2c4-15f43ca47dd4"
|
|
},
|
|
"type": "customer.subscription.updated"
|
|
}
|
|
}
|