codecombat/spec/fixtures/sub-test-29.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

736 lines
No EOL
24 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCz3KaReE7xLUd6y2AQlmf",
"card": {
"id": "card_17GCz3KaReE7xLUdormzFUHD"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions",
"status": 200,
"response": {
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/invoices",
"status": 200,
"response": {
"data": [
{
"id": "in_17GCz7KaReE7xLUdiVEGMsR1",
"customer": "cus_7VDPo3YNU8ZYnv",
"lines": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"amount": 999,
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"proration": false,
"quantity": 999,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VDPO0Lo0o3MoJ",
"total": 999
},
{
"id": "in_17GCz6KaReE7xLUd2J7e0xQ3",
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"lines": {
"data": [
{
"id": "sub_7VDPg3LCQ5CzTP",
"amount": 999,
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"proration": false,
"quantity": 1,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VDPg3LCQ5CzTP",
"total": 0
}
],
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
},
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/invoices/in_17GCz7KaReE7xLUdiVEGMsR1",
"status": 200,
"response": {
"id": "in_17GCz7KaReE7xLUdiVEGMsR1",
"customer": "cus_7VDPo3YNU8ZYnv",
"lines": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"amount": 999,
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"proration": false,
"quantity": 999,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VDPO0Lo0o3MoJ",
"total": 999
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
},
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCz3KaReE7xLUdormzFUHD",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
},
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/invoices/in_17GCz6KaReE7xLUd2J7e0xQ3",
"status": 200,
"response": {
"id": "in_17GCz6KaReE7xLUd2J7e0xQ3",
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"lines": {
"data": [
{
"id": "sub_7VDPg3LCQ5CzTP",
"amount": 999,
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"proration": false,
"quantity": 1,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VDPg3LCQ5CzTP",
"total": 0
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions/sub_7VDPO0Lo0o3MoJ",
"status": 200,
"response": {
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions/sub_7VDPg3LCQ5CzTP",
"status": 200,
"response": {
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCzBKaReE7xLUdbvnLBdzm",
"card": {
"id": "card_17GCzBKaReE7xLUdrGaHl1xn"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv",
"status": 200,
"response": {
"id": "cus_7VDPo3YNU8ZYnv",
"alipay_accounts": {
"has_more": false
},
"email": "user148@me.com",
"metadata": {
"id": "0000000000000000000186d2"
},
"sources": {
"data": [
{
"id": "card_17GCzBKaReE7xLUdrGaHl1xn",
"customer": "cus_7VDPo3YNU8ZYnv"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
},
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDQOwKvASnwSe",
"cancel_at_period_end": false,
"current_period_end": 1452365302,
"current_period_start": 1449686902,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDPo3YNU8ZYnv/subscriptions",
"status": 200,
"response": {
"data": [
{
"id": "sub_7VDQOwKvASnwSe",
"cancel_at_period_end": false,
"current_period_end": 1452365302,
"current_period_start": 1449686902,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
},
{
"id": "sub_7VDPO0Lo0o3MoJ",
"cancel_at_period_end": false,
"current_period_end": 1452365297,
"current_period_start": 1449686897,
"customer": "cus_7VDPo3YNU8ZYnv",
"metadata": {
"id": "0000000000000000000186d2"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 999
},
{
"id": "sub_7VDPg3LCQ5CzTP",
"cancel_at_period_end": false,
"current_period_end": 1452365296,
"current_period_start": 1449686896,
"customer": "cus_7VDPo3YNU8ZYnv",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7VDPo3YNU8ZYnv",
"subscription": "sub_7VDPg3LCQ5CzTP"
},
"metadata": {
"id": "0000000000000000000186d1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
]