Created
January 19, 2024 06:17
-
-
Save abbood/2deab81e58e21e1713a1c7fc8bb0ef29 to your computer and use it in GitHub Desktop.
{{chargebeeDomain}}/api/v2/subscriptions?customer_id[is]={{chargbeeCustomerId}}
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
{ | |
"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": "[email protected]", | |
"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