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

89 lines
No EOL
2.7 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17GCVTKaReE7xLUdOnqynJY7",
"card": {
"id": "card_17GCVSKaReE7xLUdjh0HgmFn"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7VCvZ7KBrJ8csQ",
"status": 200,
"response": {
"id": "cus_7VCvZ7KBrJ8csQ",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "00000000000000000000006b"
},
"sources": {
"data": [
{
"id": "card_17GCVSKaReE7xLUdjh0HgmFn",
"customer": "cus_7VCvZ7KBrJ8csQ"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/charges",
"status": 200,
"response": {
"data": [
{
"id": "ch_17GCVSKaReE7xLUdd5E7dowz",
"amount": 73000,
"customer": "cus_7VCvZ7KBrJ8csQ",
"metadata": {
"productID": "custom",
"timestamp": "1447445242092"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCVPKaReE7xLUdRwBCjoW4",
"customer": "cus_7VCvZ7KBrJ8csQ"
}
},
{
"id": "ch_17GCVOKaReE7xLUd1ZQVMJKB",
"amount": 5000,
"customer": "cus_7VCvZ7KBrJ8csQ",
"metadata": {
"productID": "custom",
"timestamp": "1447445242091",
"description": "A sweet Coco t-shirt"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17GCVMKaReE7xLUdZVTFHMmq",
"customer": "cus_7VCvZ7KBrJ8csQ"
}
}
],
"has_more": false
}
}
]