mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 12:51:12 -05:00
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
|
[
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "POST",
|
||
|
"path": "/v1/tokens",
|
||
|
"status": 200,
|
||
|
"response": {
|
||
|
"id": "tok_17GCV9KaReE7xLUdelU9sCaA",
|
||
|
"card": {
|
||
|
"id": "card_17GCV9KaReE7xLUd5uODONlo"
|
||
|
},
|
||
|
"type": "card"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "POST",
|
||
|
"path": "/v1/customers/cus_7VCuzP303kt1eU",
|
||
|
"status": 402,
|
||
|
"response": {
|
||
|
"error": {
|
||
|
"type": "card_error"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "GET",
|
||
|
"path": "/v1/charges",
|
||
|
"status": 200,
|
||
|
"response": {
|
||
|
"data": [
|
||
|
{
|
||
|
"id": "ch_17GCV9KaReE7xLUduvVirhN5",
|
||
|
"amount": 499,
|
||
|
"customer": "cus_7VCuzP303kt1eU",
|
||
|
"metadata": {
|
||
|
"productID": "gems_5",
|
||
|
"gems": "5000",
|
||
|
"timestamp": "1449685037831"
|
||
|
},
|
||
|
"paid": false,
|
||
|
"refunds": {
|
||
|
"has_more": false
|
||
|
},
|
||
|
"source": {
|
||
|
"id": "card_17GCV7KaReE7xLUdiPjgEUMd",
|
||
|
"customer": "cus_7VCuzP303kt1eU"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"has_more": false
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"scope": "https://api.stripe.com:443",
|
||
|
"method": "POST",
|
||
|
"path": "/v1/charges",
|
||
|
"status": 402,
|
||
|
"response": {
|
||
|
"error": {
|
||
|
"type": "card_error"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|