diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 63a5463a..e818dff0 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -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" @@ -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" @@ -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": [] @@ -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" @@ -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": { @@ -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" @@ -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" @@ -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" }, @@ -185434,6 +185476,10 @@ "metadata": { "explode": true, "style": "deepObject" + }, + "refund_payment_config": { + "explode": true, + "style": "deepObject" } }, "schema": { @@ -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" diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index f03ca53d..201962c3 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -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" @@ -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": [] @@ -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" @@ -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": { @@ -135041,6 +135066,9 @@ "process_config": { "description": "Configuration overrides", "properties": { + "enable_customer_cancellation": { + "type": "boolean" + }, "skip_tipping": { "type": "boolean" }, @@ -135137,7 +135165,11 @@ }, "process_config": { "description": "Configuration overrides", - "properties": {}, + "properties": { + "enable_customer_cancellation": { + "type": "boolean" + } + }, "title": "process_setup_config", "type": "object" }, @@ -135208,6 +135240,10 @@ "metadata": { "explode": true, "style": "deepObject" + }, + "refund_payment_config": { + "explode": true, + "style": "deepObject" } }, "schema": { @@ -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"