2015-12-09 17:27:10 -05:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/tokens",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "tok_17IOK2KaReE7xLUddyVOIw8a",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"type": "card"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/customers",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/invoices",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK8KaReE7xLUdHJq2Uj6k",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
|
|
|
"amount": 80,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80,
|
2015-12-09 17:27:10 -05:00
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGhDi7Tv9zDj",
|
|
|
|
"total": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK7KaReE7xLUdZiAHtzvt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 1,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK4KaReE7xLUdb2yxMYpd",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 1,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGNOg9TfLaOC",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/invoices/in_17IOK8KaReE7xLUdHJq2Uj6k",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK8KaReE7xLUdHJq2Uj6k",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
|
|
|
"amount": 80,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80,
|
2015-12-09 17:27:10 -05:00
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGhDi7Tv9zDj",
|
|
|
|
"total": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/invoices/in_17IOK7KaReE7xLUdZiAHtzvt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK7KaReE7xLUdZiAHtzvt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 1,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/invoices/in_17IOK4KaReE7xLUdb2yxMYpd",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOK4KaReE7xLUdb2yxMYpd",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 1,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
2015-12-15 14:45:52 -05:00
|
|
|
"subscription": "sub_7XTGNOg9TfLaOC",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions/sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user30@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOK2KaReE7xLUdfGxwfZkt",
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 80
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "DELETE",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions/sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGCzA8OwHqfG",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885539,
|
|
|
|
"current_period_start": 1450207139,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
|
|
|
"subscription": "sub_7XTGCzA8OwHqfG"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186bf"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions/sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTGHTPVjWbkDh/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGhDi7Tv9zDj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885540,
|
|
|
|
"current_period_start": 1450207140,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTGNOg9TfLaOC",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885536,
|
|
|
|
"current_period_start": 1450207136,
|
|
|
|
"customer": "cus_7XTGHTPVjWbkDh",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c0"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|