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_17IOIiKaReE7xLUd4PuW6VzA",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz"
|
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_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"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_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
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_7XTFhgQd3FLWZt/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFhgQd3FLWZt/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 100
|
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_17IOImKaReE7xLUdKePuFyPD",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 100,
|
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_7XTFDoYpPLLuIT",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOIkKaReE7xLUdtWwwSJXr",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_17IOImKaReE7xLUdKePuFyPD",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"id": "in_17IOImKaReE7xLUdKePuFyPD",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
|
|
"amount": 100,
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
|
|
|
"quantity": 100,
|
|
|
|
"type": "subscription"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"paid": true,
|
|
|
|
"subscription": "sub_7XTFDoYpPLLuIT",
|
|
|
|
"total": 100
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_17IOIkKaReE7xLUdtWwwSJXr",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOIkKaReE7xLUdtWwwSJXr",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "DELETE",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885454,
|
|
|
|
"current_period_start": 1450207054,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b2"
|
|
|
|
},
|
|
|
|
"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_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"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_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDi99MUnBlc",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 404,
|
|
|
|
"response": {
|
|
|
|
"error": {
|
|
|
|
"type": "invalid_request_error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user17@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885456,
|
|
|
|
"current_period_start": 1450207056,
|
|
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186b3"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|