{ "id": "evt_1EtH2kJWpzXTeUB53HpLkbJX", "object": "event", "api_version": "2018-11-08", "created": 1562431642, "data": { "object": { "id": "in_1EtG5tJWpzXTeUB5FMU3gz5X", "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_1EtH2jJWpzXTeUB5C395iZHI", "collection_method": "charge_automatically", "created": 1562427980, "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": 1562427980, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "due_date": null, "ending_balance": 0, "finalized_at": 1562431640, "footer": null, "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_tNiZ65GumtwXHFsWEwaBv3DlvS", "invoice_pdf": "https://pay.stripe.com/invoice/invst_tNiZ65GumtwXHFsWEwaBv3DlvS/pdf", "lines": { "object": "list", "data": [ { "id": "sli_49b59ad0751a3c", "object": "line_item", "amount": 10000, "currency": "eur", "description": "1 × Creatuaplicacion (at €100.00 / day)", "discountable": true, "livemode": false, "metadata": { }, "period": { "end": 1562514380, "start": 1562427980 }, "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_1EtG5tJWpzXTeUB5FMU3gz5X/lines" }, "livemode": false, "metadata": { }, "next_payment_attempt": null, "number": "A6530234-0025", "paid": true, "payment_intent": "pi_1EtH2iJWpzXTeUB5Ar02nhm0", "period_end": 1562427980, "period_start": 1562341580, "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": 1562431640, "marked_uncollectible_at": null, "paid_at": 1562431642, "voided_at": null }, "subscription": "sub_FF2kCpI6YRPkvp", "subtotal": 10000, "tax": null, "tax_percent": null, "total": 10000, "total_tax_amounts": [ ], "webhooks_delivered_at": 1562427993 } }, "livemode": false, "pending_webhooks": 2, "request": { "id": null, "idempotency_key": null }, "type": "invoice.payment_succeeded" }; Invalid signature; { "id": "evt_1EtHB9JWpzXTeUB5JayuN25N", "object": "event", "api_version": "2018-11-08", "created": 1562432163, "data": { "object": { "id": "in_1EtGEXJWpzXTeUB5WrSMISQB", "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_1EtHB8JWpzXTeUB5oEMCPUm2", "collection_method": "charge_automatically", "created": 1562428519, "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": 1562428519, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "due_date": null, "ending_balance": 0, "finalized_at": 1562432161, "footer": null, "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_poED6CwEDsbMUadmNoghzPZKDm", "invoice_pdf": "https://pay.stripe.com/invoice/invst_poED6CwEDsbMUadmNoghzPZKDm/pdf", "lines": { "object": "list", "data": [ { "id": "sli_6eb1d2e55853c4", "object": "line_item", "amount": 10000, "currency": "eur", "description": "1 × Creatuaplicacion (at €100.00 / day)", "discountable": true, "livemode": false, "metadata": { }, "period": { "end": 1562514919, "start": 1562428519 }, "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_1EtGEXJWpzXTeUB5WrSMISQB/lines" }, "livemode": false, "metadata": { }, "next_payment_attempt": null, "number": "0D246091-0025", "paid": true, "payment_intent": "pi_1EtHB7JWpzXTeUB5jEH8fGrq", "period_end": 1562428519, "period_start": 1562342119, "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": 1562432161, "marked_uncollectible_at": null, "paid_at": 1562432163, "voided_at": null }, "subscription": "sub_FF2sk6ge900Bts", "subtotal": 10000, "tax": null, "tax_percent": null, "total": 10000, "total_tax_amounts": [ ], "webhooks_delivered_at": 1562428530 } }, "livemode": false, "pending_webhooks": 2, "request": { "id": null, "idempotency_key": null }, "type": "invoice.payment_succeeded" }; Invalid signature;