Skip to content

Commit

Permalink
OpenAPI Update (#910)
Browse files Browse the repository at this point in the history
Update OpenAPI for b81fc7081984f549ef82a30b6e836ee505e8129f

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jul 11, 2024
1 parent 9634da2 commit a058d1b
Show file tree
Hide file tree
Showing 3 changed files with 46 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 @@ -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

0 comments on commit a058d1b

Please sign in to comment.