Skip to content

Instantly share code, notes, and snippets.

@reacuna
Created June 24, 2020 23:45
Show Gist options
  • Save reacuna/d321057b9c6b5a953edd2dafeb191513 to your computer and use it in GitHub Desktop.
Save reacuna/d321057b9c6b5a953edd2dafeb191513 to your computer and use it in GitHub Desktop.
{ id: 'sub_HWlmmt7y1cgiPA',
object: 'subscription',
application_fee_percent: null,
billing_cycle_anchor: 1593042184,
billing_thresholds: null,
cancel_at: null,
cancel_at_period_end: false,
canceled_at: null,
collection_method: 'charge_automatically',
created: 1593042184,
current_period_end: 1595634184,
current_period_start: 1593042184,
customer: 'cus_HWlmp2Znj3o344',
days_until_due: null,
default_payment_method: null,
default_source: null,
default_tax_rates: [],
discount: null,
ended_at: null,
items:
{ object: 'list',
data: [ [Object], [Object] ],
has_more: false,
total_count: 2,
url: '/v1/subscription_items?subscription=sub_HWlmmt7y1cgiPA' },
latest_invoice: 'in_1GxiFBAp5DSyFUHyFOFmBgx4',
livemode: false,
metadata:
{ group_id: 'rygGSDb0I',
drive_id: '528a3540-d637-4859-85ee-484a110accb8' },
next_pending_invoice_item_invoice: null,
pause_collection: null,
pending_invoice_item_interval: null,
pending_setup_intent: null,
pending_update: null,
plan: null,
quantity: null,
schedule: 'sub_sched_1GxiFKAp5DSyFUHyj0tD1UzY',
start_date: 1593042184,
status: 'active',
tax_percent: 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