mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +01:00
223 lines
6.7 KiB
JSON
223 lines
6.7 KiB
JSON
{
|
|
"id": "evt_1NvKzfIGBnsLynRr0SkwrlkE",
|
|
"object": "event",
|
|
"api_version": "2024-06-20",
|
|
"created": 1695910506,
|
|
"data": {
|
|
"object": {
|
|
"id": "in_1NvKzdIGBnsLynRr8fE8cpbg",
|
|
"object": "invoice",
|
|
"account_country": "US",
|
|
"account_name": "Bitwarden Inc.",
|
|
"account_tax_ids": null,
|
|
"amount_due": 0,
|
|
"amount_paid": 0,
|
|
"amount_remaining": 0,
|
|
"amount_shipping": 0,
|
|
"application": null,
|
|
"application_fee_amount": null,
|
|
"attempt_count": 0,
|
|
"attempted": true,
|
|
"auto_advance": false,
|
|
"automatic_tax": {
|
|
"enabled": false,
|
|
"status": null
|
|
},
|
|
"billing_reason": "subscription_create",
|
|
"charge": null,
|
|
"collection_method": "charge_automatically",
|
|
"created": 1695910505,
|
|
"currency": "usd",
|
|
"custom_fields": [
|
|
{
|
|
"name": "Organization",
|
|
"value": "teams 2023 monthly - 2"
|
|
}
|
|
],
|
|
"customer": "cus_OimYrxnMTMMK1E",
|
|
"customer_address": {
|
|
"city": null,
|
|
"country": "US",
|
|
"line1": "",
|
|
"line2": null,
|
|
"postal_code": "12345",
|
|
"state": null
|
|
},
|
|
"customer_email": "cturnbull@bitwarden.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,
|
|
"discount": null,
|
|
"discounts": [
|
|
],
|
|
"due_date": null,
|
|
"effective_at": 1695910505,
|
|
"ending_balance": 0,
|
|
"footer": null,
|
|
"from_invoice": null,
|
|
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_19smIXIGBnsLynRr/test_YWNjdF8xOXNtSVhJR0Juc0x5blJyLF9PaW1ZVlo4dFRtbkNQQVY5aHNpckQxN1QzRHBPcVBOLDg2NDUxMzA30200etYRHca2?s=ap",
|
|
"invoice_pdf": "https://pay.stripe.com/invoice/acct_19smIXIGBnsLynRr/test_YWNjdF8xOXNtSVhJR0Juc0x5blJyLF9PaW1ZVlo4dFRtbkNQQVY5aHNpckQxN1QzRHBPcVBOLDg2NDUxMzA30200etYRHca2/pdf?s=ap",
|
|
"last_finalization_error": null,
|
|
"latest_revision": null,
|
|
"lines": {
|
|
"object": "list",
|
|
"data": [
|
|
{
|
|
"id": "il_1NvKzdIGBnsLynRr2pS4ZA8e",
|
|
"object": "line_item",
|
|
"amount": 0,
|
|
"amount_excluding_tax": 0,
|
|
"currency": "usd",
|
|
"description": "Trial period for Teams Organization Seat",
|
|
"discount_amounts": [
|
|
],
|
|
"discountable": true,
|
|
"discounts": [
|
|
],
|
|
"livemode": false,
|
|
"metadata": {
|
|
"organizationId": "3fbc84ce-102d-4919-b89b-b08b00ead71a"
|
|
},
|
|
"period": {
|
|
"end": 1696515305,
|
|
"start": 1695910505
|
|
},
|
|
"plan": {
|
|
"id": "2020-teams-org-seat-monthly",
|
|
"object": "plan",
|
|
"active": true,
|
|
"aggregate_usage": null,
|
|
"amount": 400,
|
|
"amount_decimal": "400",
|
|
"billing_scheme": "per_unit",
|
|
"created": 1595263113,
|
|
"currency": "usd",
|
|
"interval": "month",
|
|
"interval_count": 1,
|
|
"livemode": false,
|
|
"metadata": {
|
|
},
|
|
"nickname": "Teams Organization Seat (Monthly) 2023",
|
|
"product": "prod_HgOooYXDr2DDAA",
|
|
"tiers_mode": null,
|
|
"transform_usage": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"price": {
|
|
"id": "2020-teams-org-seat-monthly",
|
|
"object": "price",
|
|
"active": true,
|
|
"billing_scheme": "per_unit",
|
|
"created": 1595263113,
|
|
"currency": "usd",
|
|
"custom_unit_amount": null,
|
|
"livemode": false,
|
|
"lookup_key": null,
|
|
"metadata": {
|
|
},
|
|
"nickname": "Teams Organization Seat (Monthly) 2023",
|
|
"product": "prod_HgOooYXDr2DDAA",
|
|
"recurring": {
|
|
"aggregate_usage": null,
|
|
"interval": "month",
|
|
"interval_count": 1,
|
|
"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"
|
|
},
|
|
"proration": false,
|
|
"proration_details": {
|
|
"credited_items": null
|
|
},
|
|
"quantity": 1,
|
|
"subscription": "sub_1NvKzdIGBnsLynRrKIHQamZc",
|
|
"subscription_item": "si_OimYNSbvuqdtTr",
|
|
"tax_amounts": [
|
|
],
|
|
"tax_rates": [
|
|
],
|
|
"type": "subscription",
|
|
"unit_amount_excluding_tax": "0"
|
|
}
|
|
],
|
|
"has_more": false,
|
|
"total_count": 1,
|
|
"url": "/v1/invoices/in_1NvKzdIGBnsLynRr8fE8cpbg/lines"
|
|
},
|
|
"livemode": false,
|
|
"metadata": {
|
|
},
|
|
"next_payment_attempt": null,
|
|
"number": "3E96D078-0001",
|
|
"on_behalf_of": null,
|
|
"paid": true,
|
|
"paid_out_of_band": false,
|
|
"payment_intent": null,
|
|
"payment_settings": {
|
|
"default_mandate": null,
|
|
"payment_method_options": null,
|
|
"payment_method_types": null
|
|
},
|
|
"period_end": 1695910505,
|
|
"period_start": 1695910505,
|
|
"post_payment_credit_notes_amount": 0,
|
|
"pre_payment_credit_notes_amount": 0,
|
|
"quote": null,
|
|
"receipt_number": null,
|
|
"rendering": null,
|
|
"rendering_options": null,
|
|
"shipping_cost": null,
|
|
"shipping_details": null,
|
|
"starting_balance": 0,
|
|
"statement_descriptor": null,
|
|
"status": "paid",
|
|
"status_transitions": {
|
|
"finalized_at": 1695910505,
|
|
"marked_uncollectible_at": null,
|
|
"paid_at": 1695910505,
|
|
"voided_at": null
|
|
},
|
|
"subscription": "sub_1NvKzdIGBnsLynRrKIHQamZc",
|
|
"subscription_details": {
|
|
"metadata": {
|
|
"organizationId": "3fbc84ce-102d-4919-b89b-b08b00ead71a"
|
|
}
|
|
},
|
|
"subtotal": 0,
|
|
"subtotal_excluding_tax": 0,
|
|
"tax": null,
|
|
"test_clock": null,
|
|
"total": 0,
|
|
"total_discount_amounts": [
|
|
],
|
|
"total_excluding_tax": 0,
|
|
"total_tax_amounts": [
|
|
],
|
|
"transfer_data": null,
|
|
"webhooks_delivered_at": null
|
|
}
|
|
},
|
|
"livemode": false,
|
|
"pending_webhooks": 8,
|
|
"request": {
|
|
"id": "req_roIwONfgyfZdr4",
|
|
"idempotency_key": "dd2a171b-b9c7-4d2d-89d5-1ceae3c0595d"
|
|
},
|
|
"type": "invoice.created"
|
|
}
|