codecombat/spec/fixtures/sub-test-05.json
Scott Erickson 23e3821e24 Switch from jasmine-node to jasmine, run server tests on a single process
This collapses the difference between master and single-process-server-tests, to
remove some larger fixtures files that were in that feature branch.
2015-12-09 14:27:10 -08:00

264 lines
No EOL
8 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCviKaReE7xLUdllfxgDvw",
"card": {
"id": "card_17GCviKaReE7xLUdGzwk7E0z"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VDM2IPe2orhRh",
"alipay_accounts": {
"has_more": false
},
"email": "user104@me.com",
"metadata": {
"id": "0000000000000000000186a6"
},
"sources": {
"data": [
{
"id": "card_17GCviKaReE7xLUdGzwk7E0z",
"customer": "cus_7VDM2IPe2orhRh"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDM2IPe2orhRh",
"status": 200,
"response": {
"id": "cus_7VDM2IPe2orhRh",
"alipay_accounts": {
"has_more": false
},
"email": "user104@me.com",
"metadata": {
"id": "0000000000000000000186a6"
},
"sources": {
"data": [
{
"id": "card_17GCviKaReE7xLUdGzwk7E0z",
"customer": "cus_7VDM2IPe2orhRh"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDM2IPe2orhRh/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDM2IPe2orhRh",
"status": 200,
"response": {
"id": "cus_7VDM2IPe2orhRh",
"alipay_accounts": {
"has_more": false
},
"email": "user104@me.com",
"metadata": {
"id": "0000000000000000000186a6"
},
"sources": {
"data": [
{
"id": "card_17GCviKaReE7xLUdGzwk7E0z",
"customer": "cus_7VDM2IPe2orhRh"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDM2IPe2orhRh",
"status": 200,
"response": {
"id": "cus_7VDM2IPe2orhRh",
"alipay_accounts": {
"has_more": false
},
"email": "user104@me.com",
"metadata": {
"id": "0000000000000000000186a6"
},
"sources": {
"data": [
{
"id": "card_17GCviKaReE7xLUdGzwk7E0z",
"customer": "cus_7VDM2IPe2orhRh"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDM2IPe2orhRh/subscriptions",
"status": 200,
"response": {
"data": [
{
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDM2IPe2orhRh/subscriptions/sub_7VDMhuoq3WA88F",
"status": 200,
"response": {
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDM2IPe2orhRh",
"subscription": "sub_7VDMhuoq3WA88F"
},
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDM2IPe2orhRh/subscriptions/sub_7VDMhuoq3WA88F",
"status": 200,
"response": {
"id": "sub_7VDMhuoq3WA88F",
"cancel_at_period_end": false,
"current_period_end": 1452365087,
"current_period_start": 1449686687,
"customer": "cus_7VDM2IPe2orhRh",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDM2IPe2orhRh",
"subscription": "sub_7VDMhuoq3WA88F"
},
"metadata": {
"id": "0000000000000000000186a6"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
}
]