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

64 lines
No EOL
1.7 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCVoKaReE7xLUdWKRMzFDb",
"card": {
"id": "card_17GCVoKaReE7xLUdpf0crA0p"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"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": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VCvUEDSyqS8aN/subscriptions",
"status": 200,
"response": {
"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
}
}
]