Skip to content

Commit b878e05

Browse files
OpenAPI Update (#915)
Update OpenAPI for 1172c935731b3357f7c4bd3ac61bdb0507b9fc16 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 20a18e2 commit b878e05

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed

embedded/openapi/fixtures3.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,8 @@
834834
},
835835
"routing_number": "110000000",
836836
"status_details": {}
837-
}
837+
},
838+
"customer": null
838839
},
839840
"return_url": "https://example.com/return",
840841
"setup_future_usage": "off_session",

embedded/openapi/spec3.beta.sdk.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10003,6 +10003,26 @@
1000310003
"cashapp": {
1000410004
"$ref": "#/components/schemas/payment_method_cashapp"
1000510005
},
10006+
"customer": {
10007+
"anyOf": [
10008+
{
10009+
"maxLength": 5000,
10010+
"type": "string"
10011+
},
10012+
{
10013+
"$ref": "#/components/schemas/customer"
10014+
}
10015+
],
10016+
"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.",
10017+
"nullable": true,
10018+
"x-expansionResources": {
10019+
"oneOf": [
10020+
{
10021+
"$ref": "#/components/schemas/customer"
10022+
}
10023+
]
10024+
}
10025+
},
1000610026
"customer_balance": {
1000710027
"$ref": "#/components/schemas/payment_method_customer_balance"
1000810028
},
@@ -10138,6 +10158,7 @@
1013810158
},
1013910159
"required": [
1014010160
"billing_details",
10161+
"customer",
1014110162
"type"
1014210163
],
1014310164
"title": "ConfirmationTokensResourcePaymentMethodPreview",
@@ -10157,6 +10178,7 @@
1015710178
"card",
1015810179
"card_present",
1015910180
"cashapp",
10181+
"customer",
1016010182
"customer_balance",
1016110183
"eps",
1016210184
"fpx",

embedded/openapi/spec3.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7076,6 +7076,26 @@
70767076
"cashapp": {
70777077
"$ref": "#/components/schemas/payment_method_cashapp"
70787078
},
7079+
"customer": {
7080+
"anyOf": [
7081+
{
7082+
"maxLength": 5000,
7083+
"type": "string"
7084+
},
7085+
{
7086+
"$ref": "#/components/schemas/customer"
7087+
}
7088+
],
7089+
"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.",
7090+
"nullable": true,
7091+
"x-expansionResources": {
7092+
"oneOf": [
7093+
{
7094+
"$ref": "#/components/schemas/customer"
7095+
}
7096+
]
7097+
}
7098+
},
70797099
"customer_balance": {
70807100
"$ref": "#/components/schemas/payment_method_customer_balance"
70817101
},
@@ -7222,6 +7242,7 @@
72227242
"card",
72237243
"card_present",
72247244
"cashapp",
7245+
"customer",
72257246
"customer_balance",
72267247
"eps",
72277248
"fpx",

0 commit comments

Comments
 (0)