generated from webtechnicom/Stripe-Connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathressource HTTP 2
86 lines (86 loc) · 2.2 KB
/
ressource HTTP 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
stripe get ch_1HQMSeIV32DS3o2YXQXBVveN
{
"id": "ch_1HQMSeIV32DS3o2YXQXBVveN",
"object": "charge",
"amount": 100,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1HQMSe2wqvxfBLhL9Rmz4ju6",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": "Jenny Rosen",
"phone": null
},
"calculated_statement_descriptor": null,
"captured": false,
"created": 1599869964,
"currency": "chf",
"customer": null,
"description": "My First Test Charge (created for API docs)",
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {},
"on_behalf_of": null,
"order": null,
"outcome": null,
"paid": true,
"payment_intent": null,
"payment_method": "card_1HPEPxIV32DS3o2Yunx0SSVY",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "pass"
},
"country": "US",
"exp_month": 8,
"exp_year": 2021,
"fingerprint": "2npnykn46JKMSn5s",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_1GlK6hIV32DS3o2Y/ch_1HQMSeIV32DS3o2YXQXBVveN/rcpt_I0NDa1eanN7SKEkOE69EGjUFIQkWlVz",
"refunded": false,
"refunds": {
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/charges/ch_1HQMSeIV32DS3o2YXQXBVveN/refunds"
},
"review": null,
"shipping": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
stripe get /v1/charges --limit 50
stripe get /v1/subscriptions -d status=past_due \
| jq ".data[].id" \
| xargs -I % -p stripe delete /subscriptions/%'