Created
October 21, 2020 19:57
-
-
Save chanakaDe/3f70f5617cb892c037e0871cb1d2976e to your computer and use it in GitHub Desktop.
success.json
This file contains 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
{ | |
"type": "success", | |
"code": 200, | |
"error": null, | |
"subscription": { | |
"id": "sub_I6zh3R7vOeO31z", | |
"object": "subscription", | |
"application_fee_percent": null, | |
"billing_cycle_anchor": 1605987291, | |
"billing_thresholds": null, | |
"cancel_at": null, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"collection_method": "charge_automatically", | |
"created": 1601397009, | |
"current_period_end": 1605987291, | |
"current_period_start": 1603308891, | |
"customer": "cus_I6zhGPvDRZETAx", | |
"days_until_due": null, | |
"default_payment_method": null, | |
"default_source": null, | |
"default_tax_rates": [], | |
"discount": null, | |
"ended_at": null, | |
"items": { | |
"object": "list", | |
"data": [ | |
{ | |
"id": "si_I6zhdoGnFQNipb", | |
"object": "subscription_item", | |
"billing_thresholds": null, | |
"created": 1601397010, | |
"metadata": {}, | |
"plan": { | |
"id": "price_1H9tBXBkM3dAaKZO3T3xsHQr", | |
"object": "plan", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 3000, | |
"amount_decimal": "3000", | |
"billing_scheme": "per_unit", | |
"created": 1595944179, | |
"currency": "usd", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": { | |
"item_price": "25", | |
"shipping": "5", | |
"offer": "\"\"" | |
}, | |
"nickname": null, | |
"product": "prod_HjLtT3OZxozJJ9", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"price": { | |
"id": "price_1H9tBXBkM3dAaKZO3T3xsHQr", | |
"object": "price", | |
"active": true, | |
"billing_scheme": "per_unit", | |
"created": 1595944179, | |
"currency": "usd", | |
"livemode": false, | |
"lookup_key": null, | |
"metadata": { | |
"item_price": "25", | |
"shipping": "5", | |
"offer": "\"\"" | |
}, | |
"nickname": null, | |
"product": "prod_HjLtT3OZxozJJ9", | |
"recurring": { | |
"aggregate_usage": null, | |
"interval": "month", | |
"interval_count": 1, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"tiers_mode": null, | |
"transform_quantity": null, | |
"type": "recurring", | |
"unit_amount": 3000, | |
"unit_amount_decimal": "3000" | |
}, | |
"quantity": 1, | |
"subscription": "sub_I6zh3R7vOeO31z", | |
"tax_rates": [] | |
} | |
], | |
"has_more": false, | |
"total_count": 1, | |
"url": "/v1/subscription_items?subscription=sub_I6zh3R7vOeO31z" | |
}, | |
"latest_invoice": "in_1Hen5DBkM3dAaKZOKdYhQ2j1", | |
"livemode": false, | |
"metadata": { | |
"Address Type": "Shipping Address", | |
"street_address": "12716 Margit", | |
"city": "Austin", | |
"state": "TX", | |
"zip_code": "78729" | |
}, | |
"next_pending_invoice_item_invoice": null, | |
"pause_collection": null, | |
"pending_invoice_item_interval": null, | |
"pending_setup_intent": null, | |
"pending_update": null, | |
"plan": { | |
"id": "price_1H9tBXBkM3dAaKZO3T3xsHQr", | |
"object": "plan", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 3000, | |
"amount_decimal": "3000", | |
"billing_scheme": "per_unit", | |
"created": 1595944179, | |
"currency": "usd", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": { | |
"item_price": "25", | |
"shipping": "5", | |
"offer": "\"\"" | |
}, | |
"nickname": null, | |
"product": "prod_HjLtT3OZxozJJ9", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"quantity": 1, | |
"schedule": null, | |
"start_date": 1601397009, | |
"status": "trialing", | |
"tax_percent": null, | |
"transfer_data": null, | |
"trial_end": 1605987291, | |
"trial_start": 1603308891 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment