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 Jul 12, 2024
1 parent 3604184 commit 1172c93
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 0 deletions.
22 changes: 22 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -10003,6 +10003,26 @@
"cashapp": {
"$ref": "#/components/schemas/payment_method_cashapp"
},
"customer": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/customer"
}
],
"description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/customer"
}
]
}
},
"customer_balance": {
"$ref": "#/components/schemas/payment_method_customer_balance"
},
Expand Down Expand Up @@ -10138,6 +10158,7 @@
},
"required": [
"billing_details",
"customer",
"type"
],
"title": "ConfirmationTokensResourcePaymentMethodPreview",
Expand All @@ -10157,6 +10178,7 @@
"card",
"card_present",
"cashapp",
"customer",
"customer_balance",
"eps",
"fpx",
Expand Down
15 changes: 15 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9700,6 +9700,19 @@ components:
$ref: '#/components/schemas/payment_method_card_present'
cashapp:
$ref: '#/components/schemas/payment_method_cashapp'
customer:
anyOf:
- maxLength: 5000
type: string
- $ref: '#/components/schemas/customer'
description: >-
The ID of the Customer to which this PaymentMethod is saved. This
will not be set when the PaymentMethod has not been saved to a
Customer.
nullable: true
x-expansionResources:
oneOf:
- $ref: '#/components/schemas/customer'
customer_balance:
$ref: '#/components/schemas/payment_method_customer_balance'
eps:
Expand Down Expand Up @@ -9807,6 +9820,7 @@ components:
$ref: '#/components/schemas/payment_method_zip'
required:
- billing_details
- customer
- type
title: ConfirmationTokensResourcePaymentMethodPreview
type: object
Expand All @@ -9825,6 +9839,7 @@ components:
- card
- card_present
- cashapp
- customer
- customer_balance
- eps
- fpx
Expand Down
21 changes: 21 additions & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -7076,6 +7076,26 @@
"cashapp": {
"$ref": "#/components/schemas/payment_method_cashapp"
},
"customer": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/customer"
}
],
"description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/customer"
}
]
}
},
"customer_balance": {
"$ref": "#/components/schemas/payment_method_customer_balance"
},
Expand Down Expand Up @@ -7222,6 +7242,7 @@
"card",
"card_present",
"cashapp",
"customer",
"customer_balance",
"eps",
"fpx",
Expand Down
22 changes: 22 additions & 0 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -8900,6 +8900,26 @@
"cashapp": {
"$ref": "#/components/schemas/payment_method_cashapp"
},
"customer": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/customer"
}
],
"description": "The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/customer"
}
]
}
},
"customer_balance": {
"$ref": "#/components/schemas/payment_method_customer_balance"
},
Expand Down Expand Up @@ -9027,6 +9047,7 @@
},
"required": [
"billing_details",
"customer",
"type"
],
"title": "ConfirmationTokensResourcePaymentMethodPreview",
Expand All @@ -9046,6 +9067,7 @@
"card",
"card_present",
"cashapp",
"customer",
"customer_balance",
"eps",
"fpx",
Expand Down
15 changes: 15 additions & 0 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8701,6 +8701,19 @@ components:
$ref: '#/components/schemas/payment_method_card_present'
cashapp:
$ref: '#/components/schemas/payment_method_cashapp'
customer:
anyOf:
- maxLength: 5000
type: string
- $ref: '#/components/schemas/customer'
description: >-
The ID of the Customer to which this PaymentMethod is saved. This
will not be set when the PaymentMethod has not been saved to a
Customer.
nullable: true
x-expansionResources:
oneOf:
- $ref: '#/components/schemas/customer'
customer_balance:
$ref: '#/components/schemas/payment_method_customer_balance'
eps:
Expand Down Expand Up @@ -8802,6 +8815,7 @@ components:
$ref: '#/components/schemas/payment_method_zip'
required:
- billing_details
- customer
- type
title: ConfirmationTokensResourcePaymentMethodPreview
type: object
Expand All @@ -8820,6 +8834,7 @@ components:
- card
- card_present
- cashapp
- customer
- customer_balance
- eps
- fpx
Expand Down
14 changes: 14 additions & 0 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7273,6 +7273,19 @@ components:
$ref: '#/components/schemas/payment_method_card_present'
cashapp:
$ref: '#/components/schemas/payment_method_cashapp'
customer:
anyOf:
- maxLength: 5000
type: string
- $ref: '#/components/schemas/customer'
description: >-
The ID of the Customer to which this PaymentMethod is saved. This
will not be set when the PaymentMethod has not been saved to a
Customer.
nullable: true
x-expansionResources:
oneOf:
- $ref: '#/components/schemas/customer'
customer_balance:
$ref: '#/components/schemas/payment_method_customer_balance'
eps:
Expand Down Expand Up @@ -7392,6 +7405,7 @@ components:
- card
- card_present
- cashapp
- customer
- customer_balance
- eps
- fpx
Expand Down

0 comments on commit 1172c93

Please sign in to comment.