{ "id": "evt_1Ekw4tJWpzXTeUB5fO0ve6Ia", "object": "event", "api_version": "2018-11-08", "created": 1560444427, "data": { "object": { "id": "in_1Ekv8LJWpzXTeUB58XqahxY0", "object": "invoice", "account_country": "ES", "account_name": "Grupo Winecta Transformación Digital S.L.", "amount_due": 10000, "amount_paid": 10000, "amount_remaining": 0, "application_fee": null, "attempt_count": 1, "attempted": true, "auto_advance": false, "billing": "charge_automatically", "billing_reason": "subscription_cycle", "charge": "ch_1Ekw4sJWpzXTeUB50fXGp0k9", "collection_method": "charge_automatically", "created": 1560440780, "currency": "eur", "custom_fields": null, "customer": "cus_FF2jCk37PfI6IO", "customer_address": null, "customer_email": "rumar13@gmail.com", "customer_name": null, "customer_phone": null, "customer_shipping": null, "customer_tax_exempt": "none", "customer_tax_ids": [ ], "date": 1560440780, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "due_date": null, "ending_balance": 0, "finalized_at": 1560444425, "footer": null, "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_l1ovsWlFlOGySGH1uWI5Tyrk5q", "invoice_pdf": "https://pay.stripe.com/invoice/invst_l1ovsWlFlOGySGH1uWI5Tyrk5q/pdf", "lines": { "object": "list", "data": [ { "id": "sli_a96b2aa129fc9c", "object": "line_item", "amount": 10000, "currency": "eur", "description": "1 × Creatuaplicacion (at €100.00 / day)", "discountable": true, "livemode": false, "metadata": { }, "period": { "end": 1560527180, "start": 1560440780 }, "plan": { "id": "plan_FF2gbQfScBQExi", "object": "plan", "active": true, "aggregate_usage": null, "amount": 10000, "billing_scheme": "per_unit", "created": 1560354179, "currency": "eur", "interval": "day", "interval_count": 1, "livemode": false, "metadata": { }, "nickname": "Creatuaplicacion", "product": "prod_FF2g6CBM691ZVh", "tiers": null, "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "proration": false, "quantity": 1, "subscription": "sub_FF2kCpI6YRPkvp", "subscription_item": "si_FF2kdMjcYPSWTF", "tax_amounts": [ ], "tax_rates": [ ], "type": "subscription" } ], "has_more": false, "total_count": 1, "url": "/v1/invoices/in_1Ekv8LJWpzXTeUB58XqahxY0/lines" }, "livemode": false, "metadata": { }, "next_payment_attempt": null, "number": "A6530234-0002", "paid": true, "payment_intent": "pi_1Ekw4sJWpzXTeUB5ZlEd2niF", "period_end": 1560440780, "period_start": 1560354380, "post_payment_credit_notes_amount": 0, "pre_payment_credit_notes_amount": 0, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, "status": "paid", "status_transitions": { "finalized_at": 1560444425, "marked_uncollectible_at": null, "paid_at": 1560444427, "voided_at": null }, "subscription": "sub_FF2kCpI6YRPkvp", "subtotal": 10000, "tax": null, "tax_percent": null, "total": 10000, "total_tax_amounts": [ ], "webhooks_delivered_at": 1560440797 } }, "livemode": false, "pending_webhooks": 2, "request": { "id": null, "idempotency_key": null }, "type": "invoice.payment_succeeded" }; Invalid signature; { "id": "evt_1EkwDLJWpzXTeUB5o3nUoxEF", "object": "event", "api_version": "2018-11-08", "created": 1560444951, "data": { "object": { "id": "in_1EkvGsJWpzXTeUB5zieoOGyw", "object": "invoice", "account_country": "ES", "account_name": "Grupo Winecta Transformación Digital S.L.", "amount_due": 10000, "amount_paid": 10000, "amount_remaining": 0, "application_fee": null, "attempt_count": 1, "attempted": true, "auto_advance": false, "billing": "charge_automatically", "billing_reason": "subscription_cycle", "charge": "ch_1EkwDKJWpzXTeUB5YEojf0oS", "collection_method": "charge_automatically", "created": 1560441319, "currency": "eur", "custom_fields": null, "customer": "cus_FF2sJlkUP1f4M6", "customer_address": null, "customer_email": "rumar13@gmail.com", "customer_name": null, "customer_phone": null, "customer_shipping": null, "customer_tax_exempt": "none", "customer_tax_ids": [ ], "date": 1560441319, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "due_date": null, "ending_balance": 0, "finalized_at": 1560444950, "footer": null, "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_LxCnmIzYtni4x5gR4JtfIc2LX8", "invoice_pdf": "https://pay.stripe.com/invoice/invst_LxCnmIzYtni4x5gR4JtfIc2LX8/pdf", "lines": { "object": "list", "data": [ { "id": "sli_cbb3470c8280a4", "object": "line_item", "amount": 10000, "currency": "eur", "description": "1 × Creatuaplicacion (at €100.00 / day)", "discountable": true, "livemode": false, "metadata": { }, "period": { "end": 1560527719, "start": 1560441319 }, "plan": { "id": "plan_FF2gbQfScBQExi", "object": "plan", "active": true, "aggregate_usage": null, "amount": 10000, "billing_scheme": "per_unit", "created": 1560354179, "currency": "eur", "interval": "day", "interval_count": 1, "livemode": false, "metadata": { }, "nickname": "Creatuaplicacion", "product": "prod_FF2g6CBM691ZVh", "tiers": null, "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "proration": false, "quantity": 1, "subscription": "sub_FF2sk6ge900Bts", "subscription_item": "si_FF2sINC007E69S", "tax_amounts": [ ], "tax_rates": [ ], "type": "subscription" } ], "has_more": false, "total_count": 1, "url": "/v1/invoices/in_1EkvGsJWpzXTeUB5zieoOGyw/lines" }, "livemode": false, "metadata": { }, "next_payment_attempt": null, "number": "0D246091-0002", "paid": true, "payment_intent": "pi_1EkwDKJWpzXTeUB51BDyO13D", "period_end": 1560441319, "period_start": 1560354919, "post_payment_credit_notes_amount": 0, "pre_payment_credit_notes_amount": 0, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, "status": "paid", "status_transitions": { "finalized_at": 1560444950, "marked_uncollectible_at": null, "paid_at": 1560444951, "voided_at": null }, "subscription": "sub_FF2sk6ge900Bts", "subtotal": 10000, "tax": null, "tax_percent": null, "total": 10000, "total_tax_amounts": [ ], "webhooks_delivered_at": 1560441327 } }, "livemode": false, "pending_webhooks": 2, "request": { "id": null, "idempotency_key": null }, "type": "invoice.payment_succeeded" }; Invalid signature;