mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
84 lines
No EOL
2.4 KiB
JSON
84 lines
No EOL
2.4 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/tokens",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "tok_17IOPFKaReE7xLUdEKcEw4rn",
|
|
"card": {
|
|
"id": "card_17IOPFKaReE7xLUdIsElfCWI"
|
|
},
|
|
"type": "card"
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/customers/cus_7XTL5uSTRsbBAg",
|
|
"status": 402,
|
|
"response": {
|
|
"error": {
|
|
"type": "card_error"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "GET",
|
|
"path": "/v1/charges",
|
|
"status": 200,
|
|
"response": {
|
|
"data": [
|
|
{
|
|
"id": "ch_17IOPFKaReE7xLUdToSxLUhB",
|
|
"amount": 100,
|
|
"customer": "cus_7XTL5uSTRsbBAg",
|
|
"metadata": {
|
|
"productID": "gems_5",
|
|
"gems": "5000",
|
|
"timestamp": "1450207455401"
|
|
},
|
|
"paid": false,
|
|
"refunds": {
|
|
"has_more": false
|
|
},
|
|
"source": {
|
|
"id": "card_17IOPAKaReE7xLUdbLiixDCY",
|
|
"customer": "cus_7XTL5uSTRsbBAg"
|
|
}
|
|
},
|
|
{
|
|
"id": "ch_17IOPCKaReE7xLUdjfj5TqZH",
|
|
"amount": 100,
|
|
"customer": "cus_7XTL5uSTRsbBAg",
|
|
"metadata": {
|
|
"productID": "gems_5",
|
|
"gems": "5000",
|
|
"timestamp": "1450207452790"
|
|
},
|
|
"paid": false,
|
|
"refunds": {
|
|
"has_more": false
|
|
},
|
|
"source": {
|
|
"id": "card_17IOPAKaReE7xLUdbLiixDCY",
|
|
"customer": "cus_7XTL5uSTRsbBAg"
|
|
}
|
|
}
|
|
],
|
|
"has_more": false
|
|
}
|
|
},
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/charges",
|
|
"status": 402,
|
|
"response": {
|
|
"error": {
|
|
"type": "card_error"
|
|
}
|
|
}
|
|
}
|
|
] |