Skip to content

Commit

Permalink
Update OpenAPI for 455630bc6b95ae316343c3c5b51934fdf9c46c79
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Feb 27, 2024
1 parent 49192dd commit 5519c31
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 6 deletions.
63 changes: 60 additions & 3 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -62751,6 +62751,10 @@
"terminal_reader_reader_resource_collect_config": {
"description": "Represents a per-transaction override of a reader configuration",
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when processing this payment.",
"type": "boolean"
},
"skip_tipping": {
"description": "Override showing a tipping selection screen on this transaction.",
"type": "boolean"
Expand Down Expand Up @@ -62992,6 +62996,10 @@
"terminal_reader_reader_resource_process_config": {
"description": "Represents a per-transaction override of a reader configuration",
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when processing this payment.",
"type": "boolean"
},
"skip_tipping": {
"description": "Override showing a tipping selection screen on this transaction.",
"type": "boolean"
Expand Down Expand Up @@ -63048,7 +63056,12 @@
},
"terminal_reader_reader_resource_process_setup_config": {
"description": "Represents a per-setup override of a reader configuration",
"properties": {},
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when processing this SetupIntent.",
"type": "boolean"
}
},
"title": "TerminalReaderReaderResourceProcessSetupConfig",
"type": "object",
"x-expandableFields": []
Expand Down Expand Up @@ -63256,6 +63269,9 @@
"description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
"type": "boolean"
},
"refund_payment_config": {
"$ref": "#/components/schemas/terminal_reader_reader_resource_refund_payment_config"
},
"reverse_transfer": {
"description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
"type": "boolean"
Expand All @@ -63270,9 +63286,22 @@
"x-expandableFields": [
"charge",
"payment_intent",
"refund"
"refund",
"refund_payment_config"
]
},
"terminal_reader_reader_resource_refund_payment_config": {
"description": "Represents a per-transaction override of a reader configuration",
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when refunding this payment.",
"type": "boolean"
}
},
"title": "TerminalReaderReaderResourceRefundPaymentConfig",
"type": "object",
"x-expandableFields": []
},
"terminal_reader_reader_resource_selection": {
"description": "Information about a selection being collected using a reader",
"properties": {
Expand Down Expand Up @@ -185075,6 +185104,10 @@
"collect_config": {
"description": "Configuration overrides",
"properties": {
"enable_customer_cancellation": {
"description": "Enables cancel button on transaction screens.",
"type": "boolean"
},
"skip_tipping": {
"description": "Override showing a tipping selection screen on this transaction.",
"type": "boolean"
Expand Down Expand Up @@ -185264,6 +185297,10 @@
"process_config": {
"description": "Configuration overrides",
"properties": {
"enable_customer_cancellation": {
"description": "Enables cancel button on transaction screens.",
"type": "boolean"
},
"skip_tipping": {
"description": "Override showing a tipping selection screen on this transaction.",
"type": "boolean"
Expand Down Expand Up @@ -185363,7 +185400,12 @@
},
"process_config": {
"description": "Configuration overrides",
"properties": {},
"properties": {
"enable_customer_cancellation": {
"description": "Enables cancel button on transaction screens.",
"type": "boolean"
}
},
"title": "process_setup_config",
"type": "object"
},
Expand Down Expand Up @@ -185434,6 +185476,10 @@
"metadata": {
"explode": true,
"style": "deepObject"
},
"refund_payment_config": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
Expand Down Expand Up @@ -185472,6 +185518,17 @@
"description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
"type": "boolean"
},
"refund_payment_config": {
"description": "Configuration overrides",
"properties": {
"enable_customer_cancellation": {
"description": "Enables cancel button on transaction screens.",
"type": "boolean"
}
},
"title": "refund_payment_config",
"type": "object"
},
"reverse_transfer": {
"description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
"type": "boolean"
Expand Down
52 changes: 49 additions & 3 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -42621,6 +42621,10 @@
"terminal_reader_reader_resource_process_config": {
"description": "Represents a per-transaction override of a reader configuration",
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when processing this payment.",
"type": "boolean"
},
"skip_tipping": {
"description": "Override showing a tipping selection screen on this transaction.",
"type": "boolean"
Expand Down Expand Up @@ -42673,7 +42677,12 @@
},
"terminal_reader_reader_resource_process_setup_config": {
"description": "Represents a per-setup override of a reader configuration",
"properties": {},
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when processing this SetupIntent.",
"type": "boolean"
}
},
"title": "TerminalReaderReaderResourceProcessSetupConfig",
"type": "object",
"x-expandableFields": []
Expand Down Expand Up @@ -42865,6 +42874,9 @@
"description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
"type": "boolean"
},
"refund_payment_config": {
"$ref": "#/components/schemas/terminal_reader_reader_resource_refund_payment_config"
},
"reverse_transfer": {
"description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
"type": "boolean"
Expand All @@ -42875,9 +42887,22 @@
"x-expandableFields": [
"charge",
"payment_intent",
"refund"
"refund",
"refund_payment_config"
]
},
"terminal_reader_reader_resource_refund_payment_config": {
"description": "Represents a per-transaction override of a reader configuration",
"properties": {
"enable_customer_cancellation": {
"description": "Enable customer initiated cancellation when refunding this payment.",
"type": "boolean"
}
},
"title": "TerminalReaderReaderResourceRefundPaymentConfig",
"type": "object",
"x-expandableFields": []
},
"terminal_reader_reader_resource_set_reader_display_action": {
"description": "Represents a reader action to set the reader display",
"properties": {
Expand Down Expand Up @@ -135041,6 +135066,9 @@
"process_config": {
"description": "Configuration overrides",
"properties": {
"enable_customer_cancellation": {
"type": "boolean"
},
"skip_tipping": {
"type": "boolean"
},
Expand Down Expand Up @@ -135137,7 +135165,11 @@
},
"process_config": {
"description": "Configuration overrides",
"properties": {},
"properties": {
"enable_customer_cancellation": {
"type": "boolean"
}
},
"title": "process_setup_config",
"type": "object"
},
Expand Down Expand Up @@ -135208,6 +135240,10 @@
"metadata": {
"explode": true,
"style": "deepObject"
},
"refund_payment_config": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
Expand Down Expand Up @@ -135246,6 +135282,16 @@
"description": "Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.",
"type": "boolean"
},
"refund_payment_config": {
"description": "Configuration overrides",
"properties": {
"enable_customer_cancellation": {
"type": "boolean"
}
},
"title": "refund_payment_config",
"type": "object"
},
"reverse_transfer": {
"description": "Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.",
"type": "boolean"
Expand Down

0 comments on commit 5519c31

Please sign in to comment.