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

92 lines
No EOL
2.5 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCvTKaReE7xLUdvh4VgxLe",
"card": {
"id": "card_17GCvTKaReE7xLUdfBe38ijD"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VDMXnBgJmAcyq",
"alipay_accounts": {
"has_more": false
},
"email": "user100@me.com",
"metadata": {
"id": "0000000000000000000186a2"
},
"sources": {
"data": [
{
"id": "card_17GCvTKaReE7xLUdfBe38ijD",
"customer": "cus_7VDMXnBgJmAcyq"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMXnBgJmAcyq",
"status": 200,
"response": {
"id": "cus_7VDMXnBgJmAcyq",
"alipay_accounts": {
"has_more": false
},
"email": "user100@me.com",
"metadata": {
"id": "0000000000000000000186a2"
},
"sources": {
"data": [
{
"id": "card_17GCvTKaReE7xLUdfBe38ijD",
"customer": "cus_7VDMXnBgJmAcyq"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VDMXnBgJmAcyq/subscriptions",
"status": 200,
"response": {
"id": "sub_7VDMPjS8P0Au1a",
"cancel_at_period_end": false,
"current_period_end": 1452365072,
"current_period_start": 1449686672,
"customer": "cus_7VDMXnBgJmAcyq",
"metadata": {
"id": "0000000000000000000186a2"
},
"plan": {
"id": "basic",
"amount": 999
},
"quantity": 1
}
}
]