mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 11:32:25 -05:00
66 lines
No EOL
1.7 KiB
JSON
66 lines
No EOL
1.7 KiB
JSON
[
|
|
{
|
|
"scope": "https://api.stripe.com:443",
|
|
"method": "POST",
|
|
"path": "/v1/tokens",
|
|
"status": 200,
|
|
"response": {
|
|
"id": "tok_17IOPDKaReE7xLUdOTkDGNQH",
|
|
"card": {
|
|
"id": "card_17IOPDKaReE7xLUdOPYVzwbP"
|
|
},
|
|
"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_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"
|
|
}
|
|
}
|
|
}
|
|
] |