mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
222 lines
No EOL
6.8 KiB
JSON
222 lines
No EOL
6.8 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTERXvcvYy1AM",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user6@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"sources": {
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTERXvcvYy1AM",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user6@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"sources": {
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTEl4bpPGHI5M",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885431,
|
|
"current_period_start": 1450207031,
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"subscription": "sub_7XTEl4bpPGHI5M"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTERXvcvYy1AM",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user6@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"sources": {
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTEl4bpPGHI5M",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885431,
|
|
"current_period_start": 1450207031,
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"subscription": "sub_7XTEl4bpPGHI5M"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTERXvcvYy1AM",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user6@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"sources": {
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTEl4bpPGHI5M",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885431,
|
|
"current_period_start": 1450207031,
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"subscription": "sub_7XTEl4bpPGHI5M"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "DELETE",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM/subscriptions/sub_7XTEl4bpPGHI5M",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTEl4bpPGHI5M",
|
|
"cancel_at_period_end": true,
|
|
"current_period_end": 1452885431,
|
|
"current_period_start": 1450207031,
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"subscription": "sub_7XTEl4bpPGHI5M"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTERXvcvYy1AM/subscriptions/sub_7XTEl4bpPGHI5M",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTEl4bpPGHI5M",
|
|
"cancel_at_period_end": true,
|
|
"current_period_end": 1452885431,
|
|
"current_period_start": 1450207031,
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTERXvcvYy1AM",
|
|
"subscription": "sub_7XTEl4bpPGHI5M"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186a8"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
}
|
|
] |