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_17IOKbKaReE7xLUdspGOMyyT",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz"
|
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_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user36@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
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_7XTH5KpXyx6sz0/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_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user36@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
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_7XTH5KpXyx6sz0/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTHaQNo0KytMD",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885571,
|
|
|
|
"current_period_start": 1450207171,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user36@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTHaQNo0KytMD",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885571,
|
|
|
|
"current_period_start": 1450207171,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_7XTH5KpXyx6sz0/subscriptions",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885573,
|
|
|
|
"current_period_start": 1450207173,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"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_17IOKfKaReE7xLUdbPWU9fmO",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"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_7XTH6Es3n9Txpd",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOKdKaReE7xLUdThjKzrft",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTHaQNo0KytMD",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_7XTHaQNo0KytMD",
|
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_7XTH5KpXyx6sz0",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"id": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"email": "user36@me.com",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885573,
|
|
|
|
"current_period_start": 1450207173,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "incremental",
|
|
|
|
"amount": 1
|
|
|
|
},
|
|
|
|
"quantity": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "sub_7XTHaQNo0KytMD",
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"current_period_end": 1452885571,
|
|
|
|
"current_period_start": 1450207171,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
|
|
|
"amount": 100
|
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/customers/cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user36@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885573,
|
|
|
|
"current_period_start": 1450207173,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"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_7XTHaQNo0KytMD",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885571,
|
|
|
|
"current_period_start": 1450207171,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_17IOKfKaReE7xLUdbPWU9fmO",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOKfKaReE7xLUdbPWU9fmO",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"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_7XTH6Es3n9Txpd",
|
|
|
|
"total": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user36@me.com",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOKbKaReE7xLUdrhYtxEyz",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTH6Es3n9Txpd",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885573,
|
|
|
|
"current_period_start": 1450207173,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c6"
|
|
|
|
},
|
|
|
|
"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_7XTHaQNo0KytMD",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885571,
|
|
|
|
"current_period_start": 1450207171,
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_17IOKdKaReE7xLUdThjKzrft",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "in_17IOKdKaReE7xLUdThjKzrft",
|
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "free"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTH5KpXyx6sz0",
|
|
|
|
"subscription": "sub_7XTHaQNo0KytMD"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"lines": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTHaQNo0KytMD",
|
|
|
|
"amount": 100,
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"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_7XTHaQNo0KytMD",
|
2015-12-09 17:27:10 -05:00
|
|
|
"total": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/customers",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTH8WyLtDZn4y",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"email": "user35@foo.bar",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"id": "0000000000000000000186c5"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|