Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Sep 19, 2023
1 parent 17e3aa5 commit 60054ca
Show file tree
Hide file tree
Showing 6 changed files with 608 additions and 115 deletions.
183 changes: 145 additions & 38 deletions openapi/spec3.beta.sdk.json

Large diffs are not rendered by default.

136 changes: 105 additions & 31 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27740,14 +27740,23 @@ components:
Custom text that should be displayed alongside the payment
confirmation button.
nullable: true
terms_of_service_acceptance:
anyOf:
- $ref: '#/components/schemas/payment_links_resource_custom_text_position'
description: >-
Custom text that should be displayed in place of the default terms
of service agreement text.
nullable: true
required:
- shipping_address
- submit
- terms_of_service_acceptance
title: PaymentLinksResourceCustomText
type: object
x-expandableFields:
- shipping_address
- submit
- terms_of_service_acceptance
x-stripeResource:
class_name: CustomText
in_package: ''
Expand Down Expand Up @@ -34277,14 +34286,24 @@ components:
Custom text that should be displayed alongside the payment
confirmation button.
nullable: true
terms_of_service_acceptance:
anyOf:
- $ref: >-
#/components/schemas/payment_pages_checkout_session_custom_text_position
description: >-
Custom text that should be displayed in place of the default terms
of service agreement text.
nullable: true
required:
- shipping_address
- submit
- terms_of_service_acceptance
title: PaymentPagesCheckoutSessionCustomText
type: object
x-expandableFields:
- shipping_address
- submit
- terms_of_service_acceptance
x-stripeResource:
class_name: CustomText
in_package: ''
Expand Down Expand Up @@ -57171,7 +57190,7 @@ paths:
are a Social Security Number in the U.S., or a Social
Insurance Number in Canada). Instead of the number
itself, you can also provide a [PII token created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -57182,7 +57201,7 @@ paths:
In Thailand, this would be the laser code found on the
back of an ID card. Instead of the number itself, you
can also provide a [PII token created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down Expand Up @@ -59128,7 +59147,7 @@ paths:
are a Social Security Number in the U.S., or a Social
Insurance Number in Canada). Instead of the number
itself, you can also provide a [PII token created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -59139,7 +59158,7 @@ paths:
In Thailand, this would be the laser code found on the
back of an ID card. Instead of the number itself, you
can also provide a [PII token created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down Expand Up @@ -60783,7 +60802,7 @@ paths:
For example, a social security number in the U.S., social
insurance number in Canada, etc. Instead of the number
itself, you can also provide a [PII token provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -60793,7 +60812,7 @@ paths:
Thailand, this would be the laser code found on the back of
an ID card. Instead of the number itself, you can also
provide a [PII token provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down Expand Up @@ -61406,7 +61425,7 @@ paths:
For example, a social security number in the U.S., social
insurance number in Canada, etc. Instead of the number
itself, you can also provide a [PII token provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -61416,7 +61435,7 @@ paths:
Thailand, this would be the laser code found on the back of
an ID card. Instead of the number itself, you can also
provide a [PII token provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down Expand Up @@ -67007,6 +67026,23 @@ paths:
description: >-
Custom text that should be displayed alongside the
payment confirmation button.
terms_of_service_acceptance:
anyOf:
- properties:
message:
description: Text may be up to 1000 characters in length.
maxLength: 1000
type: string
required:
- message
title: custom_text_position_param
type: object
- enum:
- ''
type: string
description: >-
Custom text that should be displayed in place of the
default terms of service agreement text.
title: custom_text_param
type: object
customer:
Expand Down Expand Up @@ -86071,28 +86107,32 @@ paths:
The file for the card logo, for use with card bundles that
support card logos.
carrier_text:
anyOf:
- properties:
footer_body:
description: The footer body text of the carrier letter.
maxLength: 5000
type: string
footer_title:
description: The footer title text of the carrier letter.
maxLength: 5000
type: string
header_body:
description: The header body text of the carrier letter.
maxLength: 5000
type: string
header_title:
description: The header title text of the carrier letter.
maxLength: 5000
type: string
title: carrier_text_param
type: object
- enum:
- ''
type: string
description: >-
Hash containing carrier text, for use with card bundles that
support carrier text.
properties:
footer_body:
description: The footer body text of the carrier letter.
maxLength: 5000
type: string
footer_title:
description: The footer title text of the carrier letter.
maxLength: 5000
type: string
header_body:
description: The header body text of the carrier letter.
maxLength: 5000
type: string
header_title:
description: The header title text of the carrier letter.
maxLength: 5000
type: string
title: carrier_text_param
type: object
expand:
description: Specifies which fields in the response should be expanded.
items:
Expand Down Expand Up @@ -110823,6 +110863,23 @@ paths:
description: >-
Custom text that should be displayed alongside the
payment confirmation button.
terms_of_service_acceptance:
anyOf:
- properties:
message:
description: Text may be up to 1000 characters in length.
maxLength: 1000
type: string
required:
- message
title: custom_text_position_param
type: object
- enum:
- ''
type: string
description: >-
Custom text that should be displayed in place of the
default terms of service agreement text.
title: custom_text_param
type: object
customer_creation:
Expand Down Expand Up @@ -111836,6 +111893,23 @@ paths:
description: >-
Custom text that should be displayed alongside the
payment confirmation button.
terms_of_service_acceptance:
anyOf:
- properties:
message:
description: Text may be up to 1000 characters in length.
maxLength: 1000
type: string
required:
- message
title: custom_text_position_param
type: object
- enum:
- ''
type: string
description: >-
Custom text that should be displayed in place of the
default terms of service agreement text.
title: custom_text_param
type: object
customer_creation:
Expand Down Expand Up @@ -151416,7 +151490,7 @@ paths:
or a Social Insurance Number in Canada). Instead of
the number itself, you can also provide a [PII token
created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -151428,7 +151502,7 @@ paths:
found on the back of an ID card. Instead of the
number itself, you can also provide a [PII token
created with
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down Expand Up @@ -152017,7 +152091,7 @@ paths:
U.S., social insurance number in Canada, etc. Instead of
the number itself, you can also provide a [PII token
provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
id_number_secondary:
Expand All @@ -152027,7 +152101,7 @@ paths:
checks. In Thailand, this would be the laser code found
on the back of an ID card. Instead of the number itself,
you can also provide a [PII token provided by
Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
Stripe.js](https://stripe.com/docs/js/tokens/create_token?type=pii).
maxLength: 5000
type: string
last_name:
Expand Down
Loading

0 comments on commit 60054ca

Please sign in to comment.