mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 08:11:21 -05:00
1306 lines
No EOL
44 KiB
JSON
1306 lines
No EOL
44 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/tokens",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "tok_17IOJQKaReE7xLUdhpjUEGLz",
|
|
"card": {
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84"
|
|
},
|
|
"type": "card"
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "in_17IOJTKaReE7xLUdl0eMQ9Aw",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 100,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"total": 100
|
|
},
|
|
{
|
|
"id": "in_17IOJSKaReE7xLUdn7hyC1Ve",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF7Myb4FvmEy",
|
|
"total": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOJTKaReE7xLUdl0eMQ9Aw",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOJTKaReE7xLUdl0eMQ9Aw",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 100,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"total": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOJSKaReE7xLUdn7hyC1Ve",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOJSKaReE7xLUdn7hyC1Ve",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF7Myb4FvmEy",
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTF7Myb4FvmEy",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "DELETE",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTF7Myb4FvmEy",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885498,
|
|
"current_period_start": 1450207098,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTF2kSoMCmH51",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885507,
|
|
"current_period_start": 1450207107,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885507,
|
|
"current_period_start": 1450207107,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885507,
|
|
"current_period_start": 1450207107,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTF2kSoMCmH51",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/invoices",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOJeKaReE7xLUdYpGIFuIU",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "ii_17IOJdKaReE7xLUdLflweM7T",
|
|
"amount": 100,
|
|
"description": "Remaining time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
},
|
|
{
|
|
"id": "ii_17IOJZKaReE7xLUddtg0bR55",
|
|
"amount": -100,
|
|
"description": "Unused time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": false,
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "in_17IOJeKaReE7xLUdYpGIFuIU",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "ii_17IOJdKaReE7xLUdLflweM7T",
|
|
"amount": 100,
|
|
"description": "Remaining time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
},
|
|
{
|
|
"id": "ii_17IOJZKaReE7xLUddtg0bR55",
|
|
"amount": -100,
|
|
"description": "Unused time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": false,
|
|
"total": 0
|
|
},
|
|
{
|
|
"id": "in_17IOJbKaReE7xLUd7izm1cS9",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTGObi7jvhdcI",
|
|
"total": 0
|
|
},
|
|
{
|
|
"id": "in_17IOJTKaReE7xLUdl0eMQ9Aw",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 100,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"total": 100
|
|
},
|
|
{
|
|
"id": "in_17IOJSKaReE7xLUdn7hyC1Ve",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTF7Myb4FvmEy"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF7Myb4FvmEy",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF7Myb4FvmEy",
|
|
"total": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFA3maH8ej03",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user25@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOJQKaReE7xLUdeoQIhv84",
|
|
"customer": "cus_7XTFA3maH8ej03"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885507,
|
|
"current_period_start": 1450207107,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOJeKaReE7xLUdYpGIFuIU",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOJeKaReE7xLUdYpGIFuIU",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "ii_17IOJdKaReE7xLUdLflweM7T",
|
|
"amount": 100,
|
|
"description": "Remaining time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
},
|
|
{
|
|
"id": "ii_17IOJZKaReE7xLUddtg0bR55",
|
|
"amount": -100,
|
|
"description": "Unused time on 100 x Incremental after 15 Dec 2015",
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": true,
|
|
"quantity": 100,
|
|
"subscription": "sub_7XTF2kSoMCmH51",
|
|
"type": "invoiceitem"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": false,
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOJbKaReE7xLUd7izm1cS9",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOJbKaReE7xLUd7izm1cS9",
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTGObi7jvhdcI",
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTF2kSoMCmH51",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2kSoMCmH51",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885499,
|
|
"current_period_start": 1450207099,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"metadata": {
|
|
"id": "0000000000000000000186bb"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFA3maH8ej03/subscriptions/sub_7XTGObi7jvhdcI",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTGObi7jvhdcI",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885507,
|
|
"current_period_start": 1450207107,
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFA3maH8ej03",
|
|
"subscription": "sub_7XTGObi7jvhdcI"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186ba"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
}
|
|
] |