Created
May 11, 2022 15:25
-
-
Save Eragoo/45c43b3c23a3e60f42eab0d94a32c928 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"application_fee_percent": null, | |
"automatic_tax": { | |
"enabled": false | |
}, | |
"billing_cycle_anchor": 1652282579, | |
"billing_thresholds": null, | |
"cancel_at": null, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"collection_method": "charge_automatically", | |
"created": 1652282579, | |
"current_period_end": 1654960979, | |
"current_period_start": 1652282579, | |
"customer": "cus_LfccRUe4cTqukX", | |
"days_until_due": null, | |
"default_payment_method": null, | |
"default_source": null, | |
"default_tax_rates": [], | |
"discount": null, | |
"ended_at": null, | |
"id": "sub_1KyHNPAk8RpYDz1WaKXZRUB0", | |
"items": { | |
"object": "list", | |
"data": [ | |
{ | |
"billing_thresholds": null, | |
"created": 1652282579, | |
"deleted": null, | |
"id": "si_Lfcc0JgvjBa73O", | |
"metadata": {}, | |
"object": "subscription_item", | |
"plan": { | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 11, | |
"amount_decimal": 11, | |
"billing_scheme": "per_unit", | |
"created": 1649227679, | |
"currency": "usd", | |
"deleted": null, | |
"id": "price_1KlSepAk8RpYDz1WCvo7xjgX", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"nickname": null, | |
"object": "plan", | |
"product": "prod_LSNPzZR9B7o47u", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"price": { | |
"active": true, | |
"billing_scheme": "per_unit", | |
"created": 1649227679, | |
"currency": "usd", | |
"deleted": null, | |
"id": "price_1KlSepAk8RpYDz1WCvo7xjgX", | |
"livemode": false, | |
"lookup_key": null, | |
"metadata": {}, | |
"nickname": null, | |
"object": "price", | |
"product": "prod_LSNPzZR9B7o47u", | |
"recurring": { | |
"aggregate_usage": null, | |
"interval": "month", | |
"interval_count": 1, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"tax_behavior": "unspecified", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_quantity": null, | |
"type": "recurring", | |
"unit_amount": 11, | |
"unit_amount_decimal": 11 | |
}, | |
"quantity": 1, | |
"subscription": "sub_1KyHNPAk8RpYDz1WaKXZRUB0", | |
"tax_rates": [] | |
} | |
], | |
"has_more": false, | |
"url": "/v1/subscription_items?subscription\u003dsub_1KyHNPAk8RpYDz1WaKXZRUB0", | |
"request_params": null | |
}, | |
"latest_invoice": { | |
"account_country": "US", | |
"account_name": "coincheckerproj.herokuapp", | |
"account_tax_ids": null, | |
"amount_due": 0, | |
"amount_paid": 0, | |
"amount_remaining": 0, | |
"application_fee_amount": null, | |
"attempt_count": 0, | |
"attempted": true, | |
"auto_advance": false, | |
"automatic_tax": { | |
"enabled": false, | |
"status": null | |
}, | |
"billing_reason": "subscription_create", | |
"charge": null, | |
"collection_method": "charge_automatically", | |
"created": 1652282579, | |
"currency": "usd", | |
"customer": "cus_LfccRUe4cTqukX", | |
"customer_address": null, | |
"customer_email": "[email protected]", | |
"customer_name": "aaaa aaaa", | |
"customer_phone": null, | |
"customer_shipping": null, | |
"customer_tax_exempt": "none", | |
"customer_tax_ids": [], | |
"custom_fields": null, | |
"default_payment_method": null, | |
"default_source": null, | |
"default_tax_rates": [], | |
"deleted": null, | |
"description": null, | |
"discount": null, | |
"discounts": [], | |
"due_date": null, | |
"ending_balance": 11, | |
"footer": null, | |
"hosted_invoice_url": "https://invoice.stripe.com/i/acct_1KWKCPAk8RpYDz1W/test_YWNjdF8xS1dLQ1BBazhScFlEejFXLF9MZmNjWk1sTlNlU2w3MGVsSGQ1dGhBd2NuYXRNUmhVLDQyODIzMzgw02002rsumS3E?s\u003dap", | |
"id": "in_1KyHNPAk8RpYDz1W68rvisiW", | |
"invoice_pdf": "https://pay.stripe.com/invoice/acct_1KWKCPAk8RpYDz1W/test_YWNjdF8xS1dLQ1BBazhScFlEejFXLF9MZmNjWk1sTlNlU2w3MGVsSGQ1dGhBd2NuYXRNUmhVLDQyODIzMzgw02002rsumS3E/pdf?s\u003dap", | |
"last_finalization_error": null, | |
"lines": { | |
"object": "list", | |
"data": [ | |
{ | |
"amount": 11, | |
"currency": "usd", | |
"description": "1 × Personal plan (at $0.11 / month)", | |
"discountable": true, | |
"discount_amounts": [], | |
"discounts": [], | |
"id": "il_1KyHNPAk8RpYDz1WbmC8BPvm", | |
"invoice_item": null, | |
"livemode": false, | |
"metadata": {}, | |
"object": "line_item", | |
"period": { | |
"end": 1654960979, | |
"start": 1652282579 | |
}, | |
"plan": { | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 11, | |
"amount_decimal": 11, | |
"billing_scheme": "per_unit", | |
"created": 1649227679, | |
"currency": "usd", | |
"deleted": null, | |
"id": "price_1KlSepAk8RpYDz1WCvo7xjgX", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"nickname": null, | |
"object": "plan", | |
"product": "prod_LSNPzZR9B7o47u", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"price": { | |
"active": true, | |
"billing_scheme": "per_unit", | |
"created": 1649227679, | |
"currency": "usd", | |
"deleted": null, | |
"id": "price_1KlSepAk8RpYDz1WCvo7xjgX", | |
"livemode": false, | |
"lookup_key": null, | |
"metadata": {}, | |
"nickname": null, | |
"object": "price", | |
"product": "prod_LSNPzZR9B7o47u", | |
"recurring": { | |
"aggregate_usage": null, | |
"interval": "month", | |
"interval_count": 1, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"tax_behavior": "unspecified", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_quantity": null, | |
"type": "recurring", | |
"unit_amount": 11, | |
"unit_amount_decimal": 11 | |
}, | |
"proration": false, | |
"proration_details": { | |
"credited_items": null | |
}, | |
"quantity": 1, | |
"subscription": "sub_1KyHNPAk8RpYDz1WaKXZRUB0", | |
"subscription_item": "si_Lfcc0JgvjBa73O", | |
"tax_amounts": [], | |
"tax_rates": [], | |
"type": "subscription" | |
} | |
], | |
"has_more": false, | |
"url": "/v1/invoices/in_1KyHNPAk8RpYDz1W68rvisiW/lines", | |
"request_params": null | |
}, | |
"livemode": false, | |
"metadata": {}, | |
"next_payment_attempt": null, | |
"number": "FD3FE248-0001", | |
"object": "invoice", | |
"on_behalf_of": null, | |
"paid": true, | |
"paid_out_of_band": false, | |
"payment_intent": null, | |
"payment_settings": { | |
"payment_method_options": null, | |
"payment_method_types": null | |
}, | |
"period_end": 1652282579, | |
"period_start": 1652282579, | |
"post_payment_credit_notes_amount": 0, | |
"pre_payment_credit_notes_amount": 0, | |
"quote": null, | |
"receipt_number": null, | |
"starting_balance": 0, | |
"statement_descriptor": null, | |
"status": "paid", | |
"status_transitions": { | |
"finalized_at": 1652282579, | |
"marked_uncollectible_at": null, | |
"paid_at": 1652282579, | |
"voided_at": null | |
}, | |
"subscription": "sub_1KyHNPAk8RpYDz1WaKXZRUB0", | |
"subscription_proration_date": null, | |
"subtotal": 11, | |
"tax": null, | |
"test_clock": null, | |
"threshold_reason": null, | |
"total": 11, | |
"total_discount_amounts": [], | |
"total_tax_amounts": [], | |
"transfer_data": null, | |
"webhooks_delivered_at": null | |
}, | |
"livemode": false, | |
"metadata": {}, | |
"next_pending_invoice_item_invoice": null, | |
"object": "subscription", | |
"pause_collection": null, | |
"payment_settings": { | |
"payment_method_options": null, | |
"payment_method_types": null | |
}, | |
"pending_invoice_item_interval": null, | |
"pending_setup_intent": "seti_1KyHNPAk8RpYDz1WzMsOHVsl", | |
"pending_update": null, | |
"schedule": null, | |
"start_date": 1652282579, | |
"status": "active", | |
"test_clock": null, | |
"transfer_data": null, | |
"trial_end": null, | |
"trial_start": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment