codecombat/spec/fixtures/db-payment-stripe-test-02.json

42 lines
1.2 KiB
JSON
Raw Permalink Normal View History

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTLZvrxxi9h67",
"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_17IOOyKaReE7xLUdzY39hxln",
"amount": 100,
"customer": "cus_7XTLZvrxxi9h67",
"metadata": {
"productID": "gems_5",
"gems": "5000",
"timestamp": "1447443579286"
},
"paid": true,
"refunds": {
"has_more": false
},
"source": {
"id": "card_17IOOxKaReE7xLUdaA1sZ1RB",
"customer": "cus_7XTLZvrxxi9h67"
}
}
],
"has_more": false
}
}
]