codecombat/spec/fixtures/db-discount-handler-test-8.json
2015-12-16 16:39:44 -08:00

61 lines
No EOL
1.9 KiB
JSON

[
{
"scope": "https://api.stripe.com:443",
"method": "DELETE",
"path": "/v1/customers/cus_7XTLw21mDCPduP/discount",
"status": 200,
"response": {}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7XTLw21mDCPduP",
"status": 200,
"response": {
"id": "cus_7XTLw21mDCPduP",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "00000000000000000000005d"
},
"sources": {
"data": [
{
"id": "card_17IOOlKaReE7xLUdwvPnfV15",
"customer": "cus_7XTLw21mDCPduP"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTLVSO3Guyty9",
"cancel_at_period_end": false,
"current_period_end": 1452885828,
"current_period_start": 1450207428,
"customer": "cus_7XTLw21mDCPduP",
"discount": {
"coupon": {
"id": "500off"
},
"customer": "cus_7XTLw21mDCPduP",
"subscription": "sub_7XTLVSO3Guyty9"
},
"metadata": {
"id": "00000000000000000000005d"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
}
]