codecombat/spec/fixtures/db-payment-custom-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_17GCVNKaReE7xLUd2tmSQ1KH",
"card": {
"id": "card_17GCVMKaReE7xLUdZVTFHMmq"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7VCvZ7KBrJ8csQ",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "00000000000000000000006b"
},
"sources": {
"data": [
{
"id": "card_17GCVMKaReE7xLUdZVTFHMmq",
"customer": "cus_7VCvZ7KBrJ8csQ"
}
],
"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_7VCvZ7KBrJ8csQ",
"status": 200,
"response": {
"id": "cus_7VCvZ7KBrJ8csQ",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "00000000000000000000006b"
},
"sources": {
"data": [
{
"id": "card_17GCVMKaReE7xLUdZVTFHMmq",
"customer": "cus_7VCvZ7KBrJ8csQ"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/charges",
"status": 200,
"response": {
"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"
}
}
}
]