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

168 lines
No EOL
4.6 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCV3KaReE7xLUdLcKedDEd",
"card": {
"id": "card_17GCV3KaReE7xLUdFUXfU85r"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VCuAQ6nYInY8z",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "000000000000000000000068"
},
"sources": {
"data": [
{
"id": "card_17GCV3KaReE7xLUdFUXfU85r",
"customer": "cus_7VCuAQ6nYInY8z"
}
],
"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_7VCuAQ6nYInY8z",
"status": 200,
"response": {
"id": "cus_7VCuAQ6nYInY8z",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "000000000000000000000068"
},
"sources": {
"data": [
{
"id": "card_17GCV3KaReE7xLUdFUXfU85r",
"customer": "cus_7VCuAQ6nYInY8z"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/charges",
"status": 200,
"response": {
"id": "ch_17GCV5KaReE7xLUd0amzDJs7",
"amount": 499,
"customer": "cus_7VCuAQ6nYInY8z",
"metadata": {
"productID": "gems_5",
"gems": "5000",
"timestamp": "1447443579286"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCV3KaReE7xLUdFUXfU85r",
"customer": "cus_7VCuAQ6nYInY8z"
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VCuAQ6nYInY8z",
"status": 400,
"response": {
"error": {
"type": "invalid_request_error"
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/charges",
"status": 200,
"response": {
"data": [
{
"id": "ch_17GCV5KaReE7xLUd0amzDJs7",
"amount": 499,
"customer": "cus_7VCuAQ6nYInY8z",
"metadata": {
"productID": "gems_5",
"gems": "5000",
"timestamp": "1447443579286"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCV3KaReE7xLUdFUXfU85r",
"customer": "cus_7VCuAQ6nYInY8z"
}
}
],
"has_more": false
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/charges",
"status": 200,
"response": {
"id": "ch_17GCV6KaReE7xLUdiTvUGa07",
"amount": 499,
"customer": "cus_7VCuAQ6nYInY8z",
"metadata": {
"productID": "gems_5",
"gems": "5000",
"timestamp": "1447443579286"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCV3KaReE7xLUdFUXfU85r",
"customer": "cus_7VCuAQ6nYInY8z"
}
}
}
]