Skip to content

Instantly share code, notes, and snippets.

@abbood
Created January 19, 2024 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abbood/b5673688a8948ca57c6c05718c8dc60b to your computer and use it in GitHub Desktop.
Save abbood/b5673688a8948ca57c6c05718c8dc60b to your computer and use it in GitHub Desktop.
{
"list": [
{
"subscription": {
"id": "169uU9TvVIss979N1",
"billing_period": 1,
"billing_period_unit": "month",
"customer_id": "169lhYTvVIsiD75s4",
"status": "active",
"current_term_start": 1705159370,
"current_term_end": 1707837770,
"next_billing_at": 1707837770,
"created_at": 1699888970,
"started_at": 1699888970,
"activated_at": 1699888970,
"updated_at": 1705159377,
"has_scheduled_changes": false,
"channel": "web",
"resource_version": 1705159377510,
"deleted": false,
"object": "subscription",
"currency_code": "USD",
"subscription_items": [
{
"item_price_id": "basic-fee-waived-USD-Monthly",
"item_type": "plan",
"quantity": 1,
"unit_price": 0,
"amount": 0,
"free_quantity": 0,
"object": "subscription_item"
}
],
"due_invoices_count": 0,
"mrr": 0,
"exchange_rate": 1.0,
"base_currency_code": "USD",
"has_scheduled_advance_invoices": false
},
"customer": {
"id": "169lhYTvVIsiD75s4",
"email": "bakhachtester1515@gmail.com",
"auto_collection": "on",
"net_term_days": 0,
"allow_direct_debit": false,
"created_at": 1699888969,
"taxability": "taxable",
"updated_at": 1699888970,
"pii_cleared": "active",
"channel": "web",
"resource_version": 1699888970007,
"deleted": false,
"object": "customer",
"card_status": "no_card",
"promotional_credits": 0,
"refundable_credits": 0,
"excess_payments": 0,
"unbilled_charges": 0,
"preferred_currency_code": "USD",
"mrr": 0,
"tax_providers_fields": []
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment