requirements: Upgrade stripe pip package from 2.21.0 to 2.35.0.

This commit is contained in:
Vishnu Ks
2019-08-19 08:47:22 +00:00
committed by Rishi Gupta
parent 6c8d837401
commit d472d30c28
109 changed files with 1426 additions and 46 deletions

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000002",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000002",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null
@@ -151,6 +153,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -204,6 +207,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": "card_NORMALIZED00000000000002", "default_source": "card_NORMALIZED00000000000002",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -64,6 +78,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -78,8 +94,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -95,6 +114,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -64,6 +78,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -78,8 +94,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -95,9 +114,12 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
}, },
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -108,11 +130,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -141,6 +173,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -161,6 +195,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -175,8 +211,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -192,6 +231,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -7200 "unit_amount": -7200
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 1200 "unit_amount": 1200
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -36000 "unit_amount": -36000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 6000 "unit_amount": 6000
} }

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -48000 "unit_amount": -48000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": null, "default_source": null,
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [], "data": [],
@@ -34,6 +40,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 100, "amount_due": 100,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 100, "amount_remaining": 100,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 100, "total": 100,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96B0Gh0CmXqmnwFFVAGxWQ",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 100, "amount_due": 100,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 100, "amount_remaining": 100,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96B2Gh0CmXqmnwZLKqLOFy",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 100, "total": 100,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 100, "amount_due": 100,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 100, "amount_remaining": 100,
@@ -11,11 +13,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96B2Gh0CmXqmnwZLKqLOFy",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -75,9 +92,12 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 100, "total": 100,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
}, },
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -88,11 +108,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "send_invoice",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -121,6 +151,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -135,8 +167,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96B0Gh0CmXqmnwFFVAGxWQ",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -152,6 +187,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 100 "unit_amount": 100
} }

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 80697, "amount_due": 80697,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 80697, "amount_remaining": 80697,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 7, "quantity": 7,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -82,6 +98,8 @@
"proration": false, "proration": false,
"quantity": 3, "quantity": 3,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -96,8 +114,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -113,5 +134,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 80697, "total": 80697,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 80697, "amount_due": 80697,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 80697, "amount_remaining": 80697,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 7, "quantity": 7,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -82,6 +98,8 @@
"proration": false, "proration": false,
"quantity": 3, "quantity": 3,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -96,8 +114,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BCGh0CmXqmnwfafGafrD",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -113,5 +134,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 80697, "total": 80697,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 80697, "amount_due": 80697,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 80697, "amount_remaining": 80697,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -64,6 +78,8 @@
"proration": false, "proration": false,
"quantity": 7, "quantity": 7,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -84,6 +100,8 @@
"proration": false, "proration": false,
"quantity": 3, "quantity": 3,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -98,8 +116,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BCGh0CmXqmnwfafGafrD",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -115,9 +136,12 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 80697, "total": 80697,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
}, },
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -128,11 +152,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -161,6 +195,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -181,6 +217,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -195,8 +233,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -212,6 +253,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -48000 "unit_amount": -48000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 3, "quantity": 3,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 5814 "unit_amount": 5814
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 7, "quantity": 7,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 7255 "unit_amount": 7255
} }

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": "card_NORMALIZED00000000000002", "default_source": "card_NORMALIZED00000000000002",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"default_source": "card_NORMALIZED00000000000003", "default_source": "card_NORMALIZED00000000000003",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 5000, "amount_remaining": 5000,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 5000, "amount_remaining": 5000,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 5000, "amount_remaining": 5000,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -75,6 +92,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 5000, "amount_remaining": 5000,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": "ch_NORMALIZED00000000000002", "charge": "ch_NORMALIZED00000000000002",
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -75,6 +92,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 5000, "amount_remaining": 5000,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": "ch_NORMALIZED00000000000002", "charge": "ch_NORMALIZED00000000000002",
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -75,6 +92,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 5000, "amount_paid": 5000,
"amount_remaining": 0, "amount_remaining": 0,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": "ch_NORMALIZED00000000000003", "charge": "ch_NORMALIZED00000000000003",
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -75,9 +92,12 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
}, },
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -88,11 +108,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -121,6 +151,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -141,6 +173,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -155,8 +189,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -172,6 +209,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 5000, "amount_due": 5000,
"amount_paid": 5000, "amount_paid": 5000,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": "ch_NORMALIZED00000000000003", "charge": "ch_NORMALIZED00000000000003",
"collection_method": "charge_automatically",
"created": 1000000000, "created": 1000000000,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0002", "number": "NORMALI-0002",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": "pi_1F96BhGh0CmXqmnwXdcsnxHY",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": null, "statement_descriptor": null,
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 5000, "total": 5000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -48000 "unit_amount": -48000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 5000 "unit_amount": 5000
} }

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000002, "created": 1010000002,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000002, "created": 1010000002,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000002, "created": 1010000002,
"currency": "usd", "currency": "usd",
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 0, "amount_due": 0,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 0, "amount_remaining": 0,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -64,6 +78,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -78,8 +94,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": true, "paid": true,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -95,6 +114,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 0, "total": 0,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -48000 "unit_amount": -48000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 6, "quantity": 6,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000002, "created": 1010000002,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000001", "default_source": "card_NORMALIZED00000000000001",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 136000, "amount_due": 136000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 136000, "amount_remaining": 136000,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": null, "due_date": null,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 23, "quantity": 23,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 136000, "total": 136000,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 136000, "amount_due": 136000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 136000, "amount_remaining": 136000,
@@ -9,11 +11,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 23, "quantity": 23,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -62,6 +76,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -76,8 +92,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96C9Gh0CmXqmnwJHj8MzD0",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -93,5 +112,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 136000, "total": 136000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 136000, "amount_due": 136000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 136000, "amount_remaining": 136000,
@@ -11,11 +13,21 @@
"billing": "charge_automatically", "billing": "charge_automatically",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"collection_method": "charge_automatically",
"created": 1010000003, "created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 23, "quantity": 23,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
}, },
{ {
@@ -64,6 +78,8 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -78,8 +94,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96C9Gh0CmXqmnwJHj8MzD0",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -95,6 +114,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 136000, "total": 136000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 1, "quantity": 1,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": -48000 "unit_amount": -48000
} }

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 23, "quantity": 23,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000001, "created": 1010000001,
"currency": null, "currency": null,
"default_source": null, "default_source": null,
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [], "data": [],
@@ -34,6 +40,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000001, "created": 1010000001,
"currency": "usd", "currency": "usd",
"default_source": null, "default_source": null,
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [], "data": [],
@@ -34,6 +40,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,8 +1,53 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1010000001, "created": 1010000001,
"currency": "usd", "currency": "usd",
"default_source": null, "default_source": {
"ach_credit_transfer": {
"account_number": "test_NORMALIZED01",
"bank_name": "TEST BANK",
"fingerprint": "NORMALIZED000001",
"refund_account_holder_name": null,
"refund_account_holder_type": null,
"refund_routing_number": null,
"routing_number": "110000000",
"swift_code": "TSTEZ122"
},
"amount": null,
"client_secret": "src_client_secret_NORMALIZED00000000000001",
"created": 1010000002,
"currency": "usd",
"customer": "cus_NORMALIZED0001",
"flow": "receiver",
"id": "src_NORMALIZED00000000000001",
"livemode": false,
"metadata": {},
"object": "source",
"owner": {
"address": null,
"email": "amount_0@stripe.com",
"name": null,
"phone": null,
"verified_address": null,
"verified_email": null,
"verified_name": null,
"verified_phone": null
},
"receiver": {
"address": "000000000-test_NORMALIZED01",
"amount_charged": 0,
"amount_received": 0,
"amount_returned": 0,
"refund_attributes_method": "email",
"refund_attributes_status": "missing"
},
"statement_descriptor": null,
"status": "pending",
"type": "ach_credit_transfer",
"usage": "reusable"
},
"delinquent": false, "delinquent": false,
"description": "zulip (Zulip Dev)", "description": "zulip (Zulip Dev)",
"discount": null, "discount": null,
@@ -11,20 +56,69 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [], "data": [
{
"ach_credit_transfer": {
"account_number": "test_NORMALIZED01",
"bank_name": "TEST BANK",
"fingerprint": "NORMALIZED000001",
"refund_account_holder_name": null,
"refund_account_holder_type": null,
"refund_routing_number": null,
"routing_number": "110000000",
"swift_code": "TSTEZ122"
},
"amount": null,
"client_secret": "src_client_secret_NORMALIZED00000000000001",
"created": 1010000002,
"currency": "usd",
"customer": "cus_NORMALIZED0001",
"flow": "receiver",
"id": "src_NORMALIZED00000000000001",
"livemode": false,
"metadata": {},
"object": "source",
"owner": {
"address": null,
"email": "amount_0@stripe.com",
"name": null,
"phone": null,
"verified_address": null,
"verified_email": null,
"verified_name": null,
"verified_phone": null
},
"receiver": {
"address": "000000000-test_NORMALIZED01",
"amount_charged": 0,
"amount_received": 0,
"amount_returned": 0,
"refund_attributes_method": "email",
"refund_attributes_status": "missing"
},
"statement_descriptor": null,
"status": "pending",
"type": "ach_credit_transfer",
"usage": "reusable"
}
],
"has_more": false, "has_more": false,
"object": "list", "object": "list",
"total_count": 0, "total_count": 1,
"url": "/v1/customers/cus_NORMALIZED0001/sources" "url": "/v1/customers/cus_NORMALIZED0001/sources"
}, },
"subscriptions": { "subscriptions": {
@@ -34,6 +128,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"created": 1010000001, "collection_method": "send_invoice",
"created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": null,
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": null "webhooks_delivered_at": null
} }

View File

@@ -1,4 +1,6 @@
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -9,11 +11,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"created": 1010000001, "collection_method": "send_invoice",
"created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -42,6 +54,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -56,8 +70,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96CFGh0CmXqmnw3mAhOlHc",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -73,5 +90,6 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }

View File

@@ -1,6 +1,8 @@
{ {
"data": [ "data": [
{ {
"account_country": "US",
"account_name": "Dev account",
"amount_due": 984000, "amount_due": 984000,
"amount_paid": 0, "amount_paid": 0,
"amount_remaining": 984000, "amount_remaining": 984000,
@@ -11,11 +13,21 @@
"billing": "send_invoice", "billing": "send_invoice",
"billing_reason": "manual", "billing_reason": "manual",
"charge": null, "charge": null,
"created": 1010000001, "collection_method": "send_invoice",
"created": 1010000003,
"currency": "usd", "currency": "usd",
"custom_fields": null, "custom_fields": null,
"customer": "cus_NORMALIZED0001", "customer": "cus_NORMALIZED0001",
"customer_address": null,
"customer_email": "hamlet@zulip.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_source": null,
"default_tax_rates": [],
"description": "", "description": "",
"discount": null, "discount": null,
"due_date": 1000000000, "due_date": 1000000000,
@@ -44,6 +56,8 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_amounts": [],
"tax_rates": [],
"type": "invoiceitem" "type": "invoiceitem"
} }
], ],
@@ -58,8 +72,11 @@
"number": "NORMALI-0001", "number": "NORMALI-0001",
"object": "invoice", "object": "invoice",
"paid": false, "paid": false,
"payment_intent": "pi_1F96CFGh0CmXqmnw3mAhOlHc",
"period_end": 1000000000, "period_end": 1000000000,
"period_start": 1000000000, "period_start": 1000000000,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"receipt_number": null, "receipt_number": null,
"starting_balance": 0, "starting_balance": 0,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
@@ -75,6 +92,7 @@
"tax": null, "tax": null,
"tax_percent": null, "tax_percent": null,
"total": 984000, "total": 984000,
"total_tax_amounts": [],
"webhooks_delivered_at": 1000000000 "webhooks_delivered_at": 1000000000
} }
], ],

View File

@@ -18,5 +18,6 @@
"proration": false, "proration": false,
"quantity": 123, "quantity": 123,
"subscription": null, "subscription": null,
"tax_rates": [],
"unit_amount": 8000 "unit_amount": 8000
} }

View File

@@ -14,7 +14,7 @@
"access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required", "access-control-expose-headers": "Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required",
"access-control-max-age": "300", "access-control-max-age": "300",
"cache-control": "no-cache, no-store", "cache-control": "no-cache, no-store",
"idempotency-key": "edb40202-cf54-4ca8-9999-9c4819b01e43", "idempotency-key": "00000000-0000-0000-0000-000000000000",
"original-request": "req_NORMALIZED0001", "original-request": "req_NORMALIZED0001",
"request-id": "req_NORMALIZED0001", "request-id": "req_NORMALIZED0001",
"stripe-version": "2019-03-14" "stripe-version": "2019-03-14"

View File

@@ -45,6 +45,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -104,6 +105,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": false, "paid": false,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000002",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "failed", "status": "failed",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -47,6 +47,7 @@
}, },
"paid": true, "paid": true,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000001",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -100,6 +101,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "succeeded", "status": "succeeded",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null
@@ -151,6 +153,7 @@
}, },
"paid": false, "paid": false,
"payment_intent": null, "payment_intent": null,
"payment_method": "card_NORMALIZED00000000000002",
"payment_method_details": { "payment_method_details": {
"card": { "card": {
"brand": "visa", "brand": "visa",
@@ -204,6 +207,7 @@
}, },
"source_transfer": null, "source_transfer": null,
"statement_descriptor": "Zulip Standard", "statement_descriptor": "Zulip Standard",
"statement_descriptor_suffix": "Zulip Standard",
"status": "failed", "status": "failed",
"transfer_data": null, "transfer_data": null,
"transfer_group": null "transfer_group": null

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": "card_NORMALIZED00000000000002", "default_source": "card_NORMALIZED00000000000002",
@@ -11,14 +13,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -60,6 +66,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

View File

@@ -1,5 +1,7 @@
{ {
"account_balance": 0, "account_balance": 0,
"address": null,
"balance": 0,
"created": 1000000000, "created": 1000000000,
"currency": null, "currency": null,
"default_source": { "default_source": {
@@ -35,14 +37,18 @@
"invoice_prefix": "NORMA01", "invoice_prefix": "NORMA01",
"invoice_settings": { "invoice_settings": {
"custom_fields": null, "custom_fields": null,
"default_payment_method": null,
"footer": null "footer": null
}, },
"livemode": false, "livemode": false,
"metadata": { "metadata": {
"realm_id": "2", "realm_id": "1",
"realm_str": "zulip" "realm_str": "zulip"
}, },
"name": null,
"object": "customer", "object": "customer",
"phone": null,
"preferred_locales": [],
"shipping": null, "shipping": null,
"sources": { "sources": {
"data": [ "data": [
@@ -84,6 +90,14 @@
"total_count": 0, "total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/subscriptions" "url": "/v1/customers/cus_NORMALIZED0001/subscriptions"
}, },
"tax_exempt": "none",
"tax_ids": {
"data": [],
"has_more": false,
"object": "list",
"total_count": 0,
"url": "/v1/customers/cus_NORMALIZED0001/tax_ids"
},
"tax_info": null, "tax_info": null,
"tax_info_verification": null "tax_info_verification": null
} }

Some files were not shown because too many files have changed in this diff Show More