codecombat/spec/fixtures/db-user-sub-test-3.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

116 lines
No EOL
3.8 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/invoices",
"status": 200,
"response": {
"data": [
{
"id": "in_17GCVpKaReE7xLUdPDEmVDeD",
"customer": "cus_7VCvUEDSyqS8aN",
"lines": {
"data": [
{
"id": "sub_7VCvXO37PhGOUY",
"amount": 999,
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 999
},
"proration": false,
"quantity": 1,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VCvXO37PhGOUY",
"total": 999
}
],
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/invoices/in_17GCVpKaReE7xLUdPDEmVDeD",
"status": 200,
"response": {
"id": "in_17GCVpKaReE7xLUdPDEmVDeD",
"customer": "cus_7VCvUEDSyqS8aN",
"lines": {
"data": [
{
"id": "sub_7VCvXO37PhGOUY",
"amount": 999,
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 999
},
"proration": false,
"quantity": 1,
"type": "subscription"
}
],
"has_more": false
},
"paid": true,
"subscription": "sub_7VCvXO37PhGOUY",
"total": 999
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7VCvUEDSyqS8aN",
"status": 200,
"response": {
"id": "cus_7VCvUEDSyqS8aN",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "0000000000000000000186a1"
},
"sources": {
"data": [
{
"id": "card_17GCVoKaReE7xLUdpf0crA0p",
"customer": "cus_7VCvUEDSyqS8aN"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7VCvXO37PhGOUY",
"cancel_at_period_end": false,
"current_period_end": 1452363481,
"current_period_start": 1449685081,
"customer": "cus_7VCvUEDSyqS8aN",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
],
"has_more": false
}
}
}
]