codecombat/spec/fixtures/sub-test-08.json

120 lines
3.5 KiB
JSON
Raw Normal View History

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7XTELczMD5C0eb",
"alipay_accounts": {
"has_more": false
},
"email": "user7@me.com",
"metadata": {
"id": "0000000000000000000186a9"
},
"sources": {
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTELczMD5C0eb/subscriptions",
"status": 200,
"response": {
"id": "sub_7XTElwBfQMiEEZ",
"cancel_at_period_end": false,
"current_period_end": 1452885435,
"current_period_start": 1450207035,
"customer": "cus_7XTELczMD5C0eb",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7XTELczMD5C0eb",
"subscription": "sub_7XTElwBfQMiEEZ"
},
"metadata": {
"id": "0000000000000000000186a9"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTELczMD5C0eb",
"status": 200,
"response": {
"id": "cus_7XTELczMD5C0eb",
"alipay_accounts": {
"has_more": false
},
"email": "user7@me.com",
"metadata": {
"id": "0000000000000000000186a9"
},
"sources": {
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTElwBfQMiEEZ",
"cancel_at_period_end": false,
"current_period_end": 1452885435,
"current_period_start": 1450207035,
"customer": "cus_7XTELczMD5C0eb",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7XTELczMD5C0eb",
"subscription": "sub_7XTElwBfQMiEEZ"
},
"metadata": {
"id": "0000000000000000000186a9"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7XTE3JJWxXGJ6K",
"alipay_accounts": {
"has_more": false
},
"email": "user8@me.com",
"metadata": {
"id": "0000000000000000000186aa"
},
"sources": {
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
}
]