Update
This commit is contained in:
@@ -12,135 +12,136 @@ post {
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": "evt_1Rg71IEEXQJo9EEO4GHqZdRZ",
|
||||
"id": "evt_1Rg71IEEXQJo9EEOmxJtfwVm",
|
||||
"object": "event",
|
||||
"api_version": "2025-05-28.basil",
|
||||
"created": 1751387215,
|
||||
"data": {
|
||||
"object": {
|
||||
"id": "sub_1Rg71FEEXQJo9EEO18sXSEho",
|
||||
"object": "subscription",
|
||||
"id": "in_1Rg71FEEXQJo9EEOmxbGjtdH",
|
||||
"object": "invoice",
|
||||
"account_country": "MY",
|
||||
"account_name": "MEMEAIGEN sandbox",
|
||||
"account_tax_ids": null,
|
||||
"amount_due": 400,
|
||||
"amount_overpaid": 0,
|
||||
"amount_paid": 400,
|
||||
"amount_remaining": 0,
|
||||
"amount_shipping": 0,
|
||||
"application": null,
|
||||
"application_fee_percent": null,
|
||||
"attempt_count": 1,
|
||||
"attempted": true,
|
||||
"auto_advance": false,
|
||||
"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
|
||||
"liability": null,
|
||||
"provider": null,
|
||||
"status": null
|
||||
},
|
||||
"automatically_finalizes_at": null,
|
||||
"billing_reason": "subscription_create",
|
||||
"collection_method": "charge_automatically",
|
||||
"created": 1751387213,
|
||||
"currency": "usd",
|
||||
"custom_fields": null,
|
||||
"customer": "cus_SbGYl34MpG4nv5",
|
||||
"days_until_due": null,
|
||||
"default_payment_method": "pm_1Rg71EEEXQJo9EEOJWUAU6EQ",
|
||||
"customer_address": null,
|
||||
"customer_email": "memeaigen.com@gmail.com",
|
||||
"customer_name": null,
|
||||
"customer_phone": null,
|
||||
"customer_shipping": null,
|
||||
"customer_tax_exempt": "none",
|
||||
"customer_tax_ids": [],
|
||||
"default_payment_method": null,
|
||||
"default_source": null,
|
||||
"default_tax_rates": [],
|
||||
"description": null,
|
||||
"discounts": [],
|
||||
"ended_at": null,
|
||||
"invoice_settings": {
|
||||
"account_tax_ids": null,
|
||||
"issuer": {
|
||||
"type": "self"
|
||||
}
|
||||
"due_date": null,
|
||||
"effective_at": 1751387213,
|
||||
"ending_balance": 0,
|
||||
"footer": null,
|
||||
"from_invoice": null,
|
||||
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_1RfMzuEEXQJo9EEO/test_YWNjdF8xUmZNenVFRVhRSm85RUVPLF9TYkplU0VDWWdKSG53bDVZT2VuNjNGZFFaaFJsbFFkLDE0MTkyODAxNg0200EQHRg6hn?s=ap",
|
||||
"invoice_pdf": "https://pay.stripe.com/invoice/acct_1RfMzuEEXQJo9EEO/test_YWNjdF8xUmZNenVFRVhRSm85RUVPLF9TYkplU0VDWWdKSG53bDVZT2VuNjNGZFFaaFJsbFFkLDE0MTkyODAxNg0200EQHRg6hn/pdf?s=ap",
|
||||
"issuer": {
|
||||
"type": "self"
|
||||
},
|
||||
"items": {
|
||||
"last_finalization_error": null,
|
||||
"latest_revision": null,
|
||||
"lines": {
|
||||
"object": "list",
|
||||
"data": [
|
||||
{
|
||||
"id": "si_SbJesuW5WgGoZ7",
|
||||
"object": "subscription_item",
|
||||
"billing_thresholds": null,
|
||||
"created": 1751387213,
|
||||
"current_period_end": 1754065613,
|
||||
"current_period_start": 1751387213,
|
||||
"id": "il_1Rg71FEEXQJo9EEOhVjRevMb",
|
||||
"object": "line_item",
|
||||
"amount": 400,
|
||||
"currency": "usd",
|
||||
"description": "1 × Personal Creator (at $4.00 / month)",
|
||||
"discount_amounts": [],
|
||||
"discountable": true,
|
||||
"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"
|
||||
"invoice": "in_1Rg71FEEXQJo9EEOmxbGjtdH",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"is_on_session_checkout": "true"
|
||||
},
|
||||
"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"
|
||||
"parent": {
|
||||
"invoice_item_details": null,
|
||||
"subscription_item_details": {
|
||||
"invoice_item": null,
|
||||
"proration": false,
|
||||
"proration_details": {
|
||||
"credited_items": null
|
||||
},
|
||||
"subscription": "sub_1Rg71FEEXQJo9EEO18sXSEho",
|
||||
"subscription_item": "si_SbJesuW5WgGoZ7"
|
||||
},
|
||||
"tax_behavior": "unspecified",
|
||||
"tiers_mode": null,
|
||||
"transform_quantity": null,
|
||||
"type": "recurring",
|
||||
"unit_amount": 400,
|
||||
"type": "subscription_item_details"
|
||||
},
|
||||
"period": {
|
||||
"end": 1754065613,
|
||||
"start": 1751387213
|
||||
},
|
||||
"pretax_credit_amounts": [],
|
||||
"pricing": {
|
||||
"price_details": {
|
||||
"price": "price_1RfN2VEEXQJo9EEOzjPI2HGt",
|
||||
"product": "prod_SaY8TGjiPi5hWu"
|
||||
},
|
||||
"type": "price_details",
|
||||
"unit_amount_decimal": "400"
|
||||
},
|
||||
"quantity": 1,
|
||||
"subscription": "sub_1Rg71FEEXQJo9EEO18sXSEho",
|
||||
"tax_rates": []
|
||||
"taxes": []
|
||||
}
|
||||
],
|
||||
"has_more": false,
|
||||
"total_count": 1,
|
||||
"url": "/v1/subscription_items?subscription=sub_1Rg71FEEXQJo9EEO18sXSEho"
|
||||
"url": "/v1/invoices/in_1Rg71FEEXQJo9EEOmxbGjtdH/lines"
|
||||
},
|
||||
"latest_invoice": "in_1Rg71FEEXQJo9EEOmxbGjtdH",
|
||||
"livemode": false,
|
||||
"metadata": {
|
||||
"is_on_session_checkout": "true"
|
||||
},
|
||||
"next_pending_invoice_item_invoice": null,
|
||||
"metadata": {},
|
||||
"next_payment_attempt": null,
|
||||
"number": "IN7OJLTH-0001",
|
||||
"on_behalf_of": null,
|
||||
"pause_collection": null,
|
||||
"parent": {
|
||||
"quote_details": null,
|
||||
"subscription_details": {
|
||||
"metadata": {
|
||||
"is_on_session_checkout": "true"
|
||||
},
|
||||
"subscription": "sub_1Rg71FEEXQJo9EEO18sXSEho"
|
||||
},
|
||||
"type": "subscription_details"
|
||||
},
|
||||
"payment_settings": {
|
||||
"default_mandate": null,
|
||||
"payment_method_options": {
|
||||
"acss_debit": null,
|
||||
"bancontact": null,
|
||||
"card": {
|
||||
"network": null,
|
||||
"request_three_d_secure": "automatic"
|
||||
},
|
||||
"customer_balance": null,
|
||||
@@ -148,50 +149,34 @@ body:json {
|
||||
"sepa_debit": null,
|
||||
"us_bank_account": null
|
||||
},
|
||||
"payment_method_types": null,
|
||||
"save_default_payment_method": "off"
|
||||
"payment_method_types": null
|
||||
},
|
||||
"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"
|
||||
"period_end": 1751387213,
|
||||
"period_start": 1751387213,
|
||||
"post_payment_credit_notes_amount": 0,
|
||||
"pre_payment_credit_notes_amount": 0,
|
||||
"receipt_number": null,
|
||||
"rendering": null,
|
||||
"shipping_cost": null,
|
||||
"shipping_details": null,
|
||||
"starting_balance": 0,
|
||||
"statement_descriptor": null,
|
||||
"status": "paid",
|
||||
"status_transitions": {
|
||||
"finalized_at": 1751387213,
|
||||
"marked_uncollectible_at": null,
|
||||
"paid_at": 1751387215,
|
||||
"voided_at": null
|
||||
},
|
||||
"quantity": 1,
|
||||
"schedule": null,
|
||||
"start_date": 1751387213,
|
||||
"status": "active",
|
||||
"subtotal": 400,
|
||||
"subtotal_excluding_tax": 400,
|
||||
"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"
|
||||
"total": 400,
|
||||
"total_discount_amounts": [],
|
||||
"total_excluding_tax": 400,
|
||||
"total_pretax_credit_amounts": [],
|
||||
"total_taxes": [],
|
||||
"webhooks_delivered_at": null
|
||||
}
|
||||
},
|
||||
"livemode": false,
|
||||
@@ -200,6 +185,6 @@ body:json {
|
||||
"id": null,
|
||||
"idempotency_key": "e50baede-20b6-4a06-a2c4-15f43ca47dd4"
|
||||
},
|
||||
"type": "customer.subscription.updated"
|
||||
"type": "invoice.paid"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user