Created
September 1, 2020 18:04
-
-
Save rdarder/acd406b69006f0def6a131feede16cf0 to your computer and use it in GitHub Desktop.
Sample customer from /v1/customers
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": "some-string", | |
"object": "some-string", | |
"account_balance": 12345, | |
"address": null, | |
"balance": 12345, | |
"created": 12345, | |
"currency": "some-string", | |
"default_source": "some-string", | |
"delinquent": true, | |
"description": "some-string", | |
"discount": null, | |
"email": "some-string", | |
"invoice_prefix": "some-string", | |
"invoice_settings": { | |
"custom_fields": null, | |
"default_payment_method": null, | |
"footer": null | |
}, | |
"livemode": true, | |
"metadata": {}, | |
"name": null, | |
"next_invoice_sequence": 12345, | |
"phone": null, | |
"preferred_locales": [], | |
"shipping": null, | |
"sources": { | |
"object": "some-string", | |
"data": [ | |
{ | |
"id": "some-string", | |
"object": "some-string", | |
"address_city": null, | |
"address_country": null, | |
"address_line1": null, | |
"address_line1_check": null, | |
"address_line2": null, | |
"address_state": null, | |
"address_zip": null, | |
"address_zip_check": null, | |
"brand": "some-string", | |
"country": "some-string", | |
"customer": "some-string", | |
"cvc_check": "some-string", | |
"dynamic_last4": null, | |
"exp_month": 12345, | |
"exp_year": 12345, | |
"fingerprint": "some-string", | |
"funding": "some-string", | |
"last4": "some-string", | |
"metadata": {}, | |
"name": "some-string", | |
"tokenization_method": null | |
} | |
], | |
"has_more": true, | |
"total_count": 12345, | |
"url": "some-string" | |
}, | |
"subscriptions": { | |
"object": "some-string", | |
"data": [ | |
{ | |
"id": "some-string", | |
"object": "some-string", | |
"application_fee_percent": null, | |
"billing": "some-string", | |
"billing_cycle_anchor": 12345, | |
"billing_thresholds": null, | |
"cancel_at": null, | |
"cancel_at_period_end": true, | |
"canceled_at": null, | |
"collection_method": "some-string", | |
"created": 12345, | |
"current_period_end": 12345, | |
"current_period_start": 12345, | |
"customer": "some-string", | |
"days_until_due": null, | |
"default_payment_method": null, | |
"default_source": null, | |
"default_tax_rates": [], | |
"discount": null, | |
"ended_at": null, | |
"invoice_customer_balance_settings": { | |
"consume_applied_balance_on_void": true | |
}, | |
"items": { | |
"object": "some-string", | |
"data": [ | |
{ | |
"id": "some-string", | |
"object": "some-string", | |
"billing_thresholds": null, | |
"created": 12345, | |
"metadata": {}, | |
"plan": { | |
"id": "some-string", | |
"object": "some-string", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 12345, | |
"amount_decimal": "some-string", | |
"billing_scheme": "some-string", | |
"created": 12345, | |
"currency": "some-string", | |
"interval": "some-string", | |
"interval_count": 12345, | |
"livemode": true, | |
"metadata": {}, | |
"nickname": null, | |
"product": "some-string", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "some-string" | |
}, | |
"price": { | |
"id": "some-string", | |
"object": "some-string", | |
"active": true, | |
"billing_scheme": "some-string", | |
"created": 12345, | |
"currency": "some-string", | |
"livemode": true, | |
"lookup_key": null, | |
"metadata": {}, | |
"nickname": null, | |
"product": "some-string", | |
"recurring": { | |
"aggregate_usage": null, | |
"interval": "some-string", | |
"interval_count": 12345, | |
"trial_period_days": null, | |
"usage_type": "some-string" | |
}, | |
"tiers_mode": null, | |
"transform_quantity": null, | |
"type": "some-string", | |
"unit_amount": 12345, | |
"unit_amount_decimal": "some-string" | |
}, | |
"quantity": 12345, | |
"subscription": "some-string", | |
"tax_rates": [] | |
} | |
], | |
"has_more": true, | |
"total_count": 12345, | |
"url": "some-string" | |
}, | |
"latest_invoice": "some-string", | |
"livemode": true, | |
"metadata": {}, | |
"next_pending_invoice_item_invoice": null, | |
"pause_collection": null, | |
"pending_invoice_item_interval": null, | |
"pending_setup_intent": null, | |
"pending_update": null, | |
"plan": { | |
"id": "some-string", | |
"object": "some-string", | |
"active": true, | |
"aggregate_usage": null, | |
"amount": 12345, | |
"amount_decimal": "some-string", | |
"billing_scheme": "some-string", | |
"created": 12345, | |
"currency": "some-string", | |
"interval": "some-string", | |
"interval_count": 12345, | |
"livemode": true, | |
"metadata": {}, | |
"nickname": null, | |
"product": "some-string", | |
"tiers": null, | |
"tiers_mode": null, | |
"transform_usage": null, | |
"trial_period_days": null, | |
"usage_type": "some-string" | |
}, | |
"quantity": 12345, | |
"schedule": null, | |
"start": 12345, | |
"start_date": 12345, | |
"status": "some-string", | |
"tax_percent": null, | |
"transfer_data": null, | |
"trial_end": null, | |
"trial_start": null | |
} | |
], | |
"has_more": true, | |
"total_count": 12345, | |
"url": "some-string" | |
}, | |
"tax_exempt": "some-string", | |
"tax_ids": { | |
"object": "some-string", | |
"data": [], | |
"has_more": true, | |
"total_count": 12345, | |
"url": "some-string" | |
}, | |
"tax_info": null, | |
"tax_info_verification": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment