mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
945 lines
No EOL
32 KiB
JSON
945 lines
No EOL
32 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/tokens",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "tok_17IOIsKaReE7xLUdw8Rb1XdZ",
|
|
"card": {
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59"
|
|
},
|
|
"type": "card"
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "in_17IOIyKaReE7xLUdxFT29YiX",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"amount": 80,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 80,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF2yEjKah2dN",
|
|
"total": 80
|
|
},
|
|
{
|
|
"id": "in_17IOIwKaReE7xLUds6cE7Sf7",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFag72pVDX5H",
|
|
"total": 0
|
|
},
|
|
{
|
|
"id": "in_17IOIuKaReE7xLUdocqcr5Qi",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFgIPGIMmSFB",
|
|
"total": 100
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
},
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
},
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOIyKaReE7xLUdxFT29YiX",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOIyKaReE7xLUdxFT29YiX",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"amount": 80,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 80,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTF2yEjKah2dN",
|
|
"total": 80
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
},
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOIwKaReE7xLUds6cE7Sf7",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOIwKaReE7xLUds6cE7Sf7",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFag72pVDX5H",
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOIuKaReE7xLUdocqcr5Qi",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOIuKaReE7xLUdocqcr5Qi",
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFgIPGIMmSFB",
|
|
"total": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions/sub_7XTF2yEjKah2dN",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFwMAehprqkF",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user19@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIsKaReE7xLUdYhpmFM59",
|
|
"customer": "cus_7XTFwMAehprqkF"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTF2yEjKah2dN",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885468,
|
|
"current_period_start": 1450207068,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 80
|
|
},
|
|
{
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
},
|
|
{
|
|
"id": "sub_7XTFgIPGIMmSFB",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885464,
|
|
"current_period_start": 1450207064,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b5"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFwMAehprqkF/subscriptions/sub_7XTFag72pVDX5H",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFag72pVDX5H",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885466,
|
|
"current_period_start": 1450207066,
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFwMAehprqkF",
|
|
"subscription": "sub_7XTFag72pVDX5H"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b4"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
}
|
|
] |