mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
127 lines
4 KiB
JSON
127 lines
4 KiB
JSON
|
[
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "GET",
|
||
|
"path": "/v1/coupons/20pct",
|
||
|
"status": 200,
|
||
|
"response": {
|
||
|
"id": "20pct"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "POST",
|
||
|
"path": "/v1/customers/cus_7VCuNWxO5eWsQG",
|
||
|
"status": 200,
|
||
|
"response": {
|
||
|
"id": "cus_7VCuNWxO5eWsQG",
|
||
|
"alipay_accounts": {
|
||
|
"has_more": false
|
||
|
},
|
||
|
"discount": {
|
||
|
"coupon": {
|
||
|
"id": "20pct"
|
||
|
},
|
||
|
"customer": "cus_7VCuNWxO5eWsQG"
|
||
|
},
|
||
|
"email": "normal@jo.com",
|
||
|
"metadata": {
|
||
|
"id": "00000000000000000000005d"
|
||
|
},
|
||
|
"sources": {
|
||
|
"data": [
|
||
|
{
|
||
|
"id": "card_17GCUnKaReE7xLUdZ8FpRcR5",
|
||
|
"customer": "cus_7VCuNWxO5eWsQG"
|
||
|
}
|
||
|
],
|
||
|
"has_more": false
|
||
|
},
|
||
|
"subscriptions": {
|
||
|
"data": [
|
||
|
{
|
||
|
"id": "sub_7VCuZWrSt0bF8c",
|
||
|
"cancel_at_period_end": false,
|
||
|
"current_period_end": 1452363418,
|
||
|
"current_period_start": 1449685018,
|
||
|
"customer": "cus_7VCuNWxO5eWsQG",
|
||
|
"discount": {
|
||
|
"coupon": {
|
||
|
"id": "500off"
|
||
|
},
|
||
|
"customer": "cus_7VCuNWxO5eWsQG",
|
||
|
"subscription": "sub_7VCuZWrSt0bF8c"
|
||
|
},
|
||
|
"metadata": {
|
||
|
"id": "00000000000000000000005d"
|
||
|
},
|
||
|
"plan": {
|
||
|
"id": "basic",
|
||
|
"amount": 999
|
||
|
},
|
||
|
"quantity": 1
|
||
|
}
|
||
|
],
|
||
|
"has_more": false
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "GET",
|
||
|
"path": "/v1/customers/cus_7VCuNWxO5eWsQG",
|
||
|
"status": 200,
|
||
|
"response": {
|
||
|
"id": "cus_7VCuNWxO5eWsQG",
|
||
|
"alipay_accounts": {
|
||
|
"has_more": false
|
||
|
},
|
||
|
"discount": {
|
||
|
"coupon": {
|
||
|
"id": "20pct"
|
||
|
},
|
||
|
"customer": "cus_7VCuNWxO5eWsQG"
|
||
|
},
|
||
|
"email": "normal@jo.com",
|
||
|
"metadata": {
|
||
|
"id": "00000000000000000000005d"
|
||
|
},
|
||
|
"sources": {
|
||
|
"data": [
|
||
|
{
|
||
|
"id": "card_17GCUnKaReE7xLUdZ8FpRcR5",
|
||
|
"customer": "cus_7VCuNWxO5eWsQG"
|
||
|
}
|
||
|
],
|
||
|
"has_more": false
|
||
|
},
|
||
|
"subscriptions": {
|
||
|
"data": [
|
||
|
{
|
||
|
"id": "sub_7VCuZWrSt0bF8c",
|
||
|
"cancel_at_period_end": false,
|
||
|
"current_period_end": 1452363418,
|
||
|
"current_period_start": 1449685018,
|
||
|
"customer": "cus_7VCuNWxO5eWsQG",
|
||
|
"discount": {
|
||
|
"coupon": {
|
||
|
"id": "500off"
|
||
|
},
|
||
|
"customer": "cus_7VCuNWxO5eWsQG",
|
||
|
"subscription": "sub_7VCuZWrSt0bF8c"
|
||
|
},
|
||
|
"metadata": {
|
||
|
"id": "00000000000000000000005d"
|
||
|
},
|
||
|
"plan": {
|
||
|
"id": "basic",
|
||
|
"amount": 999
|
||
|
},
|
||
|
"quantity": 1
|
||
|
}
|
||
|
],
|
||
|
"has_more": false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|