From 56566f8f21e6cf0827901d3df9dfa0ea1dbdd71d Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:25:31 +0000 Subject: [PATCH] Update OpenAPI for 16282b96801a062daac2aed0cd0e03ae58964ee6 --- embedded/openapi/fixtures3.json | 5 +- embedded/openapi/spec3.beta.sdk.json | 1085 +++++++++++++++++++++++++- 2 files changed, 1084 insertions(+), 6 deletions(-) diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index ce9814db..5f04c7a6 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -2468,8 +2468,7 @@ "object": "issuing.settlement", "settlement_service": "international", "transaction_count": 2, - "transaction_volume": 3656, - "status": "complete" + "transaction_volume": 3656 }, "issuing.token": { "card": "ic_1Pgag5B7WZ01zgkWephORn8N", @@ -5087,4 +5086,4 @@ "updated": 234430277 } } -} +} \ No newline at end of file diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 3722af34..28acd4d9 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -473,6 +473,28 @@ "service_user_number" ] }, + "account_bank_bca_onboarding_settings": { + "description": "", + "properties": { + "account_holder_name": { + "description": "Bank BCA business account holder name.", + "maxLength": 5000, + "type": "string" + }, + "business_account_number": { + "description": "Bank BCA business account number.", + "maxLength": 5000, + "type": "string" + } + }, + "title": "AccountBankBcaOnboardingSettings", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "account_holder_name", + "business_account_number" + ] + }, "account_branding_settings": { "description": "", "properties": { @@ -844,6 +866,24 @@ ], "type": "string" }, + "id_bank_transfer_payments": { + "description": "The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.", + "enum": [ + "active", + "inactive", + "pending" + ], + "type": "string" + }, + "id_bank_transfer_payments_bca": { + "description": "The status of Bank BCA onboarding of the account.", + "enum": [ + "active", + "inactive", + "pending" + ], + "type": "string" + }, "ideal_payments": { "description": "The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.", "enum": [ @@ -1248,6 +1288,8 @@ "giropay_payments", "gopay_payments", "grabpay_payments", + "id_bank_transfer_payments", + "id_bank_transfer_payments_bca", "ideal_payments", "india_international_payments", "jcb_payments", @@ -2465,6 +2507,9 @@ "bacs_debit_payments": { "$ref": "#/components/schemas/account_bacs_debit_payments_settings" }, + "bank_bca_onboarding": { + "$ref": "#/components/schemas/account_bank_bca_onboarding_settings" + }, "branding": { "$ref": "#/components/schemas/account_branding_settings" }, @@ -2509,6 +2554,7 @@ "type": "object", "x-expandableFields": [ "bacs_debit_payments", + "bank_bca_onboarding", "branding", "capital", "card_issuing", @@ -2523,6 +2569,7 @@ ], "x-stripeMostCommon": [ "bacs_debit_payments", + "bank_bca_onboarding", "branding", "capital", "card_issuing", @@ -12426,6 +12473,9 @@ "grabpay": { "$ref": "#/components/schemas/payment_method_grabpay" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/payment_method_id_bank_transfer" + }, "ideal": { "$ref": "#/components/schemas/payment_method_ideal" }, @@ -12533,6 +12583,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -12608,6 +12659,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -26623,6 +26675,13 @@ "country" ] }, + "invoice_payment_method_options_id_bank_transfer": { + "description": "", + "properties": {}, + "title": "invoice_payment_method_options_id_bank_transfer", + "type": "object", + "x-expandableFields": [] + }, "invoice_payment_method_options_konbini": { "description": "", "properties": {}, @@ -27716,6 +27775,15 @@ "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.", "nullable": true }, + "id_bank_transfer": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoice_payment_method_options_id_bank_transfer" + } + ], + "description": "If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.", + "nullable": true + }, "konbini": { "anyOf": [ { @@ -27760,6 +27828,7 @@ "bancontact", "card", "customer_balance", + "id_bank_transfer", "konbini", "sepa_debit", "us_bank_account" @@ -27769,6 +27838,7 @@ "bancontact", "card", "customer_balance", + "id_bank_transfer", "konbini", "sepa_debit", "us_bank_account" @@ -27811,6 +27881,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -42680,6 +42751,13 @@ "method_type": "custom", "operation": "post", "path": "/v1/payment_intents/{intent}/verify_microdeposits" + }, + { + "method_name": "trigger_action", + "method_on": "service", + "method_type": "custom", + "operation": "post", + "path": "/v1/test/payment_intents/{intent}/trigger_action" } ], "x-stripeResource": { @@ -44002,6 +44080,9 @@ "grabpay": { "$ref": "#/components/schemas/payment_method_options_grabpay" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/payment_method_options_id_bank_transfer" + }, "ideal": { "$ref": "#/components/schemas/payment_method_options_ideal" }, @@ -44119,6 +44200,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -44172,6 +44254,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -46691,6 +46774,9 @@ "maxLength": 5000, "type": "string" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/payment_method_id_bank_transfer" + }, "ideal": { "$ref": "#/components/schemas/payment_method_ideal" }, @@ -46821,6 +46907,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -46901,6 +46988,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -48082,6 +48170,9 @@ "maxLength": 5000, "type": "string" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" + }, "ideal": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, @@ -48206,6 +48297,7 @@ "giropay", "google_pay", "grabpay", + "id_bank_transfer", "ideal", "jcb", "klarna", @@ -48350,6 +48442,9 @@ "grabpay": { "$ref": "#/components/schemas/payment_method_details_grabpay" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/payment_method_details_id_bank_transfer" + }, "ideal": { "$ref": "#/components/schemas/payment_method_details_ideal" }, @@ -48486,6 +48581,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -48544,6 +48640,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "interac_present", "kakao_pay", @@ -50150,6 +50247,57 @@ "transaction_id" ] }, + "payment_method_details_id_bank_transfer": { + "description": "", + "properties": { + "account_number": { + "description": "Account number of the bank account to transfer funds to.", + "maxLength": 5000, + "type": "string" + }, + "bank": { + "description": "Bank where the account is located.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + }, + "bank_code": { + "description": "Local bank code of the bank.", + "maxLength": 5000, + "type": "string" + }, + "bank_name": { + "description": "Name of the bank associated with the bank account.", + "maxLength": 5000, + "type": "string" + }, + "display_name": { + "description": "Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "account_number", + "bank" + ], + "title": "payment_method_details_id_bank_transfer", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "account_number", + "bank", + "bank_code", + "bank_name", + "display_name" + ] + }, "payment_method_details_ideal": { "description": "", "properties": { @@ -51875,6 +52023,53 @@ "type": "object", "x-expandableFields": [] }, + "payment_method_id_bank_transfer": { + "description": "", + "properties": { + "bank": { + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "nullable": true, + "type": "string", + "x-stripeBypassValidation": true + }, + "bank_code": { + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "bank_name": { + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "display_name": { + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "bank", + "bank_code", + "bank_name", + "display_name" + ], + "title": "payment_method_id_bank_transfer", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "bank", + "bank_code", + "bank_name", + "display_name" + ] + }, "payment_method_ideal": { "description": "", "properties": { @@ -52845,6 +53040,40 @@ "setup_future_usage" ] }, + "payment_method_options_id_bank_transfer": { + "description": "", + "properties": { + "expires_after": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.", + "nullable": true, + "type": "integer" + }, + "expires_at": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.", + "format": "unix-time", + "nullable": true, + "type": "integer" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", + "enum": [ + "none" + ], + "type": "string" + } + }, + "required": [ + "expires_at" + ], + "title": "payment_method_options_id_bank_transfer", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "expires_after", + "expires_at", + "setup_future_usage" + ] + }, "payment_method_options_ideal": { "description": "", "properties": { @@ -57596,6 +57825,51 @@ "enabled" ] }, + "portal_resource_schedule_update_at_period_end": { + "description": "", + "properties": { + "conditions": { + "description": "List of conditions. When any condition is true, an update will be scheduled at the end of the current period.", + "items": { + "$ref": "#/components/schemas/portal_resource_schedule_update_at_period_end_condition" + }, + "type": "array" + } + }, + "required": [ + "conditions" + ], + "title": "PortalResourceScheduleUpdateAtPeriodEnd", + "type": "object", + "x-expandableFields": [ + "conditions" + ], + "x-stripeMostCommon": [ + "conditions" + ] + }, + "portal_resource_schedule_update_at_period_end_condition": { + "description": "", + "properties": { + "type": { + "description": "The type of condition.", + "enum": [ + "decreasing_item_amount", + "shortening_interval" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "PortalResourceScheduleUpdateAtPeriodEndCondition", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "type" + ] + }, "portal_subscription_cancel": { "description": "", "properties": { @@ -57714,6 +57988,9 @@ "none" ], "type": "string" + }, + "schedule_at_period_end": { + "$ref": "#/components/schemas/portal_resource_schedule_update_at_period_end" } }, "required": [ @@ -57724,13 +58001,15 @@ "title": "PortalSubscriptionUpdate", "type": "object", "x-expandableFields": [ - "products" + "products", + "schedule_at_period_end" ], "x-stripeMostCommon": [ "default_allowed_updates", "enabled", "products", - "proration_behavior" + "proration_behavior", + "schedule_at_period_end" ] }, "portal_subscription_update_product": { @@ -63868,6 +64147,9 @@ "grabpay": { "$ref": "#/components/schemas/destination_details_unimplemented" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, "jp_bank_transfer": { "$ref": "#/components/schemas/refund_destination_details_generic" }, @@ -63941,6 +64223,7 @@ "gb_bank_transfer", "giropay", "grabpay", + "id_bank_transfer", "jp_bank_transfer", "klarna", "multibanco", @@ -63974,6 +64257,7 @@ "gb_bank_transfer", "giropay", "grabpay", + "id_bank_transfer", "jp_bank_transfer", "klarna", "multibanco", @@ -65169,6 +65453,9 @@ "cashapp": { "$ref": "#/components/schemas/setup_attempt_payment_method_details_cashapp" }, + "id_bank_transfer": { + "$ref": "#/components/schemas/setup_attempt_payment_method_details_id_bank_transfer" + }, "ideal": { "$ref": "#/components/schemas/setup_attempt_payment_method_details_ideal" }, @@ -65223,6 +65510,7 @@ "card", "card_present", "cashapp", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -65245,6 +65533,7 @@ "card", "card_present", "cashapp", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -65674,6 +65963,61 @@ "type": "object", "x-expandableFields": [] }, + "setup_attempt_payment_method_details_id_bank_transfer": { + "description": "", + "properties": { + "bank": { + "description": "Bank where the account is located.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "nullable": true, + "type": "string", + "x-stripeBypassValidation": true + }, + "bank_code": { + "description": "Local bank code of the bank.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "bank_name": { + "description": "Name of the bank associated with the bank account.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "display_name": { + "description": "Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "bank", + "bank_code", + "bank_name", + "display_name" + ], + "title": "setup_attempt_payment_method_details_id_bank_transfer", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "bank", + "bank_code", + "bank_name", + "display_name" + ], + "x-stripeResource": { + "class_name": "IdBankTransfer", + "in_package": "" + } + }, "setup_attempt_payment_method_details_ideal": { "description": "", "properties": { @@ -72071,6 +72415,15 @@ "description": "This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.", "nullable": true }, + "id_bank_transfer": { + "anyOf": [ + { + "$ref": "#/components/schemas/invoice_payment_method_options_id_bank_transfer" + } + ], + "description": "This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.", + "nullable": true + }, "konbini": { "anyOf": [ { @@ -72115,6 +72468,7 @@ "bancontact", "card", "customer_balance", + "id_bank_transfer", "konbini", "sepa_debit", "us_bank_account" @@ -72124,6 +72478,7 @@ "bancontact", "card", "customer_balance", + "id_bank_transfer", "konbini", "sepa_debit", "us_bank_account" @@ -72160,6 +72515,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -84430,7 +84786,7 @@ "description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.", "termsOfService": "https://stripe.com/us/terms/", "title": "Stripe API", - "version": "2024-09-30.acacia; embedded_connect_beta=v2; server_side_confirmation_beta=v1; orders_beta=v4; gift_cards_beta=v1; unified_accounts_beta=v1; terminal_collect_inputs_beta=v1; terminal_collect_confirm_beta=v1; retrieve_tax_forms_beta=v1; checkout_server_update_beta=v1; financial_connections_transactions_beta=v1; invoice_partial_payments_beta=v2; invoice_payment_plans_beta=v1; payment_intent_with_tax_api_beta=v1; custom_checkout_beta=v1", + "version": "2024-09-30.acacia; embedded_connect_beta=v2; server_side_confirmation_beta=v1; orders_beta=v4; gift_cards_beta=v1; unified_accounts_beta=v1; terminal_collect_inputs_beta=v1; terminal_collect_confirm_beta=v1; retrieve_tax_forms_beta=v1; checkout_server_update_beta=v1; financial_connections_transactions_beta=v1; invoice_partial_payments_beta=v2; invoice_payment_plans_beta=v1; payment_intent_with_tax_api_beta=v1; custom_checkout_beta=v1; id_bank_transfer_beta=v2", "x-stripeSpecFilename": "spec3.beta.sdk" }, "openapi": "3.0.0", @@ -86598,6 +86954,34 @@ "requested" ] }, + "id_bank_transfer_payments": { + "description": "The id_bank_transfer_payments capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, + "id_bank_transfer_payments_bca": { + "description": "The id_bank_transfer_payments_bca capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, "ideal_payments": { "description": "The ideal_payments capability.", "properties": { @@ -88506,6 +88890,27 @@ "display_name" ] }, + "bank_bca_onboarding": { + "description": "Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.", + "properties": { + "account_holder_name": { + "description": "Bank BCA business account holder name", + "maxLength": 5000, + "type": "string" + }, + "business_account_number": { + "description": "Bank BCA business account number", + "maxLength": 5000, + "type": "string" + } + }, + "title": "bank_bca_onboarding_settings_specs", + "type": "object", + "x-stripeMostCommon": [ + "account_holder_name", + "business_account_number" + ] + }, "branding": { "description": "Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.", "properties": { @@ -89629,6 +90034,34 @@ "requested" ] }, + "id_bank_transfer_payments": { + "description": "The id_bank_transfer_payments capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, + "id_bank_transfer_payments_bca": { + "description": "The id_bank_transfer_payments_bca capability.", + "properties": { + "requested": { + "description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.", + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object", + "x-stripeMostCommon": [ + "requested" + ] + }, "ideal_payments": { "description": "The ideal_payments capability.", "properties": { @@ -91408,6 +91841,27 @@ "display_name" ] }, + "bank_bca_onboarding": { + "description": "Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.", + "properties": { + "account_holder_name": { + "description": "Bank BCA business account holder name", + "maxLength": 5000, + "type": "string" + }, + "business_account_number": { + "description": "Bank BCA business account number", + "maxLength": 5000, + "type": "string" + } + }, + "title": "bank_bca_onboarding_settings_specs", + "type": "object", + "x-stripeMostCommon": [ + "account_holder_name", + "business_account_number" + ] + }, "branding": { "description": "Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.", "properties": { @@ -99911,6 +100365,40 @@ "none" ], "type": "string" + }, + "schedule_at_period_end": { + "description": "Setting to control when an update should be scheduled at the end of the period instead of applying immediately.", + "properties": { + "conditions": { + "description": "List of conditions. When any condition is true, the update will be scheduled at the end of the current period.", + "items": { + "properties": { + "type": { + "description": "The type of condition.", + "enum": [ + "decreasing_item_amount", + "shortening_interval" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "schedule_update_at_period_end_condition_param", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "type": "array" + } + }, + "title": "schedule_update_at_period_end_creating_param", + "type": "object", + "x-stripeMostCommon": [ + "conditions" + ] } }, "required": [ @@ -100434,6 +100922,50 @@ "none" ], "type": "string" + }, + "schedule_at_period_end": { + "description": "Setting to control when an update should be scheduled at the end of the period instead of applying immediately.", + "properties": { + "conditions": { + "anyOf": [ + { + "items": { + "properties": { + "type": { + "description": "The type of condition.", + "enum": [ + "decreasing_item_amount", + "shortening_interval" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "schedule_update_at_period_end_condition_param", + "type": "object", + "x-stripeMostCommon": [ + "type" + ] + }, + "type": "array" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "List of conditions. When any condition is true, the update will be scheduled at the end of the current period." + } + }, + "title": "schedule_update_at_period_end_updating_param", + "type": "object", + "x-stripeMostCommon": [ + "conditions" + ] } }, "title": "subscription_update_updating_param", @@ -115377,6 +115909,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -126655,6 +127188,22 @@ ], "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": {}, + "title": "invoice_payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent." + }, "konbini": { "anyOf": [ { @@ -126822,6 +127371,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -139162,6 +139712,22 @@ ], "description": "If paying by `customer_balance`, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": {}, + "title": "invoice_payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If paying by `id_bank_transfer`, this sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent." + }, "konbini": { "anyOf": [ { @@ -139329,6 +139895,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -161010,6 +161577,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -161429,6 +162018,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -162842,6 +163432,45 @@ ], "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": { + "expires_after": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.", + "type": "integer" + }, + "expires_at": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.", + "format": "unix-time", + "type": "integer" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "expires_after", + "expires_at", + "on_existing_payment_intent", + "setup_future_usage" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options." + }, "ideal": { "anyOf": [ { @@ -166517,6 +167146,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -166936,6 +167587,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -168349,6 +169001,45 @@ ], "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": { + "expires_after": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.", + "type": "integer" + }, + "expires_at": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.", + "format": "unix-time", + "type": "integer" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "expires_after", + "expires_at", + "on_existing_payment_intent", + "setup_future_usage" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options." + }, "ideal": { "anyOf": [ { @@ -173220,6 +173911,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -173639,6 +174352,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -175052,6 +175766,45 @@ ], "description": "If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": { + "expires_after": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.", + "type": "integer" + }, + "expires_at": { + "description": "The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.", + "format": "unix-time", + "type": "integer" + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.", + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_intent_payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "expires_after", + "expires_at", + "on_existing_payment_intent", + "setup_future_usage" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options." + }, "ideal": { "anyOf": [ { @@ -180677,6 +181430,10 @@ "explode": true, "style": "deepObject" }, + "id_bank_transfer": { + "explode": true, + "style": "deepObject" + }, "ideal": { "explode": true, "style": "deepObject" @@ -181411,6 +182168,35 @@ "display_preference" ] }, + "id_bank_transfer": { + "description": "Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.", + "properties": { + "display_preference": { + "description": "Whether or not the payment method should be displayed.", + "properties": { + "preference": { + "description": "The account's preference for whether or not to display this payment method.", + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object", + "x-stripeMostCommon": [ + "preference" + ] + } + }, + "title": "payment_method_param", + "type": "object", + "x-stripeMostCommon": [ + "display_preference" + ] + }, "ideal": { "description": "iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.", "properties": { @@ -182245,6 +183031,10 @@ "explode": true, "style": "deepObject" }, + "id_bank_transfer": { + "explode": true, + "style": "deepObject" + }, "ideal": { "explode": true, "style": "deepObject" @@ -182983,6 +183773,35 @@ "display_preference" ] }, + "id_bank_transfer": { + "description": "Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.", + "properties": { + "display_preference": { + "description": "Whether or not the payment method should be displayed.", + "properties": { + "preference": { + "description": "The account's preference for whether or not to display this payment method.", + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object", + "x-stripeMostCommon": [ + "preference" + ] + } + }, + "title": "payment_method_param", + "type": "object", + "x-stripeMostCommon": [ + "display_preference" + ] + }, "ideal": { "description": "iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.", "properties": { @@ -184154,6 +184973,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -184361,6 +185181,10 @@ "explode": true, "style": "deepObject" }, + "id_bank_transfer": { + "explode": true, + "style": "deepObject" + }, "ideal": { "explode": true, "style": "deepObject" @@ -184982,6 +185806,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -185407,6 +186253,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -201184,6 +202031,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -201603,6 +202472,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -203079,6 +203949,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -203498,6 +204390,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -205026,6 +205919,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -205445,6 +206360,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna", @@ -215711,6 +216627,22 @@ ], "description": "This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": {}, + "title": "invoice_payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent." + }, "konbini": { "anyOf": [ { @@ -215878,6 +216810,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -217725,6 +218658,22 @@ ], "description": "This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent." }, + "id_bank_transfer": { + "anyOf": [ + { + "properties": {}, + "title": "invoice_payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent." + }, "konbini": { "anyOf": [ { @@ -217892,6 +218841,7 @@ "fpx", "giropay", "grabpay", + "id_bank_transfer", "ideal", "jp_credit_transfer", "kakao_pay", @@ -227984,6 +228934,112 @@ "summary": "Set reader display" } }, + "/v1/test/payment_intents/{intent}/trigger_action": { + "post": { + "description": "
Trigger an external action on a PaymentIntent.
", + "operationId": "PostTestPaymentIntentsIntentTriggerAction", + "parameters": [ + { + "in": "path", + "name": "intent", + "required": true, + "schema": { + "maxLength": 5000, + "type": "string" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "encoding": { + "expand": { + "explode": true, + "style": "deepObject" + }, + "scan_qr_code": { + "explode": true, + "style": "deepObject" + } + }, + "schema": { + "additionalProperties": false, + "properties": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, + "scan_qr_code": { + "description": "True to simulate success, false to simulate failure.", + "properties": { + "result": { + "description": "Whether the QR Code scan's payment should succeed or fail.", + "enum": [ + "failure", + "success" + ], + "type": "string" + } + }, + "title": "scan_qr_code_params", + "type": "object", + "x-stripeMostCommon": [ + "result" + ] + }, + "type": { + "description": "The type of action to be simulated.", + "enum": [ + "expire", + "fund" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "required": [ + "type" + ], + "type": "object", + "x-stripeMostCommon": [ + "scan_qr_code", + "type" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/payment_intent" + } + } + }, + "description": "Successful response." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error" + } + } + }, + "description": "Error response." + } + }, + "summary": "Trigger an external action on a PaymentIntent." + } + }, "/v1/test_helpers/confirmation_tokens": { "post": { "description": "Creates a test mode Confirmation Token server side for your integration tests.
", @@ -228411,6 +229467,28 @@ "title": "param", "type": "object" }, + "id_bank_transfer": { + "description": "If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.", + "properties": { + "bank": { + "description": "Bank where the account is held.", + "enum": [ + "bca", + "bni", + "bri", + "cimb", + "permata" + ], + "type": "string", + "x-stripeBypassValidation": true + } + }, + "title": "param", + "type": "object", + "x-stripeMostCommon": [ + "bank" + ] + }, "ideal": { "description": "If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.", "properties": { @@ -228830,6 +229908,7 @@ "giropay", "gopay", "grabpay", + "id_bank_transfer", "ideal", "kakao_pay", "klarna",