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_17IOMAKaReE7xLUdOZZUi5yM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9"
|
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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
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_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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",
|
2015-12-15 14:45:52 -05:00
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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",
|
2015-12-15 14:45:52 -05:00
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
|
|
|
"amount": 100
|
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
2015-12-09 17:27:10 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
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_17IOMIKaReE7xLUd0MVrPWkO",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
|
|
|
"amount": 160,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160,
|
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_7XTID1qSsh85dM",
|
|
|
|
"total": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMGKaReE7xLUd3L2l6qdb",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMEKaReE7xLUdnnvFoYPN",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMBKaReE7xLUdXQoG8psb",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
|
|
|
"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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/invoices/in_17IOMIKaReE7xLUd0MVrPWkO",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"id": "in_17IOMIKaReE7xLUd0MVrPWkO",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
|
|
|
"amount": 160,
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 160,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
|
|
|
"subscription": "sub_7XTID1qSsh85dM",
|
|
|
|
"total": 160
|
|
|
|
}
|
|
|
|
},
|
2015-12-09 17:27:10 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_17IOMGKaReE7xLUd3L2l6qdb",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMGKaReE7xLUd3L2l6qdb",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIbgbJaVMUZu",
|
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_17IOMEKaReE7xLUdnnvFoYPN",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMEKaReE7xLUdnnvFoYPN",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
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_17IOMBKaReE7xLUdXQoG8psb",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOMBKaReE7xLUdXQoG8psb",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 160
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions/sub_7XTIYZBmGU4c3H",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
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_7XTI7OtNzsUxmY/subscriptions/sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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": "DELETE",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions/sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYZBmGU4c3H",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885670,
|
|
|
|
"current_period_start": 1450207270,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIYZBmGU4c3H"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d8"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 160
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 80
|
|
|
|
}
|
|
|
|
},
|
2015-12-09 17:27:10 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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": "DELETE",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions/sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIbgbJaVMUZu",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885672,
|
|
|
|
"current_period_start": 1450207272,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"subscription": "sub_7XTIbgbJaVMUZu"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d9"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY/subscriptions",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
|
|
|
"amount": 100
|
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
2015-12-09 17:27:10 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user56@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOMAKaReE7xLUdq71byow9",
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIVho90wZ0EA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885667,
|
|
|
|
"current_period_start": 1450207267,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"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_7XTI7OtNzsUxmY/subscriptions/sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTID1qSsh85dM",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885674,
|
|
|
|
"current_period_start": 1450207274,
|
|
|
|
"customer": "cus_7XTI7OtNzsUxmY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186da"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|