Created
April 5, 2017 15:44
-
-
Save hueyl77/fe6fbd6767814042030ab35c04bdf6a7 to your computer and use it in GitHub Desktop.
Stripe Example Customer Create response
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
{ | |
"account_balance": 0, | |
"active_card": { | |
"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": "Visa", | |
"country": "US", | |
"customer": "cus_AQ6TPTQv5bxjJJ", | |
"cvc_check": "pass", | |
"dynamic_last4": null, | |
"exp_month": 3, | |
"exp_year": 2020, | |
"fingerprint": "6gJgiOXgPCEUAH9L", | |
"funding": "credit", | |
"id": "card_AQ6TqFIhwxetBV", | |
"last4": "4242", | |
"metadata": {}, | |
"name": "Huey Streep", | |
"object": "card", | |
"tokenization_method": null, | |
"type": "Visa" | |
}, | |
"cards": { | |
"count": 1, | |
"data": [ | |
{ | |
"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": "Visa", | |
"country": "US", | |
"customer": "cus_AQ6TPTQv5bxjJJ", | |
"cvc_check": "pass", | |
"dynamic_last4": null, | |
"exp_month": 3, | |
"exp_year": 2020, | |
"fingerprint": "6gJgiOXgPCEUAH9L", | |
"funding": "credit", | |
"id": "card_AQ6TqFIhwxetBV", | |
"last4": "4242", | |
"metadata": {}, | |
"name": "Huey Streep", | |
"object": "card", | |
"tokenization_method": null, | |
"type": "Visa" | |
} | |
], | |
"has_more": false, | |
"object": "list", | |
"total_count": 1, | |
"url": "/v1/customers/cus_AQ6TPTQv5bxjJJ/cards" | |
}, | |
"created": 1491406923, | |
"currency": "usd", | |
"default_card": "card_AQ6TqFIhwxetBV", | |
"default_source": "card_AQ6TqFIhwxetBV", | |
"delinquent": false, | |
"description": "fs_start_49", | |
"discount": null, | |
"email": "hueystreep@filestack.com", | |
"id": "cus_AQ6TPTQv5bxjJJ", | |
"livemode": false, | |
"metadata": { | |
"phone_number": "+15123750980" | |
}, | |
"object": "customer", | |
"shipping": null, | |
"sources": { | |
"count": 1, | |
"data": [ | |
{ | |
"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": "Visa", | |
"country": "US", | |
"customer": "cus_AQ6TPTQv5bxjJJ", | |
"cvc_check": "pass", | |
"dynamic_last4": null, | |
"exp_month": 3, | |
"exp_year": 2020, | |
"fingerprint": "6gJgiOXgPCEUAH9L", | |
"funding": "credit", | |
"id": "card_AQ6TqFIhwxetBV", | |
"last4": "4242", | |
"metadata": {}, | |
"name": "Huey Streep", | |
"object": "card", | |
"tokenization_method": null, | |
"type": "Visa" | |
} | |
], | |
"has_more": false, | |
"object": "list", | |
"total_count": 1, | |
"url": "/v1/customers/cus_AQ6TPTQv5bxjJJ/sources" | |
}, | |
"subscription": { | |
"application_fee_percent": null, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"created": 1491406923, | |
"current_period_end": 1493998923, | |
"current_period_start": 1491406923, | |
"customer": "cus_AQ6TPTQv5bxjJJ", | |
"discount": null, | |
"ended_at": null, | |
"id": "sub_AQ6TNxek3oCgHT", | |
"items": { | |
"count": 1, | |
"data": [ | |
{ | |
"created": 1491406924, | |
"id": "si_0A5GGlwS8ElAUTtscaScs5lH", | |
"object": "subscription_item", | |
"plan": { | |
"amount": 4900, | |
"created": 1484261909, | |
"currency": "usd", | |
"id": "fs_start_49", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"name": "Start", | |
"object": "plan", | |
"statement_description": null, | |
"statement_descriptor": null, | |
"trial_period_days": null | |
}, | |
"quantity": 1 | |
} | |
], | |
"has_more": false, | |
"object": "list", | |
"total_count": 1, | |
"url": "/v1/subscription_items?subscription=sub_AQ6TNxek3oCgHT" | |
}, | |
"livemode": false, | |
"metadata": {}, | |
"object": "subscription", | |
"plan": { | |
"amount": 4900, | |
"created": 1484261909, | |
"currency": "usd", | |
"id": "fs_start_49", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"name": "Start", | |
"object": "plan", | |
"statement_description": null, | |
"statement_descriptor": null, | |
"trial_period_days": null | |
}, | |
"quantity": 1, | |
"start": 1491406923, | |
"status": "active", | |
"tax_percent": null, | |
"trial_end": null, | |
"trial_start": null | |
}, | |
"subscriptions": { | |
"count": 1, | |
"data": [ | |
{ | |
"application_fee_percent": null, | |
"cancel_at_period_end": false, | |
"canceled_at": null, | |
"created": 1491406923, | |
"current_period_end": 1493998923, | |
"current_period_start": 1491406923, | |
"customer": "cus_AQ6TPTQv5bxjJJ", | |
"discount": null, | |
"ended_at": null, | |
"id": "sub_AQ6TNxek3oCgHT", | |
"items": { | |
"count": 1, | |
"data": [ | |
{ | |
"created": 1491406924, | |
"id": "si_0A5GGlwS8ElAUTtscaScs5lH", | |
"object": "subscription_item", | |
"plan": { | |
"amount": 4900, | |
"created": 1484261909, | |
"currency": "usd", | |
"id": "fs_start_49", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"name": "Start", | |
"object": "plan", | |
"statement_description": null, | |
"statement_descriptor": null, | |
"trial_period_days": null | |
}, | |
"quantity": 1 | |
} | |
], | |
"has_more": false, | |
"object": "list", | |
"total_count": 1, | |
"url": "/v1/subscription_items?subscription=sub_AQ6TNxek3oCgHT" | |
}, | |
"livemode": false, | |
"metadata": {}, | |
"object": "subscription", | |
"plan": { | |
"amount": 4900, | |
"created": 1484261909, | |
"currency": "usd", | |
"id": "fs_start_49", | |
"interval": "month", | |
"interval_count": 1, | |
"livemode": false, | |
"metadata": {}, | |
"name": "Start", | |
"object": "plan", | |
"statement_description": null, | |
"statement_descriptor": null, | |
"trial_period_days": null | |
}, | |
"quantity": 1, | |
"start": 1491406923, | |
"status": "active", | |
"tax_percent": null, | |
"trial_end": null, | |
"trial_start": null | |
} | |
], | |
"has_more": false, | |
"object": "list", | |
"total_count": 1, | |
"url": "/v1/customers/cus_AQ6TPTQv5bxjJJ/subscriptions" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment