From 9a2fdcae22d4101a65da6b3c89b5d1e60aa365f0 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:25:24 +0000 Subject: [PATCH] OpenAPI Update (#613) Update OpenAPI for 889b9cf52d70a29a90d8062ea1f6c6ed807e2ab7 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/fixtures3.beta.json | 67 ++--- embedded/openapi/fixtures3.json | 50 ++-- embedded/openapi/spec3.beta.sdk.json | 110 +++++++- embedded/openapi/spec3.json | 378 ++++++++++++++++++++++++++- 4 files changed, 520 insertions(+), 85 deletions(-) diff --git a/embedded/openapi/fixtures3.beta.json b/embedded/openapi/fixtures3.beta.json index b53d56a3..3aab8760 100755 --- a/embedded/openapi/fixtures3.beta.json +++ b/embedded/openapi/fixtures3.beta.json @@ -813,18 +813,7 @@ "return_url": "https://example.com/return", "setup_future_usage": "off_session", "setup_intent": null, - "shipping": { - "address": { - "city": "San Francisco", - "country": "US", - "line1": "1234 Fake Street", - "line2": null, - "postal_code": "94102", - "state": "CA" - }, - "name": "Jenny Rosen", - "phone": null - } + "shipping": null }, "country_spec": { "default_currency": "usd", @@ -1562,6 +1551,17 @@ "metadata": {}, "object": "file_link", "url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfU1BWbWdMcFVLVTFIUHZpM0lpTFFDRmtm00yC4jtB6H" + }, + { + "created": 1705517612, + "expired": false, + "expires_at": null, + "file": "file_1OZeEyBdtFoQDc8hiLctksU9", + "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", + "livemode": false, + "metadata": {}, + "object": "file_link", + "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" } ], "has_more": false, @@ -1801,6 +1801,7 @@ "auto_advance": false, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "billing_reason": "manual", @@ -1831,6 +1832,9 @@ "hosted_invoice_url": null, "id": "in_1OMeeJCLDLpHmE6uKpDfxFT6", "invoice_pdf": null, + "issuer": { + "type": "self" + }, "last_finalization_error": null, "latest_revision": null, "lines": { @@ -3363,6 +3367,10 @@ "footer": null, "from_invoice": null, "id": "", + "issuer": { + "account": "", + "type": "account" + }, "last_finalization_error": null, "latest_revision": null, "lines": { @@ -3746,6 +3754,7 @@ "enabled": false }, "billing_cycle_anchor": 1234567890, + "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": 1234567890, "cancel_at_period_end": false, @@ -4317,39 +4326,7 @@ "order_id": "12345678" }, "object": "topup", - "source": { - "ach_debit": { - "bank_name": "STRIPE TEST BANK", - "country": "US", - "fingerprint": "5Wh4KBcfDrz5IOnx", - "last4": "6789", - "routing_number": "110000000", - "type": "individual" - }, - "amount": null, - "client_secret": "src_client_secret_UB0hY2iC2k4UkRLMtN9LC5JA", - "created": 1702420927, - "currency": "usd", - "flow": "code_verification", - "id": "src_1OMeeRCLDLpHmE6u5OMuCEB5", - "livemode": false, - "metadata": {}, - "object": "source", - "owner": { - "address": null, - "email": "jenny.rosen@example.com", - "name": "Jenny Rosen", - "phone": null, - "verified_address": null, - "verified_email": null, - "verified_name": null, - "verified_phone": null - }, - "statement_descriptor": null, - "status": "pending", - "type": "ach_debit", - "usage": "reusable" - }, + "source": null, "statement_descriptor": null, "status": "pending", "transfer_group": null diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index d3be0cab..547f9298 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -1443,6 +1443,17 @@ "metadata": {}, "object": "file_link", "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1hYY1VEMnFQN1F0SmVHfGZsX3Rlc3RfUzNDbHVhMWc0dEJuaWZVTFlQbXVSelhu00rmgafjqm" + }, + { + "created": 1705517612, + "expired": false, + "expires_at": null, + "file": "file_1OZeEyBdtFoQDc8hiLctksU9", + "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", + "livemode": false, + "metadata": {}, + "object": "file_link", + "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" } ], "has_more": false, @@ -1640,6 +1651,7 @@ "auto_advance": false, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "billing_reason": "manual", @@ -1670,6 +1682,9 @@ "hosted_invoice_url": null, "id": "in_1OPouhJN5vQBdWExQl3czOuP", "invoice_pdf": null, + "issuer": { + "type": "self" + }, "last_finalization_error": null, "latest_revision": null, "lines": { @@ -3322,6 +3337,7 @@ "enabled": false }, "billing_cycle_anchor": 1234567890, + "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": 1234567890, "cancel_at_period_end": false, @@ -3834,39 +3850,7 @@ "order_id": "12345678" }, "object": "topup", - "source": { - "ach_debit": { - "bank_name": "STRIPE TEST BANK", - "country": "US", - "fingerprint": "5Wh4KBcfDrz5IOnx", - "last4": "6789", - "routing_number": "110000000", - "type": "individual" - }, - "amount": null, - "client_secret": "src_client_secret_xRPL1IxnVySC2iDcMuOdEZoL", - "created": 1703175365, - "currency": "usd", - "flow": "code_verification", - "id": "src_1OPounJN5vQBdWEx5vZYr30j", - "livemode": false, - "metadata": {}, - "object": "source", - "owner": { - "address": null, - "email": "jenny.rosen@example.com", - "name": "Jenny Rosen", - "phone": null, - "verified_address": null, - "verified_email": null, - "verified_name": null, - "verified_phone": null - }, - "statement_descriptor": null, - "status": "pending", - "type": "ach_debit", - "usage": "reusable" - }, + "source": null, "statement_descriptor": null, "status": "pending", "transfer_group": null diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 4e35f3d4..2a9993fd 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -2869,6 +2869,7 @@ }, "required": [ "enabled", + "liability", "status" ], "title": "AutomaticTax", @@ -19346,6 +19347,7 @@ "ending_balance", "footer", "from_invoice", + "issuer", "last_finalization_error", "latest_revision", "lines", @@ -29717,6 +29719,18 @@ "maxLength": 5000, "type": "string" }, + "revocation_reason": { + "description": "When the mandate is revoked on the Bacs network this field displays the reason for the revocation.", + "enum": [ + "account_closed", + "bank_account_restricted", + "bank_ownership_changed", + "could_not_process", + "debit_not_authorized" + ], + "nullable": true, + "type": "string" + }, "url": { "description": "The URL that will contain the mandate that the customer has signed.", "maxLength": 5000, @@ -29726,6 +29740,7 @@ "required": [ "network_status", "reference", + "revocation_reason", "url" ], "title": "mandate_bacs_debit", @@ -37010,6 +37025,9 @@ "cashapp": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, + "customer_balance": { + "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" + }, "eps": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, @@ -37128,6 +37146,7 @@ "card", "cartes_bancaires", "cashapp", + "customer_balance", "eps", "fpx", "giropay", @@ -38661,7 +38680,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -38671,6 +38690,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -38694,6 +38714,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -39870,7 +39891,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -39880,6 +39901,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -39903,6 +39925,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -47592,6 +47615,7 @@ "footer", "from_invoice", "id", + "issuer", "last_finalization_error", "latest_revision", "lines", @@ -51926,7 +51950,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -51936,6 +51960,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -51959,6 +51984,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -55888,6 +55914,7 @@ "application_fee_percent", "automatic_tax", "billing_cycle_anchor", + "billing_cycle_anchor_config", "billing_thresholds", "cancel_at", "cancel_at_period_end", @@ -111518,6 +111545,10 @@ "explode": true, "style": "deepObject" }, + "pin": { + "explode": true, + "style": "deepObject" + }, "shipping": { "explode": true, "style": "deepObject" @@ -111562,6 +111593,18 @@ "maxLength": 5000, "type": "string" }, + "pin": { + "description": "The desired PIN for this card.", + "properties": { + "encrypted_number": { + "description": "The card's desired new PIN, encrypted under Stripe's public key.", + "maxLength": 5000, + "type": "string" + } + }, + "title": "encrypted_pin_param", + "type": "object" + }, "replacement_for": { "description": "The card this is meant to be a replacement for (if any).", "maxLength": 5000, @@ -124322,6 +124365,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -128132,6 +128176,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -132878,6 +132923,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -138251,6 +138297,10 @@ "explode": true, "style": "deepObject" }, + "customer_balance": { + "explode": true, + "style": "deepObject" + }, "eps": { "explode": true, "style": "deepObject" @@ -138661,6 +138711,29 @@ "title": "payment_method_param", "type": "object" }, + "customer_balance": { + "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.", + "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" + } + }, + "title": "payment_method_param", + "type": "object" + }, "eps": { "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.", "properties": { @@ -139312,6 +139385,10 @@ "explode": true, "style": "deepObject" }, + "customer_balance": { + "explode": true, + "style": "deepObject" + }, "eps": { "explode": true, "style": "deepObject" @@ -139726,6 +139803,29 @@ "title": "payment_method_param", "type": "object" }, + "customer_balance": { + "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.", + "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" + } + }, + "title": "payment_method_param", + "type": "object" + }, "eps": { "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.", "properties": { @@ -141389,6 +141489,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -156367,6 +156468,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -157710,6 +157812,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -159085,6 +159188,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 39dd6fad..23a7fb3a 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -2010,6 +2010,15 @@ "description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.", "type": "boolean" }, + "liability": { + "anyOf": [ + { + "$ref": "#/components/schemas/connect_account_reference" + } + ], + "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.", + "nullable": true + }, "status": { "description": "The status of the most recent automated tax calculation for this invoice.", "enum": [ @@ -2026,7 +2035,9 @@ ], "title": "AutomaticTax", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "liability" + ] }, "balance": { "description": "This is an object representing your Stripe balance. You can retrieve it to see\nthe balance currently on your Stripe account.\n\nYou can also retrieve the balance history, which contains a list of\n[transactions](https://stripe.com/docs/reporting/balance-transaction-types) that contributed to the balance\n(charges, payouts, and so forth).\n\nThe available and pending amounts for each currency are broken down further by\npayment source types.\n\nRelated guide: [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances)", @@ -6007,6 +6018,46 @@ "type": "object", "x-expandableFields": [] }, + "connect_account_reference": { + "description": "", + "properties": { + "account": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/account" + } + ], + "description": "The connected account being referenced when `type` is `account`.", + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/account" + } + ] + } + }, + "type": { + "description": "Type of the account referenced.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "ConnectAccountReference", + "type": "object", + "x-expandableFields": [ + "account" + ] + }, "connect_collection_transfer": { "description": "", "properties": { @@ -12694,6 +12745,9 @@ "nullable": true, "type": "string" }, + "issuer": { + "$ref": "#/components/schemas/connect_account_reference" + }, "last_finalization_error": { "anyOf": [ { @@ -13064,6 +13118,7 @@ "created", "currency", "default_tax_rates", + "issuer", "lines", "livemode", "object", @@ -13098,6 +13153,7 @@ "discount", "discounts", "from_invoice", + "issuer", "last_finalization_error", "latest_revision", "lines", @@ -20432,6 +20488,18 @@ "maxLength": 5000, "type": "string" }, + "revocation_reason": { + "description": "When the mandate is revoked on the Bacs network this field displays the reason for the revocation.", + "enum": [ + "account_closed", + "bank_account_restricted", + "bank_ownership_changed", + "could_not_process", + "debit_not_authorized" + ], + "nullable": true, + "type": "string" + }, "url": { "description": "The URL that will contain the mandate that the customer has signed.", "maxLength": 5000, @@ -25378,6 +25446,9 @@ "cashapp": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, + "customer_balance": { + "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" + }, "eps": { "$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties" }, @@ -25494,6 +25565,7 @@ "card", "cartes_bancaires", "cashapp", + "customer_balance", "eps", "fpx", "giropay", @@ -26809,7 +26881,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -26819,6 +26891,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -26842,6 +26915,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -27779,7 +27853,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -27789,6 +27863,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -27812,6 +27887,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -35019,7 +35095,7 @@ "description": "", "properties": { "bank": { - "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", + "description": "The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.", "enum": [ "abn_amro", "asn_bank", @@ -35029,6 +35105,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -35052,6 +35129,7 @@ "INGBNL2A", "KNABNL2H", "MOYONL21", + "NNBANL2G", "NTSBDEB1", "RABONL2U", "RBRBNL21", @@ -78448,6 +78526,10 @@ "explode": true, "style": "deepObject" }, + "issuer": { + "explode": true, + "style": "deepObject" + }, "metadata": { "explode": true, "style": "deepObject" @@ -78507,6 +78589,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -78664,6 +78765,26 @@ "title": "from_invoice", "type": "object" }, + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, "metadata": { "anyOf": [ { @@ -79438,6 +79559,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -79938,6 +80078,54 @@ }, "style": "deepObject" }, + { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "explode": true, + "in": "query", + "name": "issuer", + "required": false, + "schema": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, + "style": "deepObject" + }, + { + "description": "The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.", + "explode": true, + "in": "query", + "name": "on_behalf_of", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ] + }, + "style": "deepObject" + }, { "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.", "in": "query", @@ -80331,6 +80519,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -80842,6 +81049,33 @@ }, "style": "deepObject" }, + { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "explode": true, + "in": "query", + "name": "issuer", + "required": false, + "schema": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, + "style": "deepObject" + }, { "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", "in": "query", @@ -80852,6 +81086,27 @@ }, "style": "form" }, + { + "description": "The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.", + "explode": true, + "in": "query", + "name": "on_behalf_of", + "required": false, + "schema": { + "anyOf": [ + { + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ] + }, + "style": "deepObject" + }, { "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.", "in": "query", @@ -81446,6 +81701,10 @@ "explode": true, "style": "deepObject" }, + "issuer": { + "explode": true, + "style": "deepObject" + }, "metadata": { "explode": true, "style": "deepObject" @@ -81509,6 +81768,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -81665,6 +81943,26 @@ "maxLength": 5000, "type": "string" }, + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, "metadata": { "anyOf": [ { @@ -86685,6 +86983,10 @@ "explode": true, "style": "deepObject" }, + "pin": { + "explode": true, + "style": "deepObject" + }, "shipping": { "explode": true, "style": "deepObject" @@ -86724,6 +87026,17 @@ "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.", "type": "object" }, + "pin": { + "description": "The desired PIN for this card.", + "properties": { + "encrypted_number": { + "maxLength": 5000, + "type": "string" + } + }, + "title": "encrypted_pin_param", + "type": "object" + }, "replacement_for": { "description": "The card this is meant to be a replacement for (if any).", "maxLength": 5000, @@ -93209,6 +93522,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -95780,6 +96094,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -98490,6 +98805,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -103299,6 +103615,10 @@ "explode": true, "style": "deepObject" }, + "customer_balance": { + "explode": true, + "style": "deepObject" + }, "eps": { "explode": true, "style": "deepObject" @@ -103681,6 +104001,27 @@ "title": "payment_method_param", "type": "object" }, + "customer_balance": { + "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.", + "properties": { + "display_preference": { + "properties": { + "preference": { + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object" + } + }, + "title": "payment_method_param", + "type": "object" + }, "eps": { "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.", "properties": { @@ -104292,6 +104633,10 @@ "explode": true, "style": "deepObject" }, + "customer_balance": { + "explode": true, + "style": "deepObject" + }, "eps": { "explode": true, "style": "deepObject" @@ -104678,6 +105023,27 @@ "title": "payment_method_param", "type": "object" }, + "customer_balance": { + "description": "Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.", + "properties": { + "display_preference": { + "properties": { + "preference": { + "enum": [ + "none", + "off", + "on" + ], + "type": "string" + } + }, + "title": "display_preference_param", + "type": "object" + } + }, + "title": "payment_method_param", + "type": "object" + }, "eps": { "description": "EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.", "properties": { @@ -106260,6 +106626,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -116538,6 +116905,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -117710,6 +118078,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut", @@ -118901,6 +119270,7 @@ "knab", "moneyou", "n26", + "nn", "rabobank", "regiobank", "revolut",