Skip to content

Commit 03bd68f

Browse files
Update generated code for v1397
1 parent 691cf87 commit 03bd68f

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1396
1+
v1397

types/Terminal/Readers.d.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ declare module 'stripe' {
351351
}
352352

353353
interface CollectPaymentMethod {
354+
/**
355+
* Account the payment intent belongs to.
356+
*/
357+
account?: string;
358+
354359
/**
355360
* Represents a per-transaction override of a reader configuration
356361
*/
@@ -370,6 +375,9 @@ declare module 'stripe' {
370375
*/
371376
payment_method?: Stripe.PaymentMethod;
372377

378+
/**
379+
* This field will be deprecated. Please use `account` instead.
380+
*/
373381
stripe_account?: string;
374382
}
375383

@@ -402,15 +410,28 @@ declare module 'stripe' {
402410
}
403411

404412
interface ConfirmPaymentIntent {
413+
/**
414+
* Account the payment intent belongs to.
415+
*/
416+
account?: string;
417+
405418
/**
406419
* Most recent PaymentIntent processed by the reader.
407420
*/
408421
payment_intent: string | Stripe.PaymentIntent;
409422

423+
/**
424+
* This field will be deprecated. Please use `account` instead.
425+
*/
410426
stripe_account?: string;
411427
}
412428

413429
interface ProcessPaymentIntent {
430+
/**
431+
* Account the payment intent belongs to.
432+
*/
433+
account?: string;
434+
414435
/**
415436
* Most recent PaymentIntent processed by the reader.
416437
*/
@@ -421,6 +442,9 @@ declare module 'stripe' {
421442
*/
422443
process_config?: ProcessPaymentIntent.ProcessConfig;
423444

445+
/**
446+
* This field will be deprecated. Please use `account` instead.
447+
*/
424448
stripe_account?: string;
425449
}
426450

@@ -479,6 +503,11 @@ declare module 'stripe' {
479503
}
480504

481505
interface RefundPayment {
506+
/**
507+
* Account the payment intent belongs to.
508+
*/
509+
account?: string;
510+
482511
/**
483512
* The amount being refunded.
484513
*/
@@ -524,6 +553,9 @@ declare module 'stripe' {
524553
*/
525554
reverse_transfer?: boolean;
526555

556+
/**
557+
* This field will be deprecated. Please use `account` instead.
558+
*/
527559
stripe_account?: string;
528560
}
529561

0 commit comments

Comments
 (0)