Skip to content

Commit

Permalink
OpenAPI Update (#915)
Browse files Browse the repository at this point in the history
Update OpenAPI for 1172c935731b3357f7c4bd3ac61bdb0507b9fc16

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jul 12, 2024
1 parent 20a18e2 commit b878e05
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
3 changes: 2 additions & 1 deletion embedded/openapi/fixtures3.json
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,8 @@
},
"routing_number": "110000000",
"status_details": {}
}
},
"customer": null
},
"return_url": "https://example.com/return",
"setup_future_usage": "off_session",
Expand Down
22 changes: 22 additions & 0 deletions embedded/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
21 changes: 21 additions & 0 deletions embedded/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

0 comments on commit b878e05

Please sign in to comment.