2015-12-09 17:27:10 -05:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"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",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "20pct"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTLw21mDCPduP"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"email": "normal@jo.com",
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000005d"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOOlKaReE7xLUdwvPnfV15",
|
|
|
|
"customer": "cus_7XTLw21mDCPduP"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTLVSO3Guyty9",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885828,
|
|
|
|
"current_period_start": 1450207428,
|
|
|
|
"customer": "cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "500off"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTLw21mDCPduP",
|
|
|
|
"subscription": "sub_7XTLVSO3Guyty9"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000005d"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "20pct"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTLw21mDCPduP"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"email": "normal@jo.com",
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000005d"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOOlKaReE7xLUdwvPnfV15",
|
|
|
|
"customer": "cus_7XTLw21mDCPduP"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "sub_7XTLVSO3Guyty9",
|
2015-12-09 17:27:10 -05:00
|
|
|
"cancel_at_period_end": false,
|
2015-12-15 14:45:52 -05:00
|
|
|
"current_period_end": 1452885828,
|
|
|
|
"current_period_start": 1450207428,
|
|
|
|
"customer": "cus_7XTLw21mDCPduP",
|
2015-12-09 17:27:10 -05:00
|
|
|
"discount": {
|
|
|
|
"coupon": {
|
|
|
|
"id": "500off"
|
|
|
|
},
|
2015-12-15 14:45:52 -05:00
|
|
|
"customer": "cus_7XTLw21mDCPduP",
|
|
|
|
"subscription": "sub_7XTLVSO3Guyty9"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000005d"
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "basic",
|
2015-12-15 14:45:52 -05:00
|
|
|
"amount": 100
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"quantity": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|