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

284 lines
8.4 KiB
JSON
Raw Normal View History

[
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers",
"status": 200,
"response": {
"id": "cus_7XTIYq73SHazfh",
"alipay_accounts": {
"has_more": false
},
"email": "user49@me.com",
"metadata": {
"id": "0000000000000000000186d3"
},
"sources": {
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIYq73SHazfh",
"status": 200,
"response": {
"id": "cus_7XTIYq73SHazfh",
"alipay_accounts": {
"has_more": false
},
"email": "user49@me.com",
"metadata": {
"id": "0000000000000000000186d3"
},
"sources": {
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIYq73SHazfh/subscriptions",
"status": 200,
"response": {
"id": "sub_7XTIiX8iKMqTtn",
"cancel_at_period_end": false,
"current_period_end": 1452885648,
"current_period_start": 1450207248,
"customer": "cus_7XTIYq73SHazfh",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7XTIYq73SHazfh",
"subscription": "sub_7XTIiX8iKMqTtn"
},
"metadata": {
"id": "0000000000000000000186d3"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/tokens",
"status": 200,
"response": {
"id": "tok_17IOLtKaReE7xLUdfdyfvVaq",
"card": {
"id": "card_17IOLtKaReE7xLUdfhFhrAWf"
},
"type": "card"
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIYq73SHazfh",
"status": 200,
"response": {
"id": "cus_7XTIYq73SHazfh",
"alipay_accounts": {
"has_more": false
},
"email": "user49@me.com",
"metadata": {
"id": "0000000000000000000186d3"
},
"sources": {
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTIiX8iKMqTtn",
"cancel_at_period_end": false,
"current_period_end": 1452885648,
"current_period_start": 1450207248,
"customer": "cus_7XTIYq73SHazfh",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7XTIYq73SHazfh",
"subscription": "sub_7XTIiX8iKMqTtn"
},
"metadata": {
"id": "0000000000000000000186d3"
},
"plan": {
"id": "basic",
"amount": 100
},
"quantity": 1
}
],
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIYq73SHazfh",
"status": 200,
"response": {
"id": "cus_7XTIYq73SHazfh",
"alipay_accounts": {
"has_more": false
},
"email": "user49@me.com",
"metadata": {
"id": "0000000000000000000186d3"
},
"sources": {
"has_more": false
},
"subscriptions": {
"data": [
{
"id": "sub_7XTIiX8iKMqTtn",
"cancel_at_period_end": false,
"current_period_end": 1452885648,
"current_period_start": 1450207248,
"customer": "cus_7XTIYq73SHazfh",
"discount": {
"coupon": {
"id": "free"
},
"customer": "cus_7XTIYq73SHazfh",
"subscription": "sub_7XTIiX8iKMqTtn"
},
"metadata": {
"id": "0000000000000000000186d3"
},
"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_7XTIuGhBI2HVcE",
"alipay_accounts": {
"has_more": false
},
"email": "user50@me.com",
"metadata": {
"id": "0000000000000000000186d4"
},
"sources": {
"data": [
{
"id": "card_17IOLtKaReE7xLUdfhFhrAWf",
"customer": "cus_7XTIuGhBI2HVcE"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIuGhBI2HVcE",
"status": 200,
"response": {
"id": "cus_7XTIuGhBI2HVcE",
"alipay_accounts": {
"has_more": false
},
"email": "user50@me.com",
"metadata": {
"id": "0000000000000000000186d4"
},
"sources": {
"data": [
{
"id": "card_17IOLtKaReE7xLUdfhFhrAWf",
"customer": "cus_7XTIuGhBI2HVcE"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIuGhBI2HVcE",
"status": 200,
"response": {
"id": "cus_7XTIuGhBI2HVcE",
"alipay_accounts": {
"has_more": false
},
"email": "user50@me.com",
"metadata": {
"id": "0000000000000000000186d4"
},
"sources": {
"data": [
{
"id": "card_17IOLtKaReE7xLUdfhFhrAWf",
"customer": "cus_7XTIuGhBI2HVcE"
}
],
"has_more": false
},
"subscriptions": {
"has_more": false
}
}
},
{
"scope": "https://api.stripe.com:443",
"method": "POST",
"path": "/v1/customers/cus_7XTIuGhBI2HVcE/subscriptions",
"status": 200,
"response": {
"id": "sub_7XTICzapjPhmAB",
"cancel_at_period_end": false,
"current_period_end": 1452885652,
"current_period_start": 1450207252,
"customer": "cus_7XTIuGhBI2HVcE",
"metadata": {
"id": "0000000000000000000186d4"
},
"plan": {
"id": "incremental",
"amount": 1
},
"quantity": 0
}
}
]