Skip to content

Commit a512786

Browse files
Update OpenAPI specification for private preview
1 parent 1dff3ea commit a512786

2 files changed

Lines changed: 127 additions & 0 deletions

File tree

openapi/spec3.private_preview.sdk.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103062,13 +103062,17 @@
103062103062
"collect_inputs",
103063103063
"collect_payment_method",
103064103064
"confirm_payment_intent",
103065+
"print_content",
103065103066
"process_payment_intent",
103066103067
"process_setup_intent",
103067103068
"refund_payment",
103068103069
"set_reader_display"
103069103070
],
103070103071
"type": "string",
103071103072
"x-stripeBypassValidation": true
103073+
},
103074+
"print_content": {
103075+
"$ref": "#/components/schemas/terminal_reader_reader_resource_print_content"
103072103076
}
103073103077
},
103074103078
"required": [
@@ -103083,6 +103087,7 @@
103083103087
"collect_inputs",
103084103088
"collect_payment_method",
103085103089
"confirm_payment_intent",
103090+
"print_content",
103086103091
"process_payment_intent",
103087103092
"process_setup_intent",
103088103093
"refund_payment",
@@ -103094,6 +103099,7 @@
103094103099
"confirm_payment_intent",
103095103100
"failure_code",
103096103101
"failure_message",
103102+
"print_content",
103097103103
"process_payment_intent",
103098103104
"process_setup_intent",
103099103105
"refund_payment",
@@ -111181,6 +111187,72 @@
111181111187
"amount_type"
111182111188
]
111183111189
},
111190+
"terminal_reader_reader_resource_file_metadata": {
111191+
"description": "Metadata of an uploaded file",
111192+
"properties": {
111193+
"created_at": {
111194+
"description": "Creation time of the object (in seconds since the Unix epoch).",
111195+
"format": "unix-time",
111196+
"type": "integer"
111197+
},
111198+
"filename": {
111199+
"description": "The original name of the uploaded file (e.g. `receipt.png`).",
111200+
"maxLength": 5000,
111201+
"type": "string"
111202+
},
111203+
"size": {
111204+
"description": "The size (in bytes) of the uploaded file.",
111205+
"type": "integer"
111206+
},
111207+
"type": {
111208+
"description": "The format of the uploaded file.",
111209+
"maxLength": 5000,
111210+
"type": "string"
111211+
}
111212+
},
111213+
"required": [
111214+
"created_at",
111215+
"filename",
111216+
"size",
111217+
"type"
111218+
],
111219+
"title": "TerminalReaderReaderResourceFileMetadata",
111220+
"type": "object",
111221+
"x-expandableFields": [],
111222+
"x-stripeMostCommon": [
111223+
"created_at",
111224+
"filename",
111225+
"size",
111226+
"type"
111227+
]
111228+
},
111229+
"terminal_reader_reader_resource_print_content": {
111230+
"description": "Represents a reader action to print content",
111231+
"properties": {
111232+
"image": {
111233+
"$ref": "#/components/schemas/terminal_reader_reader_resource_file_metadata"
111234+
},
111235+
"type": {
111236+
"description": "The type of content to print. Currently supports `image`.",
111237+
"enum": [
111238+
"image"
111239+
],
111240+
"type": "string"
111241+
}
111242+
},
111243+
"required": [
111244+
"type"
111245+
],
111246+
"title": "TerminalReaderReaderResourcePrintContent",
111247+
"type": "object",
111248+
"x-expandableFields": [
111249+
"image"
111250+
],
111251+
"x-stripeMostCommon": [
111252+
"image",
111253+
"type"
111254+
]
111255+
},
111184111256
"shared_payment_tokens_risk_details_granted": {
111185111257
"description": "Risk details of the SharedPaymentGrantedToken.",
111186111258
"properties": {

openapi/spec3.private_preview.sdk.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92732,12 +92732,15 @@ components:
9273292732
- collect_inputs
9273392733
- collect_payment_method
9273492734
- confirm_payment_intent
92735+
- print_content
9273592736
- process_payment_intent
9273692737
- process_setup_intent
9273792738
- refund_payment
9273892739
- set_reader_display
9273992740
type: string
9274092741
x-stripeBypassValidation: true
92742+
print_content:
92743+
$ref: '#/components/schemas/terminal_reader_reader_resource_print_content'
9274192744
required:
9274292745
- failure_code
9274392746
- failure_message
@@ -92749,6 +92752,7 @@ components:
9274992752
- collect_inputs
9275092753
- collect_payment_method
9275192754
- confirm_payment_intent
92755+
- print_content
9275292756
- process_payment_intent
9275392757
- process_setup_intent
9275492758
- refund_payment
@@ -92759,6 +92763,7 @@ components:
9275992763
- confirm_payment_intent
9276092764
- failure_code
9276192765
- failure_message
92766+
- print_content
9276292767
- process_payment_intent
9276392768
- process_setup_intent
9276492769
- refund_payment
@@ -99682,6 +99687,56 @@ components:
9968299687
x-stripeMostCommon:
9968399688
- amount
9968499689
- amount_type
99690+
terminal_reader_reader_resource_file_metadata:
99691+
description: Metadata of an uploaded file
99692+
properties:
99693+
created_at:
99694+
description: Creation time of the object (in seconds since the Unix epoch).
99695+
format: unix-time
99696+
type: integer
99697+
filename:
99698+
description: The original name of the uploaded file (e.g. `receipt.png`).
99699+
maxLength: 5000
99700+
type: string
99701+
size:
99702+
description: The size (in bytes) of the uploaded file.
99703+
type: integer
99704+
type:
99705+
description: The format of the uploaded file.
99706+
maxLength: 5000
99707+
type: string
99708+
required:
99709+
- created_at
99710+
- filename
99711+
- size
99712+
- type
99713+
title: TerminalReaderReaderResourceFileMetadata
99714+
type: object
99715+
x-expandableFields: []
99716+
x-stripeMostCommon:
99717+
- created_at
99718+
- filename
99719+
- size
99720+
- type
99721+
terminal_reader_reader_resource_print_content:
99722+
description: Represents a reader action to print content
99723+
properties:
99724+
image:
99725+
$ref: '#/components/schemas/terminal_reader_reader_resource_file_metadata'
99726+
type:
99727+
description: The type of content to print. Currently supports `image`.
99728+
enum:
99729+
- image
99730+
type: string
99731+
required:
99732+
- type
99733+
title: TerminalReaderReaderResourcePrintContent
99734+
type: object
99735+
x-expandableFields:
99736+
- image
99737+
x-stripeMostCommon:
99738+
- image
99739+
- type
9968599740
shared_payment_tokens_risk_details_granted:
9968699741
description: Risk details of the SharedPaymentGrantedToken.
9968799742
properties:

0 commit comments

Comments
 (0)