Created
July 29, 2018 23:21
-
-
Save cormickjbrowne/9aa5052ddb30fdef917d37b399dc735e to your computer and use it in GitHub Desktop.
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
{ | |
"id": "cus_CzkIyiPxFiW6tn", | |
"object": "customer", | |
"account_balance": 0, | |
"created": 1528226834, | |
"currency": "usd", | |
"default_source": "src_1CZkzHJBHYkmhNPdbuQ9nJ44", | |
"delinquent": false, | |
"description": null, | |
"discount": null, | |
"email": "bob@gmail.com", | |
"invoice_prefix": "11E09A4", | |
"livemode": false, | |
"metadata": { | |
}, | |
"shipping": null, | |
"sources": { | |
"object": "list", | |
"data": [ | |
{ | |
"id": "src_1CZkzHJBHYkmhNPdbuQ9nJ44", | |
"object": "source", | |
"amount": null, | |
"card": { | |
"exp_month": 12, | |
"exp_year": 2034, | |
"address_zip_check": "pass", | |
"brand": "Visa", | |
"card_automatically_updated": false, | |
"country": "US", | |
"cvc_check": "pass", | |
"fingerprint": "vngPM5Obd4hStoSO", | |
"funding": "credit", | |
"last4": "4242", | |
"three_d_secure": "optional", | |
"name": null, | |
"address_line1_check": null, | |
"tokenization_method": null, | |
"dynamic_last4": null | |
}, | |
"client_secret": "src_client_secret_CzkUepf64BTmWV1vOn3iXXJf", | |
"created": 1528227515, | |
"currency": null, | |
"customer": "cus_CzkIyiPxFiW6tn", | |
"flow": "none", | |
"livemode": false, | |
"metadata": { | |
}, | |
"owner": { | |
"address": { | |
"city": null, | |
"country": null, | |
"line1": null, | |
"line2": null, | |
"postal_code": "12312", | |
"state": null | |
}, | |
"email": null, | |
"name": null, | |
"phone": null, | |
"verified_address": null, | |
"verified_email": null, | |
"verified_name": null, | |
"verified_phone": null | |
}, | |
"statement_descriptor": null, | |
"status": "chargeable", | |
"type": "card", | |
"usage": "reusable" | |
} | |
], | |
"has_more": false, | |
"total_count": 1, | |
"url": "/v1/customers/cus_CzkIyiPxFiW6tn/sources" | |
}, | |
"subscriptions": { | |
"object": "list", | |
"data": [ | |
{ | |
"id": "sub_DK2Afu4KNI77y9", | |
"object": "subscription", | |
"application_fee_percent": null, | |
"billing": "charge_automatically", | |
"billing_cycle_anchor": 1532906063, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"created": 1532906063, | |
"current_period_end": 1535584463, | |
"current_period_start": 1532906063, | |
"customer": "cus_CzkIyiPxFiW6tn", | |
"days_until_due": null, | |
"discount": null, | |
"ended_at": null, | |
"items": { | |
"object": "list", | |
"data": [ | |
{ | |
"id": "si_DK2AyVtAeDlRZL", | |
"object": "subscription_item", | |
"created": 1532906063, | |
"metadata": { | |
}, | |
"plan": { | |
"id": "plan_CbcHjE3AmuzPLv", | |
"object": "plan", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 1000, | |
"billing_scheme": "per_unit", | |
"created": 1522661626, | |
"currency": "usd", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": { | |
}, | |
"nickname": "Individual Plan", | |
"product": "prod_CbcH6hIF6kxTFT", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"quantity": 1, | |
"subscription": "sub_DK2Afu4KNI77y9" | |
} | |
], | |
"has_more": false, | |
"total_count": 1, | |
"url": "/v1/subscription_items?subscription=sub_DK2Afu4KNI77y9" | |
}, | |
"livemode": false, | |
"metadata": { | |
}, | |
"plan": { | |
"id": "plan_CbcHjE3AmuzPLv", | |
"object": "plan", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 1000, | |
"billing_scheme": "per_unit", | |
"created": 1522661626, | |
"currency": "usd", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": { | |
}, | |
"nickname": "Individual Plan", | |
"product": "prod_CbcH6hIF6kxTFT", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "licensed" | |
}, | |
"quantity": 1, | |
"start": 1532906063, | |
"status": "active", | |
"tax_percent": null, | |
"trial_end": null, | |
"trial_start": null | |
} | |
], | |
"has_more": false, | |
"total_count": 1, | |
"url": "/v1/customers/cus_CzkIyiPxFiW6tn/subscriptions" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment