Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #910

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion embedded/openapi/fixtures3.json
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,8 @@
"name": "Jenny Rosen",
"phone": null
},
"use_stripe_sdk": true
"use_stripe_sdk": true,
"payment_method_options": null
},
"country_spec": {
"default_currency": "usd",
Expand Down
1 change: 1 addition & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9804,6 +9804,7 @@
"livemode",
"object",
"payment_intent",
"payment_method_options",
"payment_method_preview",
"return_url",
"setup_future_usage",
Expand Down
43 changes: 43 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6856,6 +6856,15 @@
"nullable": true,
"type": "string"
},
"payment_method_options": {
"anyOf": [
{
"$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options"
}
],
"description": "Payment-method-specific configuration for this ConfirmationToken.",
"nullable": true
},
"payment_method_preview": {
"anyOf": [
{
Expand Down Expand Up @@ -6911,6 +6920,7 @@
"type": "object",
"x-expandableFields": [
"mandate_data",
"payment_method_options",
"payment_method_preview",
"shipping"
],
Expand Down Expand Up @@ -6979,6 +6989,39 @@
"type": "object",
"x-expandableFields": []
},
"confirmation_tokens_resource_payment_method_options": {
"description": "Payment-method-specific configuration",
"properties": {
"card": {
"anyOf": [
{
"$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card"
}
],
"description": "This hash contains the card payment method options.",
"nullable": true
}
},
"title": "ConfirmationTokensResourcePaymentMethodOptions",
"type": "object",
"x-expandableFields": [
"card"
]
},
"confirmation_tokens_resource_payment_method_options_resource_card": {
"description": "This hash contains the card payment method options.",
"properties": {
"cvc_token": {
"description": "The `cvc_update` Token collected from the Payment Element.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"title": "ConfirmationTokensResourcePaymentMethodOptionsResourceCard",
"type": "object",
"x-expandableFields": []
},
"confirmation_tokens_resource_payment_method_preview": {
"description": "Details of the PaymentMethod collected by Payment Element",
"properties": {
Expand Down
Loading