codecombat/spec/fixtures/db-payment-stripe-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

104 lines
No EOL
2.8 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCUvKaReE7xLUdo7q79Zbp",
"card": {
"id": "card_17GCUvKaReE7xLUdBp1HF9sT"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VCubHuvGFt4nH",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "000000000000000000000067"
},
"sources": {
"data": [
{
"id": "card_17GCUvKaReE7xLUdBp1HF9sT",
"customer": "cus_7VCubHuvGFt4nH"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/charges",
"status": 200,
"response": {
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VCubHuvGFt4nH",
"status": 200,
"response": {
"id": "cus_7VCubHuvGFt4nH",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "000000000000000000000067"
},
"sources": {
"data": [
{
"id": "card_17GCUvKaReE7xLUdBp1HF9sT",
"customer": "cus_7VCubHuvGFt4nH"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/charges",
"status": 200,
"response": {
"id": "ch_17GCUxKaReE7xLUddy1fN9Nl",
"amount": 499,
"customer": "cus_7VCubHuvGFt4nH",
"metadata": {
"productID": "gems_5",
"gems": "5000",
"timestamp": "1447443579286"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCUvKaReE7xLUdBp1HF9sT",
"customer": "cus_7VCubHuvGFt4nH"
}
}
}
]