mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
billing: Further normalize timestamps in tests.
Hopefully this will make it easier still to look at diffs with GENERATE_STRIPE_FIXTURES = True.
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1575321071
|
"start": 1000000005
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1575321071
|
"start": 1000000005
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1575321076
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1575321076
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": null,
|
"currency": null,
|
||||||
"default_source": "card_NORMALIZED00000000000001",
|
"default_source": "card_NORMALIZED00000000000001",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785080,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785081,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785081,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321081,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785081,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785082,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785081,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "0.0.0.0",
|
"client_ip": "0.0.0.0",
|
||||||
"created": 1543785080,
|
"created": 1000000005,
|
||||||
"id": "tok_NORMALIZED00000000000001",
|
"id": "tok_NORMALIZED00000000000001",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"object": "token",
|
"object": "token",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"currency": null,
|
"currency": null,
|
||||||
"default_source": "card_NORMALIZED00000000000001",
|
"default_source": "card_NORMALIZED00000000000001",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785086,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785088,
|
"start": 1000000006,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": -64000,
|
"account_balance": -64000,
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": -64000,
|
"account_balance": -64000,
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_NORMALIZED00000000000001",
|
"default_source": "card_NORMALIZED00000000000001",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"charge": null,
|
"charge": null,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"date": 1575321086,
|
"date": 1000000003,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@@ -30,15 +30,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321086,
|
"end": 1000000003,
|
||||||
"start": 1543785089
|
"start": 1000000007
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -71,15 +71,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321086,
|
"end": 1000000003,
|
||||||
"start": 1543785088
|
"start": 1000000006
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -112,15 +112,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321086,
|
"end": 1000000003,
|
||||||
"start": 1543785088
|
"start": 1000000006
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,15 +152,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1606943486,
|
"end": 1000000008,
|
||||||
"start": 1575321086
|
"start": 1000000003
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -190,19 +190,19 @@
|
|||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1575324686,
|
"next_payment_attempt": 1000000009,
|
||||||
"number": "NORMALI-0001",
|
"number": "NORMALI-0001",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"payment_intent": null,
|
"payment_intent": null,
|
||||||
"period_end": 1575321086,
|
"period_end": 1000000003,
|
||||||
"period_start": 1543785086,
|
"period_start": 1000000002,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
"status": "draft",
|
"status": "draft",
|
||||||
"subscription": "sub_NORMALIZED0001",
|
"subscription": "sub_NORMALIZED0001",
|
||||||
"subscription_proration_date": 1543785089,
|
"subscription_proration_date": 1000000007,
|
||||||
"subtotal": -64000,
|
"subtotal": -64000,
|
||||||
"tax": 0,
|
"tax": 0,
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785086,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,22 +1,22 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": 1543785090,
|
"canceled_at": 1000000010,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 1543785090,
|
"ended_at": 1000000010,
|
||||||
"id": "sub_NORMALIZED0001",
|
"id": "sub_NORMALIZED0001",
|
||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785088,
|
"start": 1000000006,
|
||||||
"status": "canceled",
|
"status": "canceled",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,22 +1,22 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": 1543785090,
|
"canceled_at": 1000000010,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 1543785090,
|
"ended_at": 1000000010,
|
||||||
"id": "sub_NORMALIZED0001",
|
"id": "sub_NORMALIZED0001",
|
||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785088,
|
"start": 1000000006,
|
||||||
"status": "canceled",
|
"status": "canceled",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785086,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785086,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321086,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785086,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785087,
|
"created": 1000000004,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785088,
|
"start": 1000000006,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "0.0.0.0",
|
"client_ip": "0.0.0.0",
|
||||||
"created": 1543785085,
|
"created": 1000000001,
|
||||||
"id": "tok_NORMALIZED00000000000001",
|
"id": "tok_NORMALIZED00000000000001",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"object": "token",
|
"object": "token",
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1543785096
|
"start": 1000000005
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1543785095
|
"start": 1000000006
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1575321093
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1000000000,
|
"end": 1000000000,
|
||||||
"start": 1543785095
|
"start": 1000000006
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785100,
|
"created": 1000000001,
|
||||||
"currency": null,
|
"currency": null,
|
||||||
"default_source": "card_NORMALIZED00000000000001",
|
"default_source": "card_NORMALIZED00000000000001",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785100,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785101,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785101,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321101,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785101,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785102,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785101,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785100,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785101,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785101,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321101,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785101,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785102,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785101,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"charge": null,
|
"charge": null,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"date": 1575321101,
|
"date": 1000000003,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@@ -29,15 +29,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1606943501,
|
"end": 1000000005,
|
||||||
"start": 1575321101
|
"start": 1000000003
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -67,13 +67,13 @@
|
|||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1575324701,
|
"next_payment_attempt": 1000000006,
|
||||||
"number": "NORMALI-0001",
|
"number": "NORMALI-0001",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"payment_intent": null,
|
"payment_intent": null,
|
||||||
"period_end": 1575321101,
|
"period_end": 1000000003,
|
||||||
"period_start": 1543785101,
|
"period_start": 1000000002,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785101,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785101,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321101,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785101,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785102,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785101,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "0.0.0.0",
|
"client_ip": "0.0.0.0",
|
||||||
"created": 1543785100,
|
"created": 1000000001,
|
||||||
"id": "tok_NORMALIZED00000000000001",
|
"id": "tok_NORMALIZED00000000000001",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"object": "token",
|
"object": "token",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"invoice_prefix": "NORMA02",
|
"invoice_prefix": "NORMA02",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "4",
|
"realm_id": "7",
|
||||||
"realm_str": "realm1"
|
"realm_str": "realm1"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"invoice_prefix": "NORMA03",
|
"invoice_prefix": "NORMA03",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "5",
|
"realm_id": "8",
|
||||||
"realm_str": "realm2"
|
"realm_str": "realm2"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"invoice_prefix": "NORMA02",
|
"invoice_prefix": "NORMA02",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "4",
|
"realm_id": "7",
|
||||||
"realm_str": "realm1"
|
"realm_str": "realm1"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"invoice_prefix": "NORMA02",
|
"invoice_prefix": "NORMA02",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "4",
|
"realm_id": "7",
|
||||||
"realm_str": "realm1"
|
"realm_str": "realm1"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"invoice_prefix": "NORMA03",
|
"invoice_prefix": "NORMA03",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "5",
|
"realm_id": "8",
|
||||||
"realm_str": "realm2"
|
"realm_str": "realm2"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"invoice_prefix": "NORMA03",
|
"invoice_prefix": "NORMA03",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "5",
|
"realm_id": "8",
|
||||||
"realm_str": "realm2"
|
"realm_str": "realm2"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"invoice_prefix": "NORMA02",
|
"invoice_prefix": "NORMA02",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "4",
|
"realm_id": "7",
|
||||||
"realm_str": "realm1"
|
"realm_str": "realm1"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"invoice_prefix": "NORMA03",
|
"invoice_prefix": "NORMA03",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"realm_id": "5",
|
"realm_id": "8",
|
||||||
"realm_str": "realm2"
|
"realm_str": "realm2"
|
||||||
},
|
},
|
||||||
"object": "customer",
|
"object": "customer",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"Connection": "keep-alive",
|
"Connection": "keep-alive",
|
||||||
"Content-Length": "235",
|
"Content-Length": "235",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Date": "Sun, NORMALIZED DATE 21:12:02 GMT",
|
"Date": "Mon, NORMALIZED DATE 20:52:40 GMT",
|
||||||
"Request-Id": "req_NORMALIZED0001",
|
"Request-Id": "req_NORMALIZED0001",
|
||||||
"Server": "nginx",
|
"Server": "nginx",
|
||||||
"Strict-Transport-Security": "max-age=31556926; includeSubDomains; preload",
|
"Strict-Transport-Security": "max-age=31556926; includeSubDomains; preload",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785123,
|
"created": 1000000001,
|
||||||
"currency": null,
|
"currency": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785123,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
@@ -28,12 +28,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "send_invoice",
|
"billing": "send_invoice",
|
||||||
"billing_cycle_anchor": 1543785123,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785123,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321123,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785123,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": 30,
|
"days_until_due": 30,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785124,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785123,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,52 +1,8 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785123,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": null,
|
||||||
"ach_credit_transfer": {
|
|
||||||
"account_number": "test_NORMALIZED02",
|
|
||||||
"bank_name": "TEST BANK",
|
|
||||||
"fingerprint": "NORMALIZED000001",
|
|
||||||
"refund_account_holder_name": null,
|
|
||||||
"refund_account_holder_type": null,
|
|
||||||
"refund_account_number": null,
|
|
||||||
"refund_routing_number": null,
|
|
||||||
"routing_number": "110000000",
|
|
||||||
"swift_code": "TSTEZ122"
|
|
||||||
},
|
|
||||||
"amount": null,
|
|
||||||
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
|
||||||
"created": 1543785125,
|
|
||||||
"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_NORMALIZED02",
|
|
||||||
"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,
|
||||||
@@ -61,56 +17,10 @@
|
|||||||
"object": "customer",
|
"object": "customer",
|
||||||
"shipping": null,
|
"shipping": null,
|
||||||
"sources": {
|
"sources": {
|
||||||
"data": [
|
"data": [],
|
||||||
{
|
|
||||||
"ach_credit_transfer": {
|
|
||||||
"account_number": "test_NORMALIZED02",
|
|
||||||
"bank_name": "TEST BANK",
|
|
||||||
"fingerprint": "NORMALIZED000001",
|
|
||||||
"refund_account_holder_name": null,
|
|
||||||
"refund_account_holder_type": null,
|
|
||||||
"refund_account_number": null,
|
|
||||||
"refund_routing_number": null,
|
|
||||||
"routing_number": "110000000",
|
|
||||||
"swift_code": "TSTEZ122"
|
|
||||||
},
|
|
||||||
"amount": null,
|
|
||||||
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
|
||||||
"created": 1543785125,
|
|
||||||
"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_NORMALIZED02",
|
|
||||||
"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": 1,
|
"total_count": 0,
|
||||||
"url": "/v1/customers/cus_NORMALIZED0001/sources"
|
"url": "/v1/customers/cus_NORMALIZED0001/sources"
|
||||||
},
|
},
|
||||||
"subscriptions": {
|
"subscriptions": {
|
||||||
@@ -118,12 +28,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "send_invoice",
|
"billing": "send_invoice",
|
||||||
"billing_cycle_anchor": 1543785123,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785123,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321123,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785123,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": 30,
|
"days_until_due": 30,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -133,7 +43,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785124,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -142,7 +52,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -175,7 +85,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -192,7 +102,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785125,
|
"start": 1000000005,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785123,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"ach_credit_transfer": {
|
"ach_credit_transfer": {
|
||||||
"account_number": "test_NORMALIZED02",
|
"account_number": "test_NORMALIZED01",
|
||||||
"bank_name": "TEST BANK",
|
"bank_name": "TEST BANK",
|
||||||
"fingerprint": "NORMALIZED000001",
|
"fingerprint": "NORMALIZED000001",
|
||||||
"refund_account_holder_name": null,
|
"refund_account_holder_name": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
"amount": null,
|
"amount": null,
|
||||||
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
||||||
"created": 1543785125,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"flow": "receiver",
|
"flow": "receiver",
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
"verified_phone": null
|
"verified_phone": null
|
||||||
},
|
},
|
||||||
"receiver": {
|
"receiver": {
|
||||||
"address": "000000000-test_NORMALIZED02",
|
"address": "000000000-test_NORMALIZED01",
|
||||||
"amount_charged": 0,
|
"amount_charged": 0,
|
||||||
"amount_received": 0,
|
"amount_received": 0,
|
||||||
"amount_returned": 0,
|
"amount_returned": 0,
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"ach_credit_transfer": {
|
"ach_credit_transfer": {
|
||||||
"account_number": "test_NORMALIZED02",
|
"account_number": "test_NORMALIZED01",
|
||||||
"bank_name": "TEST BANK",
|
"bank_name": "TEST BANK",
|
||||||
"fingerprint": "NORMALIZED000001",
|
"fingerprint": "NORMALIZED000001",
|
||||||
"refund_account_holder_name": null,
|
"refund_account_holder_name": null,
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
},
|
},
|
||||||
"amount": null,
|
"amount": null,
|
||||||
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
"client_secret": "src_client_secret_NORMALIZED00000000000001",
|
||||||
"created": 1543785125,
|
"created": 1000000005,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"flow": "receiver",
|
"flow": "receiver",
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
"verified_phone": null
|
"verified_phone": null
|
||||||
},
|
},
|
||||||
"receiver": {
|
"receiver": {
|
||||||
"address": "000000000-test_NORMALIZED02",
|
"address": "000000000-test_NORMALIZED01",
|
||||||
"amount_charged": 0,
|
"amount_charged": 0,
|
||||||
"amount_received": 0,
|
"amount_received": 0,
|
||||||
"amount_returned": 0,
|
"amount_returned": 0,
|
||||||
@@ -118,12 +118,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "send_invoice",
|
"billing": "send_invoice",
|
||||||
"billing_cycle_anchor": 1543785123,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785123,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321123,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785123,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": 30,
|
"days_until_due": 30,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785124,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785125,
|
"start": 1000000005,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
"charge": null,
|
"charge": null,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"date": 1543785123,
|
"date": 1000000002,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"due_date": 1546377123,
|
"due_date": 1000000006,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
"finalized_at": null,
|
"finalized_at": null,
|
||||||
"hosted_invoice_url": null,
|
"hosted_invoice_url": null,
|
||||||
@@ -35,15 +35,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321123,
|
"end": 1000000003,
|
||||||
"start": 1543785123
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"payment_intent": null,
|
"payment_intent": null,
|
||||||
"period_end": 1543785123,
|
"period_end": 1000000002,
|
||||||
"period_start": 1543785123,
|
"period_start": 1000000002,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
"tax": 0,
|
"tax": 0,
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"total": 984000,
|
"total": 984000,
|
||||||
"webhooks_delivered_at": 1543785124
|
"webhooks_delivered_at": 1000000002
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
"charge": null,
|
"charge": null,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"date": 1575321123,
|
"date": 1000000003,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"due_date": 1577913123,
|
"due_date": 1000000007,
|
||||||
"ending_balance": -856000,
|
"ending_balance": -856000,
|
||||||
"finalized_at": null,
|
"finalized_at": null,
|
||||||
"lines": {
|
"lines": {
|
||||||
@@ -30,15 +30,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321123,
|
"end": 1000000003,
|
||||||
"start": 1543785123
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -71,15 +71,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1575321123,
|
"end": 1000000003,
|
||||||
"start": 1543785123
|
"start": 1000000002
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -111,15 +111,15 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"period": {
|
"period": {
|
||||||
"end": 1606943523,
|
"end": 1000000008,
|
||||||
"start": 1575321123
|
"start": 1000000003
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -154,8 +154,8 @@
|
|||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"payment_intent": null,
|
"payment_intent": null,
|
||||||
"period_end": 1575321123,
|
"period_end": 1000000003,
|
||||||
"period_start": 1543785123,
|
"period_start": 1000000002,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "send_invoice",
|
"billing": "send_invoice",
|
||||||
"billing_cycle_anchor": 1543785123,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785123,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321123,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785123,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": 30,
|
"days_until_due": 30,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785124,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 123,
|
"quantity": 123,
|
||||||
"start": 1543785123,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "send_invoice",
|
"billing": "send_invoice",
|
||||||
"billing_cycle_anchor": 1543785123,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785123,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321123,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785123,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": 30,
|
"days_until_due": 30,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785124,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785125,
|
"start": 1000000005,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"Connection": "keep-alive",
|
"Connection": "keep-alive",
|
||||||
"Content-Length": "241",
|
"Content-Length": "241",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Date": "Sun, NORMALIZED DATE 21:12:09 GMT",
|
"Date": "Mon, NORMALIZED DATE 20:52:47 GMT",
|
||||||
"Request-Id": "req_NORMALIZED0001",
|
"Request-Id": "req_NORMALIZED0001",
|
||||||
"Server": "nginx",
|
"Server": "nginx",
|
||||||
"Strict-Transport-Security": "max-age=31556926; includeSubDomains; preload",
|
"Strict-Transport-Security": "max-age=31556926; includeSubDomains; preload",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785135,
|
"created": 1000000001,
|
||||||
"currency": null,
|
"currency": null,
|
||||||
"default_source": "card_NORMALIZED00000000000001",
|
"default_source": "card_NORMALIZED00000000000001",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1543785135,
|
"created": 1000000001,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": {
|
"default_source": {
|
||||||
"address_city": "Pacific",
|
"address_city": "Pacific",
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785135,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785135,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321135,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785135,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785136,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785135,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
"billing": "charge_automatically",
|
"billing": "charge_automatically",
|
||||||
"billing_cycle_anchor": 1543785135,
|
"billing_cycle_anchor": 1000000002,
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1543785135,
|
"created": 1000000002,
|
||||||
"current_period_end": 1575321135,
|
"current_period_end": 1000000003,
|
||||||
"current_period_start": 1543785135,
|
"current_period_start": 1000000002,
|
||||||
"customer": "cus_NORMALIZED0001",
|
"customer": "cus_NORMALIZED0001",
|
||||||
"days_until_due": null,
|
"days_until_due": null,
|
||||||
"default_source": null,
|
"default_source": null,
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"created": 1543785136,
|
"created": 1000000002,
|
||||||
"id": "si_NORMALIZED0001",
|
"id": "si_NORMALIZED0001",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"object": "subscription_item",
|
"object": "subscription_item",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"aggregate_usage": null,
|
"aggregate_usage": null,
|
||||||
"amount": 8000,
|
"amount": 8000,
|
||||||
"billing_scheme": "per_unit",
|
"billing_scheme": "per_unit",
|
||||||
"created": 1539831971,
|
"created": 1000000004,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"id": "plan_Do3xCvbzO89OsR",
|
"id": "plan_Do3xCvbzO89OsR",
|
||||||
"interval": "year",
|
"interval": "year",
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"usage_type": "licensed"
|
"usage_type": "licensed"
|
||||||
},
|
},
|
||||||
"quantity": 8,
|
"quantity": 8,
|
||||||
"start": 1543785135,
|
"start": 1000000002,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": 0.0,
|
"tax_percent": 0.0,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "0.0.0.0",
|
"client_ip": "0.0.0.0",
|
||||||
"created": 1543785134,
|
"created": 1000000001,
|
||||||
"id": "tok_NORMALIZED00000000000001",
|
"id": "tok_NORMALIZED00000000000001",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"object": "token",
|
"object": "token",
|
||||||
|
|||||||
@@ -129,6 +129,9 @@ def normalize_fixture_data(decorated_function: CallableT, keep: List[str]=[]) ->
|
|||||||
'"fingerprint": "[A-Za-z0-9]{16}"': '"fingerprint": "NORMALIZED%06d"',
|
'"fingerprint": "[A-Za-z0-9]{16}"': '"fingerprint": "NORMALIZED%06d"',
|
||||||
'"number": "[A-Za-z0-9]{7}-[A-Za-z0-9]{4}"': '"number": "NORMALI-%04d"',
|
'"number": "[A-Za-z0-9]{7}-[A-Za-z0-9]{4}"': '"number": "NORMALI-%04d"',
|
||||||
'"address": "[A-Za-z0-9]{9}-test_[A-Za-z0-9]{12}"': '"address": "000000000-test_NORMALIZED%02d"',
|
'"address": "[A-Za-z0-9]{9}-test_[A-Za-z0-9]{12}"': '"address": "000000000-test_NORMALIZED%02d"',
|
||||||
|
# Does not preserve relative ordering of the timestamps, nor any
|
||||||
|
# coordination with the timestamps in setUp mocks (e.g. Plan.created).
|
||||||
|
': (1[5-9][0-9]{8})(?![0-9-])': '1%09d',
|
||||||
})
|
})
|
||||||
|
|
||||||
normalized_values = {pattern: {}
|
normalized_values = {pattern: {}
|
||||||
@@ -147,8 +150,10 @@ def normalize_fixture_data(decorated_function: CallableT, keep: List[str]=[]) ->
|
|||||||
file_content = re.sub(r'[0-3]\d [A-Z][a-z]{2} 20[1-2]\d', 'NORMALIZED DATE', file_content)
|
file_content = re.sub(r'[0-3]\d [A-Z][a-z]{2} 20[1-2]\d', 'NORMALIZED DATE', file_content)
|
||||||
# IP addresses
|
# IP addresses
|
||||||
file_content = re.sub(r'"\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}"', '"0.0.0.0"', file_content)
|
file_content = re.sub(r'"\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}"', '"0.0.0.0"', file_content)
|
||||||
|
# Even normalized timestamps vary a lot run to run, so suppress
|
||||||
|
# timestamp differences entirely unless we explicitly ask to keep them
|
||||||
if "timestamps" not in keep:
|
if "timestamps" not in keep:
|
||||||
file_content = re.sub(r': 1[5-9][0-9]{8},', ': 1000000000,', file_content)
|
file_content = re.sub(r': 10000000\d{2}(?=[,$])', ': 1000000000', file_content)
|
||||||
|
|
||||||
with open(fixture_file, "w") as f:
|
with open(fixture_file, "w") as f:
|
||||||
f.write(file_content)
|
f.write(file_content)
|
||||||
|
|||||||
Reference in New Issue
Block a user