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_17IOLxKaReE7xLUdvww3J7A5",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f"
|
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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
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_7XTI61m5RF7laL/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_7XTI61m5RF7laL/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
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_17IOM4KaReE7xLUdNu0Kjk3I",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
|
|
|
"amount": 180,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180,
|
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_7XTIYiQCfgiCD3",
|
|
|
|
"total": 180
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOM2KaReE7xLUdG9safMv7",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOM0KaReE7xLUdiwwkZzKW",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIkUX57VHhHq",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_17IOM4KaReE7xLUdNu0Kjk3I",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOM4KaReE7xLUdNu0Kjk3I",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
|
|
|
"amount": 180,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"proration": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180,
|
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_7XTIYiQCfgiCD3",
|
|
|
|
"total": 180
|
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_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user53@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOLxKaReE7xLUd7WeEdq6f",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_17IOM2KaReE7xLUdG9safMv7",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOM2KaReE7xLUdG9safMv7",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTICuoNYZd9Kj",
|
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_17IOM0KaReE7xLUdiwwkZzKW",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOM0KaReE7xLUdiwwkZzKW",
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIkUX57VHhHq",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"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_7XTIkUX57VHhHq",
|
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/customers/cus_7XTI61m5RF7laL/subscriptions/sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
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_7XTI61m5RF7laL/subscriptions/sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTICuoNYZd9Kj",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885658,
|
|
|
|
"current_period_start": 1450207258,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTICuoNYZd9Kj"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d6"
|
|
|
|
},
|
|
|
|
"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_7XTI61m5RF7laL/subscriptions/sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIYiQCfgiCD3",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885660,
|
|
|
|
"current_period_start": 1450207260,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d7"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"quantity": 180
|
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_7XTI61m5RF7laL/subscriptions/sub_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTIkUX57VHhHq",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885656,
|
|
|
|
"current_period_start": 1450207256,
|
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTI61m5RF7laL",
|
|
|
|
"subscription": "sub_7XTIkUX57VHhHq"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186d5"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|