mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
649 lines
No EOL
21 KiB
JSON
649 lines
No EOL
21 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/tokens",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "tok_17IOIiKaReE7xLUd4PuW6VzA",
|
|
"card": {
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz"
|
|
},
|
|
"type": "card"
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "in_17IOImKaReE7xLUdKePuFyPD",
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 100,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFDoYpPLLuIT",
|
|
"total": 100
|
|
},
|
|
{
|
|
"id": "in_17IOIkKaReE7xLUdtWwwSJXr",
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFDi99MUnBlc",
|
|
"total": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOImKaReE7xLUdKePuFyPD",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOImKaReE7xLUdKePuFyPD",
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"proration": false,
|
|
"quantity": 100,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFDoYpPLLuIT",
|
|
"total": 100
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 100
|
|
},
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/invoices/in_17IOIkKaReE7xLUdtWwwSJXr",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "in_17IOIkKaReE7xLUdtWwwSJXr",
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"lines": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"amount": 100,
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"proration": false,
|
|
"quantity": 1,
|
|
"type": "subscription"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"paid": true,
|
|
"subscription": "sub_7XTFDi99MUnBlc",
|
|
"total": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "DELETE",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDi99MUnBlc",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFDi99MUnBlc",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885454,
|
|
"current_period_start": 1450207054,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"discount": {
|
|
"coupon": {
|
|
"id": "free"
|
|
},
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"subscription": "sub_7XTFDi99MUnBlc"
|
|
},
|
|
"metadata": {
|
|
"id": "0000000000000000000186b2"
|
|
},
|
|
"plan": {
|
|
"id": "basic",
|
|
"amount": 100
|
|
},
|
|
"quantity": 1
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDoYpPLLuIT",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDi99MUnBlc",
|
|
"status": 404,
|
|
"response": {
|
|
"error": {
|
|
"type": "invalid_request_error"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "cus_7XTFhgQd3FLWZt",
|
|
"alipay_accounts": {
|
|
"has_more": false
|
|
},
|
|
"email": "user17@me.com",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"sources": {
|
|
"data": [
|
|
{
|
|
"id": "card_17IOIiKaReE7xLUdk6spMSgz",
|
|
"customer": "cus_7XTFhgQd3FLWZt"
|
|
}
|
|
],
|
|
"has_more": false
|
|
},
|
|
"subscriptions": {
|
|
"data": [
|
|
{
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/customers/cus_7XTFhgQd3FLWZt/subscriptions/sub_7XTFDoYpPLLuIT",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "sub_7XTFDoYpPLLuIT",
|
|
"cancel_at_period_end": false,
|
|
"current_period_end": 1452885456,
|
|
"current_period_start": 1450207056,
|
|
"customer": "cus_7XTFhgQd3FLWZt",
|
|
"metadata": {
|
|
"id": "0000000000000000000186b3"
|
|
},
|
|
"plan": {
|
|
"id": "incremental",
|
|
"amount": 1
|
|
},
|
|
"quantity": 0
|
|
}
|
|
}
|
|
] |