Skip to content

Commit e9afb4c

Browse files
Update OpenAPI for af5309cae53e5f666f9686dfed306d6d3b5fdc67
1 parent e52a47a commit e9afb4c

4 files changed

Lines changed: 81152 additions & 3775 deletions

File tree

embedded/openapi/fixtures3.beta.json

Lines changed: 48 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,22 +1104,7 @@
11041104
"refunds": [
11051105
{
11061106
"amount_refunded": 1387154914,
1107-
"refund": {
1108-
"amount": 1413853096,
1109-
"balance_transaction": null,
1110-
"charge": null,
1111-
"created": 1028554472,
1112-
"currency": "currency",
1113-
"id": "obj_123",
1114-
"metadata": null,
1115-
"object": "refund",
1116-
"payment_intent": null,
1117-
"reason": null,
1118-
"receipt_number": null,
1119-
"source_transfer_reversal": null,
1120-
"status": null,
1121-
"transfer_reversal": null
1122-
},
1107+
"refund": "refund",
11231108
"payment_record_refund": {
11241109
"payment_record": "payment_record",
11251110
"refund_group": "refund_group"
@@ -2182,7 +2167,8 @@
21822167
"status": null,
21832168
"tracking_number": null,
21842169
"tracking_url": null,
2185-
"type": "bulk"
2170+
"type": "bulk",
2171+
"business_name": null
21862172
},
21872173
"spending_controls": {
21882174
"allowed_categories": null,
@@ -2413,7 +2399,8 @@
24132399
"status": null,
24142400
"tracking_number": null,
24152401
"tracking_url": null,
2416-
"type": "bulk"
2402+
"type": "bulk",
2403+
"business_name": null
24172404
},
24182405
"spending_controls": {
24192406
"allowed_categories": null,
@@ -3369,7 +3356,10 @@
33693356
"days_until_due": null,
33703357
"issuer": {
33713358
"type": "account"
3372-
}
3359+
},
3360+
"custom_fields": null,
3361+
"description": null,
3362+
"footer": null
33733363
},
33743364
"livemode": false,
33753365
"metadata": {},
@@ -3458,7 +3448,10 @@
34583448
"receipt_number": null,
34593449
"source_transfer_reversal": null,
34603450
"status": "succeeded",
3461-
"transfer_reversal": null
3451+
"transfer_reversal": null,
3452+
"customer": null,
3453+
"customer_account": null,
3454+
"payment_method": null
34623455
},
34633456
"reporting.report_run": {
34643457
"created": 1234567890,
@@ -4212,7 +4205,10 @@
42124205
"days_until_due": null,
42134206
"issuer": {
42144207
"type": "account"
4215-
}
4208+
},
4209+
"custom_fields": null,
4210+
"description": null,
4211+
"footer": null
42164212
},
42174213
"on_behalf_of": null,
42184214
"transfer_data": {
@@ -4248,7 +4244,10 @@
42484244
"days_until_due": null,
42494245
"issuer": {
42504246
"type": "account"
4251-
}
4247+
},
4248+
"custom_fields": null,
4249+
"description": null,
4250+
"footer": null
42524251
},
42534252
"items": [
42544253
{
@@ -4535,7 +4534,8 @@
45354534
},
45364535
"statement_descriptor": null,
45374536
"status": "pending",
4538-
"transfer_group": null
4537+
"transfer_group": null,
4538+
"initiated_by": null
45394539
},
45404540
"transfer": {
45414541
"amount": 1100,
@@ -5122,7 +5122,8 @@
51225122
"capture_payments": true,
51235123
"destination_on_behalf_of_charge_management": true,
51245124
"dispute_management": true,
5125-
"refund_management": true
5125+
"refund_management": true,
5126+
"smart_disputes_management": true
51265127
}
51275128
},
51285129
"documents": {
@@ -5176,15 +5177,17 @@
51765177
"capture_payments": true,
51775178
"destination_on_behalf_of_charge_management": true,
51785179
"dispute_management": true,
5179-
"refund_management": true
5180+
"refund_management": true,
5181+
"smart_disputes_management": true
51805182
}
51815183
},
51825184
"payment_disputes": {
51835185
"enabled": true,
51845186
"features": {
51855187
"destination_on_behalf_of_charge_management": true,
51865188
"dispute_management": true,
5187-
"refund_management": true
5189+
"refund_management": true,
5190+
"smart_disputes_management": true
51885191
}
51895192
},
51905193
"payments": {
@@ -5193,7 +5196,8 @@
51935196
"capture_payments": true,
51945197
"destination_on_behalf_of_charge_management": true,
51955198
"dispute_management": true,
5196-
"refund_management": true
5199+
"refund_management": true,
5200+
"smart_disputes_management": true
51975201
}
51985202
},
51995203
"payouts": {
@@ -6839,7 +6843,10 @@
68396843
"days_until_due": null,
68406844
"issuer": {
68416845
"type": "account"
6842-
}
6846+
},
6847+
"custom_fields": null,
6848+
"description": null,
6849+
"footer": null
68436850
},
68446851
"on_behalf_of": null,
68456852
"transfer_data": {
@@ -6903,7 +6910,10 @@
69036910
"days_until_due": null,
69046911
"issuer": {
69056912
"type": "account"
6906-
}
6913+
},
6914+
"custom_fields": null,
6915+
"description": null,
6916+
"footer": null
69076917
},
69086918
"items": [
69096919
{
@@ -7318,7 +7328,8 @@
73187328
"description": null,
73197329
"id": "obj_123",
73207330
"object": "tax.location",
7321-
"type": "performance"
7331+
"type": "performance",
7332+
"livemode": true
73227333
},
73237334
"product_catalog.trial_offer": {
73247335
"duration": {
@@ -7358,7 +7369,7 @@
73587369
"phone": null,
73597370
"tax_id": null
73607371
},
7361-
"type": "bancontact"
7372+
"type": "affirm"
73627373
},
73637374
"shared_metadata": null,
73647375
"usage_details": {
@@ -7386,6 +7397,10 @@
73867397
"type": "use_stripe_sdk",
73877398
"use_stripe_sdk": {
73887399
"value": "value"
7400+
},
7401+
"redirect_to_url": {
7402+
"return_url": "return_url",
7403+
"url": "url"
73897404
}
73907405
},
73917406
"object": "shared_payment.issued_token",
@@ -7407,7 +7422,8 @@
74077422
"currency": "usd",
74087423
"expires_at": null,
74097424
"max_amount": 803901331
7410-
}
7425+
},
7426+
"use_stripe_sdk": null
74117427
},
74127428
"terminal.refund": {
74137429
"object": "terminal.refund"

embedded/openapi/fixtures3.json

Lines changed: 42 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@
192192
"capture_payments": true,
193193
"destination_on_behalf_of_charge_management": false,
194194
"dispute_management": true,
195-
"refund_management": true
195+
"refund_management": true,
196+
"smart_disputes_management": true
196197
}
197198
},
198199
"payments": {
@@ -201,7 +202,8 @@
201202
"capture_payments": true,
202203
"destination_on_behalf_of_charge_management": false,
203204
"dispute_management": true,
204-
"refund_management": true
205+
"refund_management": true,
206+
"smart_disputes_management": true
205207
}
206208
},
207209
"payouts": {
@@ -266,15 +268,17 @@
266268
"capture_payments": true,
267269
"destination_on_behalf_of_charge_management": true,
268270
"dispute_management": true,
269-
"refund_management": true
271+
"refund_management": true,
272+
"smart_disputes_management": true
270273
}
271274
},
272275
"payment_disputes": {
273276
"enabled": true,
274277
"features": {
275278
"destination_on_behalf_of_charge_management": true,
276279
"dispute_management": true,
277-
"refund_management": true
280+
"refund_management": true,
281+
"smart_disputes_management": true
278282
}
279283
},
280284
"instant_payouts_promotion": {
@@ -1566,22 +1570,7 @@
15661570
"refunds": [
15671571
{
15681572
"amount_refunded": 1387154914,
1569-
"refund": {
1570-
"amount": 1413853096,
1571-
"balance_transaction": null,
1572-
"charge": null,
1573-
"created": 1028554472,
1574-
"currency": "currency",
1575-
"id": "obj_123",
1576-
"metadata": null,
1577-
"object": "refund",
1578-
"payment_intent": null,
1579-
"reason": null,
1580-
"receipt_number": null,
1581-
"source_transfer_reversal": null,
1582-
"status": null,
1583-
"transfer_reversal": null
1584-
},
1573+
"refund": "refund",
15851574
"payment_record_refund": {
15861575
"payment_record": "payment_record",
15871576
"refund_group": "refund_group"
@@ -1956,7 +1945,8 @@
19561945
"card": {
19571946
"brand": "visa",
19581947
"case_type": "inquiry",
1959-
"network_reason_code": "10.4"
1948+
"network_reason_code": "10.4",
1949+
"network": "visa"
19601950
},
19611951
"type": "card"
19621952
},
@@ -2382,7 +2372,6 @@
23822372
"account_tax_ids": null,
23832373
"amount_due": 1000,
23842374
"amount_paid": 0,
2385-
"amount_paid_off_stripe": 0,
23862375
"amount_remaining": 1000,
23872376
"amount_shipping": 0,
23882377
"application": null,
@@ -2738,7 +2727,8 @@
27382727
"status": null,
27392728
"tracking_number": null,
27402729
"tracking_url": null,
2741-
"type": "bulk"
2730+
"type": "bulk",
2731+
"business_name": null
27422732
},
27432733
"spending_controls": {
27442734
"allowed_categories": null,
@@ -2972,7 +2962,8 @@
29722962
"status": null,
29732963
"tracking_number": null,
29742964
"tracking_url": null,
2975-
"type": "bulk"
2965+
"type": "bulk",
2966+
"business_name": null
29762967
},
29772968
"spending_controls": {
29782969
"allowed_categories": null,
@@ -4258,7 +4249,10 @@
42584249
"days_until_due": null,
42594250
"issuer": {
42604251
"type": "self"
4261-
}
4252+
},
4253+
"custom_fields": null,
4254+
"description": null,
4255+
"footer": null
42624256
},
42634257
"livemode": false,
42644258
"metadata": {},
@@ -4353,7 +4347,10 @@
43534347
"receipt_number": null,
43544348
"source_transfer_reversal": null,
43554349
"status": "succeeded",
4356-
"transfer_reversal": null
4350+
"transfer_reversal": null,
4351+
"customer": null,
4352+
"customer_account": null,
4353+
"payment_method": null
43574354
},
43584355
"reporting.report_run": {
43594356
"created": 1234567890,
@@ -5039,7 +5036,10 @@
50395036
"days_until_due": null,
50405037
"issuer": {
50415038
"type": "self"
5042-
}
5039+
},
5040+
"custom_fields": null,
5041+
"description": null,
5042+
"footer": null
50435043
},
50445044
"on_behalf_of": null,
50455045
"transfer_data": {
@@ -5076,7 +5076,10 @@
50765076
"days_until_due": null,
50775077
"issuer": {
50785078
"type": "account"
5079-
}
5079+
},
5080+
"custom_fields": null,
5081+
"description": null,
5082+
"footer": null
50805083
},
50815084
"items": [
50825085
{
@@ -5575,7 +5578,8 @@
55755578
},
55765579
"statement_descriptor": null,
55775580
"status": "pending",
5578-
"transfer_group": null
5581+
"transfer_group": null,
5582+
"initiated_by": null
55795583
},
55805584
"transfer": {
55815585
"amount": 1100,
@@ -6693,8 +6697,16 @@
66936697
"reserve_hold": null,
66946698
"reserve_plan": null
66956699
},
6700+
"financial_connections.authorization": {
6701+
"object": "financial_connections.authorization",
6702+
"id": "obj_123",
6703+
"institution_name": "institution_name",
6704+
"livemode": true,
6705+
"status": "active",
6706+
"status_details": {}
6707+
},
66966708
"terminal.refund": {
66976709
"object": "terminal.refund"
66986710
}
66996711
}
6700-
}
6712+
}

0 commit comments

Comments
 (0)