codecombat/spec/fixtures/db-user-sub-test-8.json

188 lines
6.2 KiB
JSON
Raw Normal View History

[
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7XTE2tCcVgwJps",
"status": 200,
"response": {
"id": "cus_7XTE2tCcVgwJps",
"alipay_accounts": {
"has_more": false
},
"email": "normal@jo.com",
"metadata": {
"id": "0000000000000000000186a1"
},
"sources": {
"data": [
{
"id": "card_17IOHeKaReE7xLUdsx1siboK",
"customer": "cus_7XTE2tCcVgwJps"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTE0T8sIdVZQ5",
"cancel_at_period_end": false,
"current_period_end": 1452885387,
"current_period_start": 1450206995,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTE2tCcVgwJps/subscriptions",
"status": 200,
"response": {
"id": "sub_7XTEVBY1dSyi76",
"cancel_at_period_end": false,
"current_period_end": 1452885398,
"current_period_start": 1450206998,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTE2tCcVgwJps",
"status": 200,
"response": {
"id": "cus_7XTE2tCcVgwJps",
"alipay_accounts": {
"has_more": false
},
"email": "newEmail@gmail.com",
"metadata": {
"id": "0000000000000000000186a1"
},
"sources": {
"data": [
{
"id": "card_17IOHeKaReE7xLUdsx1siboK",
"customer": "cus_7XTE2tCcVgwJps"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTEVBY1dSyi76",
"cancel_at_period_end": false,
"current_period_end": 1452885398,
"current_period_start": 1450206998,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
},
{
"id": "sub_7XTE0T8sIdVZQ5",
"cancel_at_period_end": false,
"current_period_end": 1452885387,
"current_period_start": 1450206995,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "GET",
"path": "/v1/customers/cus_7XTE2tCcVgwJps",
"status": 200,
"response": {
"id": "cus_7XTE2tCcVgwJps",
"alipay_accounts": {
"has_more": false
},
"email": "newEmail@gmail.com",
"metadata": {
"id": "0000000000000000000186a1"
},
"sources": {
"data": [
{
"id": "card_17IOHeKaReE7xLUdsx1siboK",
"customer": "cus_7XTE2tCcVgwJps"
}
],
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTEVBY1dSyi76",
"cancel_at_period_end": false,
"current_period_end": 1452885398,
"current_period_start": 1450206998,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
},
{
"id": "sub_7XTE0T8sIdVZQ5",
"cancel_at_period_end": false,
"current_period_end": 1452885387,
"current_period_start": 1450206995,
"customer": "cus_7XTE2tCcVgwJps",
"metadata": {
"id": "0000000000000000000186a1"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
}
]