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

314 lines
No EOL
9.6 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCvZKaReE7xLUdypujc0WH",
"card": {
"id": "card_17GCvZKaReE7xLUdwixI8vqT"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMp8mEu4xG73",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMp8mEu4xG73/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": false,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDMp8mEu4xG73/subscriptions/sub_7VDMsEr2xRuaqt",
"status": 200,
"response": {
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": false,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMp8mEu4xG73",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": false,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "DELETE",
"path": "/v1/customers/cus_7VDMp8mEu4xG73/subscriptions/sub_7VDMsEr2xRuaqt",
"status": 200,
"response": {
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": true,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMp8mEu4xG73",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": true,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMp8mEu4xG73",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": true,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VDMp8mEu4xG73",
"status": 200,
"response": {
"id": "cus_7VDMp8mEu4xG73",
"alipay_accounts": {
"has_more": false
},
"email": "user102@me.com",
"metadata": {
"id": "0000000000000000000186a4"
},
"sources": {
"data": [
{
"id": "card_17GCvZKaReE7xLUdwixI8vqT",
"customer": "cus_7VDMp8mEu4xG73"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VDMsEr2xRuaqt",
"cancel_at_period_end": true,
"current_period_end": 1452365079,
"current_period_start": 1449686679,
"customer": "cus_7VDMp8mEu4xG73",
"metadata": {
"id": "0000000000000000000186a4"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
}
]