2015-12-09 17:27:10 -05:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/tokens",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "tok_17IOPOKaReE7xLUdfaGNs2bY",
|
2015-12-09 17:27:10 -05:00
|
|
|
"card": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOPOKaReE7xLUdynADA8zk"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"type": "card"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/customers",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTMkthRYmfilo",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"email": "normal@jo.com",
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000006a"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOPOKaReE7xLUdynADA8zk",
|
|
|
|
"customer": "cus_7XTMkthRYmfilo"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/charges",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
2015-12-15 14:45:52 -05:00
|
|
|
"path": "/v1/customers/cus_7XTMkthRYmfilo",
|
2015-12-09 17:27:10 -05:00
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "cus_7XTMkthRYmfilo",
|
2015-12-09 17:27:10 -05:00
|
|
|
"alipay_accounts": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"email": "normal@jo.com",
|
|
|
|
"metadata": {
|
|
|
|
"id": "00000000000000000000006a"
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOPOKaReE7xLUdynADA8zk",
|
|
|
|
"customer": "cus_7XTMkthRYmfilo"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "POST",
|
|
|
|
"path": "/v1/charges",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "ch_17IOPQKaReE7xLUdsAmwl7fg",
|
|
|
|
"amount": 100,
|
|
|
|
"customer": "cus_7XTMkthRYmfilo",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"productID": "gems_5",
|
|
|
|
"gems": "5000",
|
2015-12-15 14:45:52 -05:00
|
|
|
"timestamp": "1450207466249"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"paid": true,
|
|
|
|
"refunds": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"source": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOPOKaReE7xLUdynADA8zk",
|
|
|
|
"customer": "cus_7XTMkthRYmfilo"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"scope": "https://api.stripe.com:443",
|
|
|
|
"method": "GET",
|
|
|
|
"path": "/v1/charges",
|
|
|
|
"status": 200,
|
|
|
|
"response": {
|
|
|
|
"data": [
|
|
|
|
{
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "ch_17IOPQKaReE7xLUdsAmwl7fg",
|
|
|
|
"amount": 100,
|
|
|
|
"customer": "cus_7XTMkthRYmfilo",
|
2015-12-09 17:27:10 -05:00
|
|
|
"metadata": {
|
|
|
|
"productID": "gems_5",
|
|
|
|
"gems": "5000",
|
2015-12-15 14:45:52 -05:00
|
|
|
"timestamp": "1450207466249"
|
2015-12-09 17:27:10 -05:00
|
|
|
},
|
|
|
|
"paid": true,
|
|
|
|
"refunds": {
|
|
|
|
"has_more": false
|
|
|
|
},
|
|
|
|
"source": {
|
2015-12-15 14:45:52 -05:00
|
|
|
"id": "card_17IOPOKaReE7xLUdynADA8zk",
|
|
|
|
"customer": "cus_7XTMkthRYmfilo"
|
2015-12-09 17:27:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|