Skip to content

Commit 576a70b

Browse files
Update OpenAPI specification for private preview
1 parent 793bde6 commit 576a70b

File tree

2 files changed

+108
-6
lines changed

2 files changed

+108
-6
lines changed

openapi/spec3.private_preview.sdk.json

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58745,6 +58745,9 @@
5874558745
"description": "The public URL that can be shared with customers.",
5874658746
"maxLength": 5000,
5874758747
"type": "string"
58748+
},
58749+
"automatic_surcharge": {
58750+
"$ref": "#/components/schemas/payment_links_resource_automatic_surcharge"
5874858751
}
5874958752
},
5875058753
"required": [
@@ -58786,6 +58789,7 @@
5878658789
"x-expandableFields": [
5878758790
"after_completion",
5878858791
"application",
58792+
"automatic_surcharge",
5878958793
"automatic_tax",
5879058794
"consent_collection",
5879158795
"custom_fields",
@@ -110749,11 +110753,61 @@
110749110753
"service_type"
110750110754
]
110751110755
},
110756+
"payment_links_resource_automatic_surcharge": {
110757+
"description": "",
110758+
"properties": {
110759+
"calculation_basis": {
110760+
"description": "Determines which amount serves as the basis for calculating the surcharge.",
110761+
"enum": [
110762+
"total_after_tax",
110763+
"total_before_tax"
110764+
],
110765+
"nullable": true,
110766+
"type": "string"
110767+
},
110768+
"enabled": {
110769+
"description": "Indicates whether automatic surcharge is enabled for the payment link.",
110770+
"type": "boolean"
110771+
},
110772+
"provider": {
110773+
"description": "The surcharge provider used for this payment link.",
110774+
"enum": [
110775+
"interpayments",
110776+
"yeeld"
110777+
],
110778+
"type": "string"
110779+
},
110780+
"tax_behavior": {
110781+
"description": "Specifies whether the surcharge is considered inclusive or exclusive of taxes.",
110782+
"enum": [
110783+
"exclusive",
110784+
"inclusive",
110785+
"unspecified"
110786+
],
110787+
"nullable": true,
110788+
"type": "string"
110789+
}
110790+
},
110791+
"required": [
110792+
"calculation_basis",
110793+
"enabled",
110794+
"tax_behavior"
110795+
],
110796+
"title": "PaymentLinksResourceAutomaticSurcharge",
110797+
"type": "object",
110798+
"x-expandableFields": [],
110799+
"x-stripeMostCommon": [
110800+
"calculation_basis",
110801+
"enabled",
110802+
"provider",
110803+
"tax_behavior"
110804+
]
110805+
},
110752110806
"payment_pages_checkout_session_automatic_surcharge": {
110753110807
"description": "",
110754110808
"properties": {
110755110809
"calculation_basis": {
110756-
"description": "Determines which amount is used as the basis for calculating the surcharge.",
110810+
"description": "Determines which amount serves as the basis for calculating the surcharge.",
110757110811
"enum": [
110758110812
"total_after_tax",
110759110813
"total_before_tax"
@@ -145902,7 +145956,7 @@
145902145956
"description": "Settings for automatic surcharge calculation for this session.",
145903145957
"properties": {
145904145958
"calculation_basis": {
145905-
"description": "Determines which amount is used as the basis for calculating the surcharge.",
145959+
"description": "Determines which amount serves as the basis for calculating the surcharge.",
145906145960
"enum": [
145907145961
"total_after_tax",
145908145962
"total_before_tax"
@@ -239949,7 +240003,7 @@
239949240003
"description": "Configuration for automatic surcharge calculation.",
239950240004
"properties": {
239951240005
"calculation_basis": {
239952-
"description": "Determines which amount is used as the basis for calculating the surcharge.",
240006+
"description": "Determines which amount serves as the basis for calculating the surcharge.",
239953240007
"enum": [
239954240008
"total_after_tax",
239955240009
"total_before_tax"

openapi/spec3.private_preview.sdk.yaml

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53021,6 +53021,8 @@ components:
5302153021
description: The public URL that can be shared with customers.
5302253022
maxLength: 5000
5302353023
type: string
53024+
automatic_surcharge:
53025+
$ref: '#/components/schemas/payment_links_resource_automatic_surcharge'
5302453026
required:
5302553027
- active
5302653028
- after_completion
@@ -53059,6 +53061,7 @@ components:
5305953061
x-expandableFields:
5306053062
- after_completion
5306153063
- application
53064+
- automatic_surcharge
5306253065
- automatic_tax
5306353066
- consent_collection
5306453067
- custom_fields
@@ -99335,12 +99338,57 @@ components:
9933599338
x-stripeMostCommon:
9933699339
- product_type
9933799340
- service_type
99341+
payment_links_resource_automatic_surcharge:
99342+
description: ''
99343+
properties:
99344+
calculation_basis:
99345+
description: >-
99346+
Determines which amount serves as the basis for calculating the
99347+
surcharge.
99348+
enum:
99349+
- total_after_tax
99350+
- total_before_tax
99351+
nullable: true
99352+
type: string
99353+
enabled:
99354+
description: >-
99355+
Indicates whether automatic surcharge is enabled for the payment
99356+
link.
99357+
type: boolean
99358+
provider:
99359+
description: The surcharge provider used for this payment link.
99360+
enum:
99361+
- interpayments
99362+
- yeeld
99363+
type: string
99364+
tax_behavior:
99365+
description: >-
99366+
Specifies whether the surcharge is considered inclusive or exclusive
99367+
of taxes.
99368+
enum:
99369+
- exclusive
99370+
- inclusive
99371+
- unspecified
99372+
nullable: true
99373+
type: string
99374+
required:
99375+
- calculation_basis
99376+
- enabled
99377+
- tax_behavior
99378+
title: PaymentLinksResourceAutomaticSurcharge
99379+
type: object
99380+
x-expandableFields: []
99381+
x-stripeMostCommon:
99382+
- calculation_basis
99383+
- enabled
99384+
- provider
99385+
- tax_behavior
9933899386
payment_pages_checkout_session_automatic_surcharge:
9933999387
description: ''
9934099388
properties:
9934199389
calculation_basis:
9934299390
description: >-
99343-
Determines which amount is used as the basis for calculating the
99391+
Determines which amount serves as the basis for calculating the
9934499392
surcharge.
9934599393
enum:
9934699394
- total_after_tax
@@ -132967,7 +133015,7 @@ paths:
132967133015
properties:
132968133016
calculation_basis:
132969133017
description: >-
132970-
Determines which amount is used as the basis for
133018+
Determines which amount serves as the basis for
132971133019
calculating the surcharge.
132972133020
enum:
132973133021
- total_after_tax
@@ -225146,7 +225194,7 @@ paths:
225146225194
properties:
225147225195
calculation_basis:
225148225196
description: >-
225149-
Determines which amount is used as the basis for
225197+
Determines which amount serves as the basis for
225150225198
calculating the surcharge.
225151225199
enum:
225152225200
- total_after_tax

0 commit comments

Comments
 (0)