diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 6fd31341..4e35f3d4 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -177,6 +177,13 @@ ], "x-resourceId": "account", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}" + }, { "method_name": "retrieve", "method_on": "service", @@ -184,6 +191,13 @@ "operation": "get", "path": "/v1/account" }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/accounts" + }, { "method_name": "retrieve", "method_on": "service", @@ -192,18 +206,18 @@ "path": "/v1/accounts/{account}" }, { - "method_name": "update", + "method_name": "capabilities", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/accounts/{account}" + "method_type": "custom", + "operation": "get", + "path": "/v1/accounts/{account}/capabilities" }, { - "method_name": "list", + "method_name": "persons", "method_on": "service", - "method_type": "list", + "method_type": "custom", "operation": "get", - "path": "/v1/accounts" + "path": "/v1/accounts/{account}/persons" }, { "method_name": "create", @@ -213,10 +227,10 @@ "path": "/v1/accounts" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/accounts/{account}" }, { @@ -225,20 +239,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/accounts/{account}/reject" - }, - { - "method_name": "persons", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/accounts/{account}/persons" - }, - { - "method_name": "capabilities", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/accounts/{account}/capabilities" } ], "x-stripeResource": { @@ -1403,18 +1403,18 @@ "x-resourceId": "account_notice", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/account_notices/{account_notice}" + "path": "/v1/account_notices" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/account_notices" + "path": "/v1/account_notices/{account_notice}" }, { "method_name": "update", @@ -2393,17 +2393,17 @@ "x-resourceId": "apple_pay_domain", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/apple_pay/domains" + "method_type": "delete", + "operation": "delete", + "path": "/v1/apple_pay/domains/{domain}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/apple_pay/domains" }, { @@ -2414,11 +2414,11 @@ "path": "/v1/apple_pay/domains/{domain}" }, { - "method_name": "delete", + "method_name": "create", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/apple_pay/domains/{domain}" + "method_type": "create", + "operation": "post", + "path": "/v1/apple_pay/domains" } ], "x-stripeResource": { @@ -2805,6 +2805,13 @@ ], "x-resourceId": "apps.secret", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/apps/secrets" + }, { "method_name": "find", "method_on": "service", @@ -2825,13 +2832,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/apps/secrets/delete" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/apps/secrets" } ], "x-stripeResource": { @@ -3487,11 +3487,11 @@ "x-resourceId": "bank_account", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}" + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "delete", @@ -3501,25 +3501,25 @@ "path": "/v1/customers/{customer}/sources/{id}" }, { - "method_name": "verify", + "method_name": "update", "method_on": "service", - "method_type": "custom", + "method_type": "update", "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}/verify" + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "update", "method_on": "service", "method_type": "update", "operation": "post", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "path": "/v1/customers/{customer}/sources/{id}" }, { - "method_name": "delete", + "method_name": "verify", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "method_type": "custom", + "operation": "post", + "path": "/v1/customers/{customer}/sources/{id}/verify" } ], "x-stripeResource": { @@ -4071,6 +4071,13 @@ "operation": "get", "path": "/v1/billing_portal/configurations" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/billing_portal/configurations/{configuration}" + }, { "method_name": "create", "method_on": "service", @@ -4084,13 +4091,6 @@ "method_type": "update", "operation": "post", "path": "/v1/billing_portal/configurations/{configuration}" - }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/billing_portal/configurations/{configuration}" } ], "x-stripeResource": { @@ -4901,18 +4901,18 @@ "x-resourceId": "capital.financing_transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/capital/financing_transactions/{financing_transaction}" + "path": "/v1/capital/financing_transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/capital/financing_transactions" + "path": "/v1/capital/financing_transactions/{financing_transaction}" } ], "x-stripeResource": { @@ -5443,11 +5443,11 @@ "x-resourceId": "card", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}" + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "delete", @@ -5464,11 +5464,11 @@ "path": "/v1/accounts/{account}/external_accounts/{id}" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "method_type": "update", + "operation": "post", + "path": "/v1/customers/{customer}/sources/{id}" } ], "x-stripeResource": { @@ -6150,18 +6150,25 @@ "x-resourceId": "charge", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/charges/search" + "path": "/v1/charges" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/charges" + "path": "/v1/charges/{charge}" + }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/charges/search" }, { "method_name": "create", @@ -6170,13 +6177,6 @@ "operation": "post", "path": "/v1/charges" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/charges/{charge}" - }, { "method_name": "update", "method_on": "service", @@ -7176,13 +7176,6 @@ "operation": "get", "path": "/v1/checkout/sessions/{session}" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/checkout/sessions" - }, { "method_name": "list_line_items", "method_on": "service", @@ -7190,6 +7183,13 @@ "operation": "get", "path": "/v1/checkout/sessions/{session}/line_items" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/checkout/sessions" + }, { "method_name": "expire", "method_on": "service", @@ -8234,18 +8234,18 @@ "x-resourceId": "climate.order", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/orders/{order}" + "path": "/v1/climate/orders" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/orders" + "path": "/v1/climate/orders/{order}" }, { "method_name": "create", @@ -8429,18 +8429,18 @@ "x-resourceId": "climate.product", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/products/{product}" + "path": "/v1/climate/products" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/products" + "path": "/v1/climate/products/{product}" } ], "x-stripeResource": { @@ -8544,18 +8544,18 @@ "x-resourceId": "climate.supplier", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/suppliers/{supplier}" + "path": "/v1/climate/suppliers" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/suppliers" + "path": "/v1/climate/suppliers/{supplier}" } ], "x-stripeResource": { @@ -9719,17 +9719,17 @@ "x-resourceId": "coupon", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/coupons" + "method_type": "delete", + "operation": "delete", + "path": "/v1/coupons/{coupon}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/coupons" }, { @@ -9740,17 +9740,17 @@ "path": "/v1/coupons/{coupon}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/coupons/{coupon}" + "path": "/v1/coupons" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/coupons/{coupon}" } ], @@ -10177,12 +10177,19 @@ "x-resourceId": "credit_note", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/credit_notes" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/credit_notes/{id}" + }, { "method_name": "preview", "method_on": "service", @@ -10191,17 +10198,17 @@ "path": "/v1/credit_notes/preview" }, { - "method_name": "retrieve", + "method_name": "preview_lines", "method_on": "service", - "method_type": "retrieve", + "method_type": "custom", "operation": "get", - "path": "/v1/credit_notes/{id}" + "path": "/v1/credit_notes/preview/lines" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/credit_notes" }, { @@ -10217,13 +10224,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/credit_notes/{id}/void" - }, - { - "method_name": "preview_lines", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/credit_notes/preview/lines" } ], "x-stripeResource": { @@ -10948,11 +10948,18 @@ "x-resourceId": "customer", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/customers/{customer}" + }, + { + "method_name": "delete_discount", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/customers/search" + "operation": "delete", + "path": "/v1/customers/{customer}/discount" }, { "method_name": "list", @@ -10961,13 +10968,6 @@ "operation": "get", "path": "/v1/customers" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/customers" - }, { "method_name": "retrieve", "method_on": "service", @@ -10976,18 +10976,11 @@ "path": "/v1/customers/{customer}" }, { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}" - }, - { - "method_name": "delete", + "method_name": "balance_transactions", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/customers/{customer}" + "method_type": "custom", + "operation": "get", + "path": "/v1/customers/{customer}/balance_transactions" }, { "method_name": "list_payment_methods", @@ -11004,18 +10997,25 @@ "path": "/v1/customers/{customer}/payment_methods/{payment_method}" }, { - "method_name": "balance_transactions", + "method_name": "search", "method_on": "service", "method_type": "custom", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/search" }, { - "method_name": "fund_cash_balance", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/customers/{customer}/fund_cash_balance" + "path": "/v1/customers" + }, + { + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", + "path": "/v1/customers/{customer}" }, { "method_name": "create_funding_instructions", @@ -11025,11 +11025,11 @@ "path": "/v1/customers/{customer}/funding_instructions" }, { - "method_name": "delete_discount", + "method_name": "fund_cash_balance", "method_on": "service", "method_type": "custom", - "operation": "delete", - "path": "/v1/customers/{customer}/discount" + "operation": "post", + "path": "/v1/test_helpers/customers/{customer}/fund_cash_balance" } ], "x-stripeResource": { @@ -12050,32 +12050,32 @@ "x-resourceId": "customer_balance_transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "collection", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/balance_transactions" }, { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/balance_transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "collection", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/{customer}/balance_transactions/{transaction}" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/{customer}/balance_transactions/{transaction}" }, { "method_name": "create", @@ -12220,32 +12220,32 @@ "x-resourceId": "customer_cash_balance_transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "collection", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/cash_balance_transactions" }, { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/cash_balance_transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "collection", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions" + "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions" + "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" } ], "x-stripeResource": { @@ -14497,19 +14497,19 @@ "x-expandableFields": [], "x-resourceId": "ephemeral_key", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/ephemeral_keys" - }, { "method_name": "delete", "method_on": "service", "method_type": "delete", "operation": "delete", "path": "/v1/ephemeral_keys/{key}" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/ephemeral_keys" } ], "x-stripeResource": { @@ -14964,6 +14964,13 @@ "x-resourceId": "external_account", "x-stripeBypassValidation": true, "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" + }, { "method_name": "list", "method_on": "collection", @@ -15012,13 +15019,6 @@ "method_type": "update", "operation": "post", "path": "/v1/accounts/{account}/external_accounts/{id}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" } ], "x-stripeResource": { @@ -15213,18 +15213,18 @@ "x-resourceId": "fee_refund", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "retrieve", "method_on": "collection", - "method_type": "create", - "operation": "post", - "path": "/v1/application_fees/{id}/refunds" + "method_type": "retrieve", + "operation": "get", + "path": "/v1/application_fees/{fee}/refunds/{id}" }, { - "method_name": "create", + "method_name": "retrieve", "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/application_fees/{id}/refunds" + "method_type": "retrieve", + "operation": "get", + "path": "/v1/application_fees/{fee}/refunds/{id}" }, { "method_name": "list", @@ -15241,25 +15241,25 @@ "path": "/v1/application_fees/{id}/refunds" }, { - "method_name": "retrieve", - "method_on": "collection", - "method_type": "retrieve", - "operation": "get", + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", "path": "/v1/application_fees/{fee}/refunds/{id}" }, { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/application_fees/{fee}/refunds/{id}" + "method_name": "create", + "method_on": "collection", + "method_type": "create", + "operation": "post", + "path": "/v1/application_fees/{id}/refunds" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/application_fees/{fee}/refunds/{id}" + "path": "/v1/application_fees/{id}/refunds" } ], "x-stripeResource": { @@ -15538,6 +15538,13 @@ ], "x-resourceId": "file_link", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/file_links" + }, { "method_name": "retrieve", "method_on": "service", @@ -15558,13 +15565,6 @@ "method_type": "update", "operation": "post", "path": "/v1/file_links/{link}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/file_links" } ], "x-stripeResource": { @@ -15813,18 +15813,18 @@ "path": "/v1/financial_connections/accounts/{account}/owners" }, { - "method_name": "refresh", + "method_name": "disconnect", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/financial_connections/accounts/{account}/refresh" + "path": "/v1/financial_connections/accounts/{account}/disconnect" }, { - "method_name": "disconnect", + "method_name": "refresh", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/financial_connections/accounts/{account}/disconnect" + "path": "/v1/financial_connections/accounts/{account}/refresh" }, { "method_name": "subscribe", @@ -16325,19 +16325,19 @@ ], "x-resourceId": "financial_connections.session", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/financial_connections/sessions" - }, { "method_name": "retrieve", "method_on": "service", "method_type": "retrieve", "operation": "get", "path": "/v1/financial_connections/sessions/{session}" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/financial_connections/sessions" } ], "x-stripeResource": { @@ -16449,18 +16449,18 @@ "x-resourceId": "financial_connections.transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/financial_connections/transactions/{transaction}" + "path": "/v1/financial_connections/transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/financial_connections/transactions" + "path": "/v1/financial_connections/transactions/{transaction}" } ], "x-stripeResource": { @@ -17794,13 +17794,6 @@ ], "x-resourceId": "gift_cards.card", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/gift_cards/cards" - }, { "method_name": "list", "method_on": "service", @@ -17808,13 +17801,6 @@ "operation": "get", "path": "/v1/gift_cards/cards" }, - { - "method_name": "validate", - "method_on": "service", - "method_type": "custom", - "operation": "post", - "path": "/v1/gift_cards/cards/validate" - }, { "method_name": "retrieve", "method_on": "service", @@ -17822,12 +17808,26 @@ "operation": "get", "path": "/v1/gift_cards/cards/{id}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/gift_cards/cards" + }, { "method_name": "update", "method_on": "service", "method_type": "update", "operation": "post", "path": "/v1/gift_cards/cards/{id}" + }, + { + "method_name": "validate", + "method_on": "service", + "method_type": "custom", + "operation": "post", + "path": "/v1/gift_cards/cards/validate" } ], "x-stripeResource": { @@ -17950,6 +17950,13 @@ "operation": "get", "path": "/v1/gift_cards/transactions" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/gift_cards/transactions/{id}" + }, { "method_name": "create", "method_on": "service", @@ -17958,10 +17965,10 @@ "path": "/v1/gift_cards/transactions" }, { - "method_name": "retrieve", + "method_name": "update", "method_on": "service", - "method_type": "retrieve", - "operation": "get", + "method_type": "update", + "operation": "post", "path": "/v1/gift_cards/transactions/{id}" }, { @@ -17977,13 +17984,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/gift_cards/transactions/{id}/confirm" - }, - { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/gift_cards/transactions/{id}" } ], "x-stripeResource": { @@ -18062,18 +18062,18 @@ "x-resourceId": "identity.verification_report", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/identity/verification_reports/{report}" + "path": "/v1/identity/verification_reports" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/identity/verification_reports" + "path": "/v1/identity/verification_reports/{report}" } ], "x-stripeResource": { @@ -18231,10 +18231,10 @@ "x-resourceId": "identity.verification_session", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/identity/verification_sessions" }, { @@ -18245,12 +18245,19 @@ "path": "/v1/identity/verification_sessions/{session}" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/identity/verification_sessions" }, + { + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", + "path": "/v1/identity/verification_sessions/{session}" + }, { "method_name": "cancel", "method_on": "service", @@ -18264,13 +18271,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/identity/verification_sessions/{session}/redact" - }, - { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/identity/verification_sessions/{session}" } ], "x-stripeResource": { @@ -19432,32 +19432,39 @@ "x-resourceId": "invoice", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/invoices/search" + "method_type": "delete", + "operation": "delete", + "path": "/v1/invoices/{invoice}" }, { - "method_name": "upcoming", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/invoices/upcoming" + "path": "/v1/invoices" }, { - "method_name": "update", + "method_name": "retrieve", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "retrieve", + "operation": "get", "path": "/v1/invoices/{invoice}" }, { - "method_name": "pay", + "method_name": "search", "method_on": "service", "method_type": "custom", - "operation": "post", - "path": "/v1/invoices/{invoice}/pay" + "operation": "get", + "path": "/v1/invoices/search" + }, + { + "method_name": "upcoming", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/invoices/upcoming" }, { "method_name": "upcomingLines", @@ -19474,25 +19481,18 @@ "path": "/v1/invoices" }, { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/invoices" - }, - { - "method_name": "retrieve", + "method_name": "update", "method_on": "service", - "method_type": "retrieve", - "operation": "get", + "method_type": "update", + "operation": "post", "path": "/v1/invoices/{invoice}" }, { - "method_name": "delete", + "method_name": "attach_payment_intent", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/invoices/{invoice}" + "method_type": "custom", + "operation": "post", + "path": "/v1/invoices/{invoice}/attach_payment_intent" }, { "method_name": "finalize_invoice", @@ -19502,32 +19502,32 @@ "path": "/v1/invoices/{invoice}/finalize" }, { - "method_name": "send_invoice", + "method_name": "mark_uncollectible", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/send" + "path": "/v1/invoices/{invoice}/mark_uncollectible" }, { - "method_name": "mark_uncollectible", + "method_name": "pay", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/mark_uncollectible" + "path": "/v1/invoices/{invoice}/pay" }, { - "method_name": "void_invoice", + "method_name": "send_invoice", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/void" + "path": "/v1/invoices/{invoice}/send" }, { - "method_name": "attach_payment_intent", + "method_name": "void_invoice", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/attach_payment_intent" + "path": "/v1/invoices/{invoice}/void" } ], "x-stripeResource": { @@ -20883,17 +20883,17 @@ "x-resourceId": "invoiceitem", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/invoiceitems" + "method_type": "delete", + "operation": "delete", + "path": "/v1/invoiceitems/{invoiceitem}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/invoiceitems" }, { @@ -20904,17 +20904,17 @@ "path": "/v1/invoiceitems/{invoiceitem}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/invoiceitems/{invoiceitem}" + "path": "/v1/invoiceitems" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/invoiceitems/{invoiceitem}" } ], @@ -21721,32 +21721,32 @@ "path": "/v1/test_helpers/issuing/authorizations" }, { - "method_name": "increment", + "method_name": "capture", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/increment" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/capture" }, { - "method_name": "reverse", + "method_name": "expire", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/reverse" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/expire" }, { - "method_name": "expire", + "method_name": "increment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/expire" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/increment" }, { - "method_name": "capture", + "method_name": "reverse", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/capture" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/reverse" } ], "x-stripeResource": { @@ -21996,13 +21996,6 @@ "operation": "get", "path": "/v1/issuing/cards" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/issuing/cards" - }, { "method_name": "retrieve", "method_on": "service", @@ -22010,6 +22003,13 @@ "operation": "get", "path": "/v1/issuing/cards/{card}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/issuing/cards" + }, { "method_name": "update", "method_on": "service", @@ -22025,11 +22025,11 @@ "path": "/v1/test_helpers/issuing/cards/{card}/shipping/deliver" }, { - "method_name": "ship_card", + "method_name": "fail_card", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/cards/{card}/shipping/ship" + "path": "/v1/test_helpers/issuing/cards/{card}/shipping/fail" }, { "method_name": "return_card", @@ -22039,11 +22039,11 @@ "path": "/v1/test_helpers/issuing/cards/{card}/shipping/return" }, { - "method_name": "fail_card", + "method_name": "ship_card", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/cards/{card}/shipping/fail" + "path": "/v1/test_helpers/issuing/cards/{card}/shipping/ship" } ], "x-stripeResource": { @@ -22204,13 +22204,6 @@ "operation": "get", "path": "/v1/issuing/cardholders" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/issuing/cardholders" - }, { "method_name": "retrieve", "method_on": "service", @@ -22218,6 +22211,13 @@ "operation": "get", "path": "/v1/issuing/cardholders/{cardholder}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/issuing/cardholders" + }, { "method_name": "update", "method_on": "service", @@ -22341,46 +22341,46 @@ "x-resourceId": "issuing.credit_underwriting_record", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}" + "path": "/v1/issuing/credit_underwriting_records" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/issuing/credit_underwriting_records" + "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}" }, { - "method_name": "create_from_application", + "method_name": "correct", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/issuing/credit_underwriting_records/create_from_application" + "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct" }, { - "method_name": "create_from_proactive_review", + "method_name": "report_decision", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/issuing/credit_underwriting_records/create_from_proactive_review" + "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision" }, { - "method_name": "report_decision", + "method_name": "create_from_application", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision" + "path": "/v1/issuing/credit_underwriting_records/create_from_application" }, { - "method_name": "correct", + "method_name": "create_from_proactive_review", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct" + "path": "/v1/issuing/credit_underwriting_records/create_from_proactive_review" } ], "x-stripeResource": { @@ -22510,6 +22510,13 @@ "operation": "get", "path": "/v1/issuing/disputes" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/issuing/disputes/{dispute}" + }, { "method_name": "create", "method_on": "service", @@ -22524,13 +22531,6 @@ "operation": "post", "path": "/v1/issuing/disputes/{dispute}" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/issuing/disputes/{dispute}" - }, { "method_name": "submit", "method_on": "service", @@ -23239,25 +23239,25 @@ "path": "/v1/issuing/transactions/{transaction}" }, { - "method_name": "create_force_capture", + "method_name": "refund", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/create_force_capture" + "path": "/v1/test_helpers/issuing/transactions/{transaction}/refund" }, { - "method_name": "create_unlinked_refund", + "method_name": "create_force_capture", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/create_unlinked_refund" + "path": "/v1/test_helpers/issuing/transactions/create_force_capture" }, { - "method_name": "refund", + "method_name": "create_unlinked_refund", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/{transaction}/refund" + "path": "/v1/test_helpers/issuing/transactions/create_unlinked_refund" } ], "x-stripeResource": { @@ -29981,13 +29981,6 @@ "x-expandableFields": [], "x-resourceId": "margin", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/billing/margins" - }, { "method_name": "list", "method_on": "service", @@ -30002,6 +29995,13 @@ "operation": "get", "path": "/v1/billing/margins/{margin}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/billing/margins" + }, { "method_name": "update", "method_on": "service", @@ -30536,13 +30536,6 @@ ], "x-resourceId": "order", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/orders" - }, { "method_name": "list", "method_on": "service", @@ -30558,18 +30551,25 @@ "path": "/v1/orders/{id}" }, { - "method_name": "update", + "method_name": "list_line_items", "method_on": "service", - "method_type": "update", + "method_type": "custom", + "operation": "get", + "path": "/v1/orders/{id}/line_items" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", "operation": "post", - "path": "/v1/orders/{id}" + "path": "/v1/orders" }, { - "method_name": "submit", + "method_name": "update", "method_on": "service", - "method_type": "custom", + "method_type": "update", "operation": "post", - "path": "/v1/orders/{id}/submit" + "path": "/v1/orders/{id}" }, { "method_name": "cancel", @@ -30586,11 +30586,11 @@ "path": "/v1/orders/{id}/reopen" }, { - "method_name": "list_line_items", + "method_name": "submit", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/orders/{id}/line_items" + "operation": "post", + "path": "/v1/orders/{id}/submit" } ], "x-stripeResource": { @@ -32742,20 +32742,6 @@ ], "x-resourceId": "payment_intent", "x-stripeOperations": [ - { - "method_name": "search", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/payment_intents/search" - }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/payment_intents" - }, { "method_name": "list", "method_on": "service", @@ -32770,6 +32756,20 @@ "operation": "get", "path": "/v1/payment_intents/{intent}" }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/payment_intents/search" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/payment_intents" + }, { "method_name": "update", "method_on": "service", @@ -32778,11 +32778,11 @@ "path": "/v1/payment_intents/{intent}" }, { - "method_name": "confirm", + "method_name": "apply_customer_balance", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/confirm" + "path": "/v1/payment_intents/{intent}/apply_customer_balance" }, { "method_name": "cancel", @@ -32799,25 +32799,25 @@ "path": "/v1/payment_intents/{intent}/capture" }, { - "method_name": "increment_authorization", + "method_name": "confirm", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/increment_authorization" + "path": "/v1/payment_intents/{intent}/confirm" }, { - "method_name": "verify_microdeposits", + "method_name": "increment_authorization", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/verify_microdeposits" + "path": "/v1/payment_intents/{intent}/increment_authorization" }, { - "method_name": "apply_customer_balance", + "method_name": "verify_microdeposits", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/apply_customer_balance" + "path": "/v1/payment_intents/{intent}/verify_microdeposits" } ], "x-stripeResource": { @@ -36127,10 +36127,10 @@ "x-resourceId": "payment_method", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/payment_methods" }, { @@ -36141,18 +36141,18 @@ "path": "/v1/payment_methods/{payment_method}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/payment_methods/{payment_method}" + "path": "/v1/payment_methods" }, { - "method_name": "list", + "method_name": "update", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/payment_methods" + "method_type": "update", + "operation": "post", + "path": "/v1/payment_methods/{payment_method}" }, { "method_name": "attach", @@ -37166,18 +37166,18 @@ "path": "/v1/payment_method_configurations/{configuration}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/payment_method_configurations/{configuration}" + "path": "/v1/payment_method_configurations" }, { - "method_name": "create", + "method_name": "update", "method_on": "service", - "method_type": "create", + "method_type": "update", "operation": "post", - "path": "/v1/payment_method_configurations" + "path": "/v1/payment_method_configurations/{configuration}" } ], "x-stripeResource": { @@ -39676,18 +39676,18 @@ "x-resourceId": "payment_method_domain", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/payment_method_domains/{payment_method_domain}" + "path": "/v1/payment_method_domains" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/payment_method_domains" + "path": "/v1/payment_method_domains/{payment_method_domain}" }, { "method_name": "create", @@ -42832,18 +42832,18 @@ "x-resourceId": "payout", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/payouts/{payout}" + "path": "/v1/payouts" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/payouts" + "path": "/v1/payouts/{payout}" }, { "method_name": "create", @@ -43239,6 +43239,13 @@ ], "x-resourceId": "person", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/persons/{person}" + }, { "method_name": "list", "method_on": "collection", @@ -43287,13 +43294,6 @@ "method_type": "update", "operation": "post", "path": "/v1/accounts/{account}/persons/{person}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/persons/{person}" } ], "x-stripeResource": { @@ -43769,17 +43769,17 @@ "x-resourceId": "plan", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/plans" + "method_type": "delete", + "operation": "delete", + "path": "/v1/plans/{plan}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/plans" }, { @@ -43790,17 +43790,17 @@ "path": "/v1/plans/{plan}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/plans/{plan}" + "path": "/v1/plans" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/plans/{plan}" } ], @@ -44789,18 +44789,25 @@ "x-resourceId": "price", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/prices/search" + "path": "/v1/prices" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/prices" + "path": "/v1/prices/{price}" + }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/prices/search" }, { "method_name": "create", @@ -44809,13 +44816,6 @@ "operation": "post", "path": "/v1/prices" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/prices/{price}" - }, { "method_name": "update", "method_on": "service", @@ -45108,17 +45108,17 @@ "x-resourceId": "product", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/products/search" + "method_type": "delete", + "operation": "delete", + "path": "/v1/products/{id}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/products" }, { @@ -45129,24 +45129,24 @@ "path": "/v1/products/{id}" }, { - "method_name": "update", + "method_name": "search", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/products/{id}" + "method_type": "custom", + "operation": "get", + "path": "/v1/products/search" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/products" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/products/{id}" } ], @@ -45382,6 +45382,13 @@ ], "x-resourceId": "promotion_code", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/promotion_codes" + }, { "method_name": "retrieve", "method_on": "service", @@ -45402,13 +45409,6 @@ "method_type": "update", "operation": "post", "path": "/v1/promotion_codes/{promotion_code}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/promotion_codes" } ], "x-stripeResource": { @@ -46014,6 +46014,13 @@ ], "x-resourceId": "quote", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/quotes" + }, { "method_name": "retrieve", "method_on": "service", @@ -46021,6 +46028,27 @@ "operation": "get", "path": "/v1/quotes/{quote}" }, + { + "method_name": "list_computed_upfront_line_items", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/quotes/{quote}/computed_upfront_line_items" + }, + { + "method_name": "list_line_items", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/quotes/{quote}/line_items" + }, + { + "method_name": "list_lines", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/quotes/{quote}/lines" + }, { "method_name": "create", "method_on": "service", @@ -46036,32 +46064,25 @@ "path": "/v1/quotes/{quote}" }, { - "method_name": "cancel", - "method_on": "service", - "method_type": "custom", - "operation": "post", - "path": "/v1/quotes/{quote}/cancel" - }, - { - "method_name": "finalize_quote", + "method_name": "accept", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/quotes/{quote}/finalize" + "path": "/v1/quotes/{quote}/accept" }, { - "method_name": "accept", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/quotes/{quote}/accept" + "path": "/v1/quotes/{quote}/cancel" }, { - "method_name": "reestimate", + "method_name": "finalize_quote", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/quotes/{quote}/reestimate" + "path": "/v1/quotes/{quote}/finalize" }, { "method_name": "mark_draft", @@ -46078,32 +46099,11 @@ "path": "/v1/quotes/{quote}/mark_stale" }, { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/quotes" - }, - { - "method_name": "list_line_items", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/quotes/{quote}/line_items" - }, - { - "method_name": "list_computed_upfront_line_items", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/quotes/{quote}/computed_upfront_line_items" - }, - { - "method_name": "list_lines", + "method_name": "reestimate", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/quotes/{quote}/lines" + "operation": "post", + "path": "/v1/quotes/{quote}/reestimate" }, { "method_name": "pdf", @@ -49668,6 +49668,13 @@ ], "x-resourceId": "radar.value_list", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/radar/value_lists/{value_list}" + }, { "method_name": "list", "method_on": "service", @@ -49695,13 +49702,6 @@ "method_type": "update", "operation": "post", "path": "/v1/radar/value_lists/{value_list}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/radar/value_lists/{value_list}" } ], "x-stripeResource": { @@ -49764,6 +49764,13 @@ "x-expandableFields": [], "x-resourceId": "radar.value_list_item", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/radar/value_list_items/{item}" + }, { "method_name": "list", "method_on": "service", @@ -49784,13 +49791,6 @@ "method_type": "create", "operation": "post", "path": "/v1/radar/value_list_items" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/radar/value_list_items/{item}" } ], "x-stripeResource": { @@ -50227,13 +50227,6 @@ "operation": "get", "path": "/v1/refunds" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/refunds" - }, { "method_name": "retrieve", "method_on": "service", @@ -50241,6 +50234,13 @@ "operation": "get", "path": "/v1/refunds/{refund}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/refunds" + }, { "method_name": "update", "method_on": "service", @@ -50617,6 +50617,13 @@ ], "x-resourceId": "reporting.report_run", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/reporting/report_runs" + }, { "method_name": "retrieve", "method_on": "service", @@ -50630,13 +50637,6 @@ "method_type": "create", "operation": "post", "path": "/v1/reporting/report_runs" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/reporting/report_runs" } ], "x-stripeResource": { @@ -50747,18 +50747,18 @@ "x-resourceId": "reporting.report_type", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/reporting/report_types/{report_type}" + "path": "/v1/reporting/report_types" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/reporting/report_types" + "path": "/v1/reporting/report_types/{report_type}" } ], "x-stripeResource": { @@ -52511,13 +52511,6 @@ ], "x-resourceId": "setup_intent", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/setup_intents" - }, { "method_name": "list", "method_on": "service", @@ -52532,6 +52525,13 @@ "operation": "get", "path": "/v1/setup_intents/{intent}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/setup_intents" + }, { "method_name": "update", "method_on": "service", @@ -52540,18 +52540,18 @@ "path": "/v1/setup_intents/{intent}" }, { - "method_name": "confirm", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/setup_intents/{intent}/confirm" + "path": "/v1/setup_intents/{intent}/cancel" }, { - "method_name": "cancel", + "method_name": "confirm", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/setup_intents/{intent}/cancel" + "path": "/v1/setup_intents/{intent}/confirm" }, { "method_name": "verify_microdeposits", @@ -53681,6 +53681,13 @@ "operation": "get", "path": "/v1/sources/{source}" }, + { + "method_name": "source_transactions", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/sources/{source}/source_transactions" + }, { "method_name": "create", "method_on": "service", @@ -53701,13 +53708,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/sources/{source}/verify" - }, - { - "method_name": "source_transactions", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/sources/{source}/source_transactions" } ], "x-stripeResource": { @@ -55958,33 +55958,26 @@ "x-resourceId": "subscription", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "cancel", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/subscriptions/search" + "operation": "delete", + "path": "/v1/subscriptions/{subscription_exposed_id}" }, { - "method_name": "list", + "method_name": "delete_discount", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/subscriptions" + "method_type": "custom", + "operation": "delete", + "path": "/v1/subscriptions/{subscription_exposed_id}/discount" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/subscriptions" }, - { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/subscriptions/{subscription_exposed_id}" - }, { "method_name": "retrieve", "method_on": "service", @@ -55993,11 +55986,18 @@ "path": "/v1/subscriptions/{subscription_exposed_id}" }, { - "method_name": "cancel", + "method_name": "search", "method_on": "service", "method_type": "custom", - "operation": "delete", - "path": "/v1/subscriptions/{subscription_exposed_id}" + "operation": "get", + "path": "/v1/subscriptions/search" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/subscriptions" }, { "method_name": "resume", @@ -56007,11 +56007,11 @@ "path": "/v1/subscriptions/{subscription}/resume" }, { - "method_name": "delete_discount", + "method_name": "update", "method_on": "service", - "method_type": "custom", - "operation": "delete", - "path": "/v1/subscriptions/{subscription_exposed_id}/discount" + "method_type": "update", + "operation": "post", + "path": "/v1/subscriptions/{subscription_exposed_id}" } ], "x-stripeResource": { @@ -56215,6 +56215,13 @@ ], "x-resourceId": "subscription_item", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/subscription_items/{item}" + }, { "method_name": "list", "method_on": "service", @@ -56229,6 +56236,13 @@ "operation": "get", "path": "/v1/subscription_items/{item}" }, + { + "method_name": "usage_record_summaries", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries" + }, { "method_name": "create", "method_on": "service", @@ -56242,20 +56256,6 @@ "method_type": "update", "operation": "post", "path": "/v1/subscription_items/{item}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/subscription_items/{item}" - }, - { - "method_name": "usage_record_summaries", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries" } ], "x-stripeResource": { @@ -56649,13 +56649,6 @@ "operation": "get", "path": "/v1/subscription_schedules" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/subscription_schedules" - }, { "method_name": "retrieve", "method_on": "service", @@ -56663,6 +56656,13 @@ "operation": "get", "path": "/v1/subscription_schedules/{schedule}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/subscription_schedules" + }, { "method_name": "update", "method_on": "service", @@ -57998,19 +57998,19 @@ ], "x-resourceId": "tax.calculation", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/tax/calculations" - }, { "method_name": "list_line_items", "method_on": "service", "method_type": "custom", "operation": "get", "path": "/v1/tax/calculations/{calculation}/line_items" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/tax/calculations" } ], "x-stripeResource": { @@ -58325,13 +58325,6 @@ "operation": "get", "path": "/v1/tax/registrations" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/tax/registrations" - }, { "method_name": "retrieve", "method_on": "service", @@ -58339,6 +58332,13 @@ "operation": "get", "path": "/v1/tax/registrations/{id}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/tax/registrations" + }, { "method_name": "update", "method_on": "service", @@ -58613,11 +58613,11 @@ "path": "/v1/tax/transactions/{transaction}" }, { - "method_name": "create_reversal", + "method_name": "list_line_items", "method_on": "service", "method_type": "custom", - "operation": "post", - "path": "/v1/tax/transactions/create_reversal" + "operation": "get", + "path": "/v1/tax/transactions/{transaction}/line_items" }, { "method_name": "create_from_calculation", @@ -58627,11 +58627,11 @@ "path": "/v1/tax/transactions/create_from_calculation" }, { - "method_name": "list_line_items", + "method_name": "create_reversal", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/tax/transactions/{transaction}/line_items" + "operation": "post", + "path": "/v1/tax/transactions/create_reversal" } ], "x-stripeResource": { @@ -59013,17 +59013,24 @@ "x-resourceId": "tax_id", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/customers/{customer}/tax_ids/{id}" + }, + { + "method_name": "list", "method_on": "collection", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/customers/{customer}/tax_ids" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/customers/{customer}/tax_ids" }, { @@ -59041,25 +59048,18 @@ "path": "/v1/customers/{customer}/tax_ids/{id}" }, { - "method_name": "list", + "method_name": "create", "method_on": "collection", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/customers/{customer}/tax_ids" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/customers/{customer}/tax_ids" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/customers/{customer}/tax_ids/{id}" } ], "x-stripeResource": { @@ -60593,11 +60593,11 @@ "x-resourceId": "terminal.configuration", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "delete", "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/terminal/configurations" + "method_type": "delete", + "operation": "delete", + "path": "/v1/terminal/configurations/{configuration}" }, { "method_name": "list", @@ -60614,17 +60614,17 @@ "path": "/v1/terminal/configurations/{configuration}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/terminal/configurations/{configuration}" + "path": "/v1/terminal/configurations" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/terminal/configurations/{configuration}" } ], @@ -60733,6 +60733,20 @@ ], "x-resourceId": "terminal.location", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/terminal/locations/{location}" + }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/terminal/locations" + }, { "method_name": "retrieve", "method_on": "service", @@ -60753,20 +60767,6 @@ "method_type": "update", "operation": "post", "path": "/v1/terminal/locations/{location}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/terminal/locations" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/terminal/locations/{location}" } ], "x-stripeResource": { @@ -60895,12 +60895,19 @@ "x-resourceId": "terminal.reader", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "delete", + "operation": "delete", "path": "/v1/terminal/readers/{reader}" }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/terminal/readers" + }, { "method_name": "retrieve", "method_on": "service", @@ -60916,74 +60923,67 @@ "path": "/v1/terminal/readers" }, { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/terminal/readers" - }, - { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/terminal/readers/{reader}" }, { - "method_name": "process_payment_intent", + "method_name": "cancel_action", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/process_payment_intent" + "path": "/v1/terminal/readers/{reader}/cancel_action" }, { - "method_name": "process_setup_intent", + "method_name": "collect_inputs", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/process_setup_intent" + "path": "/v1/terminal/readers/{reader}/collect_inputs" }, { - "method_name": "cancel_action", + "method_name": "collect_payment_method", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/cancel_action" + "path": "/v1/terminal/readers/{reader}/collect_payment_method" }, { - "method_name": "set_reader_display", + "method_name": "confirm_payment_intent", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/set_reader_display" + "path": "/v1/terminal/readers/{reader}/confirm_payment_intent" }, { - "method_name": "collect_inputs", + "method_name": "process_payment_intent", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/collect_inputs" + "path": "/v1/terminal/readers/{reader}/process_payment_intent" }, { - "method_name": "refund_payment", + "method_name": "process_setup_intent", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/refund_payment" + "path": "/v1/terminal/readers/{reader}/process_setup_intent" }, { - "method_name": "collect_payment_method", + "method_name": "refund_payment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/collect_payment_method" + "path": "/v1/terminal/readers/{reader}/refund_payment" }, { - "method_name": "confirm_payment_intent", + "method_name": "set_reader_display", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/confirm_payment_intent" + "path": "/v1/terminal/readers/{reader}/set_reader_display" }, { "method_name": "present_payment_method", @@ -61923,6 +61923,20 @@ "x-expandableFields": [], "x-resourceId": "test_helpers.test_clock", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/test_helpers/test_clocks/{test_clock}" + }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/test_helpers/test_clocks" + }, { "method_name": "retrieve", "method_on": "service", @@ -61937,26 +61951,12 @@ "operation": "post", "path": "/v1/test_helpers/test_clocks" }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/test_helpers/test_clocks/{test_clock}" - }, { "method_name": "advance", "method_on": "service", "method_type": "custom", "operation": "post", "path": "/v1/test_helpers/test_clocks/{test_clock}/advance" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/test_helpers/test_clocks" } ], "x-stripeResource": { @@ -62464,13 +62464,6 @@ ], "x-resourceId": "topup", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/topups" - }, { "method_name": "list", "method_on": "service", @@ -62485,6 +62478,13 @@ "operation": "get", "path": "/v1/topups/{topup}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/topups" + }, { "method_name": "update", "method_on": "service", @@ -62801,13 +62801,6 @@ ], "x-resourceId": "transfer", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers" - }, { "method_name": "list", "method_on": "service", @@ -62822,6 +62815,13 @@ "operation": "get", "path": "/v1/transfers/{transfer}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers" + }, { "method_name": "update", "method_on": "service", @@ -63062,20 +63062,6 @@ ], "x-resourceId": "transfer_reversal", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "collection", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers/{id}/reversals" - }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers/{id}/reversals" - }, { "method_name": "list", "method_on": "collection", @@ -63104,6 +63090,20 @@ "operation": "get", "path": "/v1/transfers/{transfer}/reversals/{id}" }, + { + "method_name": "create", + "method_on": "collection", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers/{id}/reversals" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers/{id}/reversals" + }, { "method_name": "update", "method_on": "service", @@ -63514,10 +63514,10 @@ "x-resourceId": "treasury.debit_reversal", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/debit_reversals" }, { @@ -63528,10 +63528,10 @@ "path": "/v1/treasury/debit_reversals/{debit_reversal}" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/treasury/debit_reversals" } ], @@ -63754,45 +63754,45 @@ "x-resourceId": "treasury.financial_account", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/financial_accounts" }, { - "method_name": "update", + "method_name": "retrieve", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "retrieve", + "operation": "get", "path": "/v1/treasury/financial_accounts/{financial_account}" }, { - "method_name": "update_features", + "method_name": "retrieve_features", "method_on": "service", "method_type": "custom", - "operation": "post", + "operation": "get", "path": "/v1/treasury/financial_accounts/{financial_account}/features" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/treasury/financial_accounts" }, { - "method_name": "retrieve", + "method_name": "update", "method_on": "service", - "method_type": "retrieve", - "operation": "get", + "method_type": "update", + "operation": "post", "path": "/v1/treasury/financial_accounts/{financial_account}" }, { - "method_name": "retrieve_features", + "method_name": "update_features", "method_on": "service", "method_type": "custom", - "operation": "get", + "operation": "post", "path": "/v1/treasury/financial_accounts/{financial_account}/features" } ], @@ -64067,17 +64067,10 @@ "x-resourceId": "treasury.inbound_transfer", "x-stripeOperations": [ { - "method_name": "cancel", - "method_on": "service", - "method_type": "custom", - "operation": "post", - "path": "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel" - }, - { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/inbound_transfers" }, { @@ -64088,11 +64081,18 @@ "path": "/v1/treasury/inbound_transfers/{id}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/inbound_transfers" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/fail" + }, + { + "method_name": "return_inbound_transfer", + "method_on": "service", + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/return" }, { "method_name": "succeed", @@ -64102,18 +64102,18 @@ "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed" }, { - "method_name": "fail", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/fail" + "path": "/v1/treasury/inbound_transfers" }, { - "method_name": "return_inbound_transfer", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/return" + "path": "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel" } ], "x-stripeResource": { @@ -64365,10 +64365,10 @@ "x-resourceId": "treasury.outbound_payment", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/outbound_payments" }, { @@ -64379,39 +64379,39 @@ "path": "/v1/treasury/outbound_payments/{id}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/outbound_payments" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/fail" }, { - "method_name": "cancel", + "method_name": "post", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/treasury/outbound_payments/{id}/cancel" + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/post" }, { - "method_name": "fail", + "method_name": "return_outbound_payment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/fail" + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/return" }, { - "method_name": "post", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/post" + "path": "/v1/treasury/outbound_payments" }, { - "method_name": "return_outbound_payment", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/return" + "path": "/v1/treasury/outbound_payments/{id}/cancel" } ], "x-stripeResource": { @@ -64681,10 +64681,10 @@ "x-resourceId": "treasury.outbound_transfer", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/outbound_transfers" }, { @@ -64695,39 +64695,39 @@ "path": "/v1/treasury/outbound_transfers/{outbound_transfer}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/outbound_transfers" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail" }, { - "method_name": "cancel", + "method_name": "post", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel" + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post" }, { - "method_name": "fail", + "method_name": "return_outbound_transfer", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail" + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return" }, { - "method_name": "post", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post" + "path": "/v1/treasury/outbound_transfers" }, { - "method_name": "return_outbound_transfer", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return" + "path": "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel" } ], "x-stripeResource": { @@ -65415,18 +65415,18 @@ "x-resourceId": "treasury.transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/treasury/transactions/{id}" + "path": "/v1/treasury/transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/treasury/transactions" + "path": "/v1/treasury/transactions/{id}" } ], "x-stripeResource": { @@ -65577,18 +65577,18 @@ "x-resourceId": "treasury.transaction_entry", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/treasury/transaction_entries/{id}" + "path": "/v1/treasury/transaction_entries" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/treasury/transaction_entries" + "path": "/v1/treasury/transaction_entries/{id}" } ], "x-stripeResource": { @@ -67220,6 +67220,13 @@ "x-expandableFields": [], "x-resourceId": "webhook_endpoint", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/webhook_endpoints/{webhook_endpoint}" + }, { "method_name": "list", "method_on": "service", @@ -67247,13 +67254,6 @@ "method_type": "update", "operation": "post", "path": "/v1/webhook_endpoints/{webhook_endpoint}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/webhook_endpoints/{webhook_endpoint}" } ], "x-stripeResource": { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 364f17ac..8e1585e2 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -175,51 +175,51 @@ components: - tos_acceptance x-resourceId: account x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}' - method_name: retrieve method_on: service method_type: retrieve operation: get path: /v1/account + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/accounts - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/accounts/{account}' - - method_name: update + - method_name: capabilities method_on: service - method_type: update - operation: post - path: '/v1/accounts/{account}' - - method_name: list + method_type: custom + operation: get + path: '/v1/accounts/{account}/capabilities' + - method_name: persons method_on: service - method_type: list + method_type: custom operation: get - path: /v1/accounts + path: '/v1/accounts/{account}/persons' - method_name: create method_on: service method_type: create operation: post path: /v1/accounts - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete + method_type: update + operation: post path: '/v1/accounts/{account}' - method_name: reject method_on: service method_type: custom operation: post path: '/v1/accounts/{account}/reject' - - method_name: persons - method_on: service - method_type: custom - operation: get - path: '/v1/accounts/{account}/persons' - - method_name: capabilities - method_on: service - method_type: custom - operation: get - path: '/v1/accounts/{account}/capabilities' x-stripeResource: class_name: Account has_collection_class: true @@ -1368,16 +1368,16 @@ components: - linked_objects x-resourceId: account_notice x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/account_notices/{account_notice}' - method_name: list method_on: service method_type: list operation: get path: /v1/account_notices + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/account_notices/{account_notice}' - method_name: update method_on: service method_type: update @@ -2340,26 +2340,26 @@ components: x-expandableFields: [] x-resourceId: apple_pay_domain x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/apple_pay/domains/{domain}' - method_name: list method_on: service method_type: list operation: get path: /v1/apple_pay/domains - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/apple_pay/domains - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/apple_pay/domains/{domain}' - - method_name: delete + - method_name: create method_on: service - method_type: delete - operation: delete - path: '/v1/apple_pay/domains/{domain}' + method_type: create + operation: post + path: /v1/apple_pay/domains x-stripeResource: class_name: ApplePayDomain has_collection_class: true @@ -2682,6 +2682,11 @@ components: - scope x-resourceId: apps.secret x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/apps/secrets - method_name: find method_on: service method_type: custom @@ -2697,11 +2702,6 @@ components: method_type: custom operation: post path: /v1/apps/secrets/delete - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/apps/secrets x-stripeResource: class_name: Secret has_collection_class: true @@ -3354,31 +3354,31 @@ components: - requirements x-resourceId: bank_account x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}/sources/{id}' + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: delete method_on: service method_type: delete operation: delete path: '/v1/customers/{customer}/sources/{id}' - - method_name: verify + - method_name: update method_on: service - method_type: custom + method_type: update operation: post - path: '/v1/customers/{customer}/sources/{id}/verify' + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: update method_on: service method_type: update operation: post - path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete + path: '/v1/customers/{customer}/sources/{id}' + - method_name: verify method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' + method_type: custom + operation: post + path: '/v1/customers/{customer}/sources/{id}/verify' x-stripeResource: class_name: BankAccount in_package: '' @@ -3874,6 +3874,11 @@ components: method_type: list operation: get path: /v1/billing_portal/configurations + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/billing_portal/configurations/{configuration}' - method_name: create method_on: service method_type: create @@ -3884,11 +3889,6 @@ components: method_type: update operation: post path: '/v1/billing_portal/configurations/{configuration}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/billing_portal/configurations/{configuration}' x-stripeResource: class_name: Configuration has_collection_class: true @@ -4605,16 +4605,16 @@ components: - details x-resourceId: capital.financing_transaction x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/capital/financing_transactions/{financing_transaction}' - method_name: list method_on: service method_type: list operation: get path: /v1/capital/financing_transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/capital/financing_transactions/{financing_transaction}' x-stripeResource: class_name: FinancingTransaction has_collection_class: true @@ -5155,11 +5155,11 @@ components: - customer x-resourceId: card x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}/sources/{id}' + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: delete method_on: service method_type: delete @@ -5170,11 +5170,11 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' + method_type: update + operation: post + path: '/v1/customers/{customer}/sources/{id}' x-stripeResource: class_name: Card in_package: '' @@ -5771,26 +5771,26 @@ components: - transfer_data x-resourceId: charge x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/charges/search - method_name: list method_on: service method_type: list operation: get path: /v1/charges - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/charges - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/charges/{charge}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/charges/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/charges - method_name: update method_on: service method_type: update @@ -6704,16 +6704,16 @@ components: method_type: retrieve operation: get path: '/v1/checkout/sessions/{session}' - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/checkout/sessions - method_name: list_line_items method_on: service method_type: custom operation: get path: '/v1/checkout/sessions/{session}/line_items' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/checkout/sessions - method_name: expire method_on: service method_type: custom @@ -8028,16 +8028,16 @@ components: - product x-resourceId: climate.order x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/orders/{order}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/orders + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/orders/{order}' - method_name: create method_on: service method_type: create @@ -8191,16 +8191,16 @@ components: - suppliers x-resourceId: climate.product x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/products/{product}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/products + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/products/{product}' x-stripeResource: class_name: Product has_collection_class: true @@ -8280,16 +8280,16 @@ components: - locations x-resourceId: climate.supplier x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/suppliers/{supplier}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/suppliers + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/suppliers/{supplier}' x-stripeResource: class_name: Supplier has_collection_class: true @@ -9305,31 +9305,31 @@ components: - currency_options x-resourceId: coupon x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/coupons/{coupon}' - method_name: list method_on: service method_type: list operation: get path: /v1/coupons - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/coupons - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/coupons/{coupon}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/coupons - method_name: update method_on: service method_type: update operation: post path: '/v1/coupons/{coupon}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/coupons/{coupon}' x-stripeResource: class_name: Coupon has_collection_class: true @@ -9686,25 +9686,30 @@ components: - tax_amounts x-resourceId: credit_note x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/credit_notes + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/credit_notes/{id}' - method_name: preview method_on: service method_type: custom operation: get path: /v1/credit_notes/preview - - method_name: retrieve + - method_name: preview_lines method_on: service - method_type: retrieve + method_type: custom operation: get - path: '/v1/credit_notes/{id}' - - method_name: list + path: /v1/credit_notes/preview/lines + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/credit_notes - method_name: update method_on: service @@ -9716,11 +9721,6 @@ components: method_type: custom operation: post path: '/v1/credit_notes/{id}/void' - - method_name: preview_lines - method_on: service - method_type: custom - operation: get - path: /v1/credit_notes/preview/lines x-stripeResource: class_name: CreditNote has_collection_class: true @@ -10379,36 +10379,31 @@ components: - test_clock x-resourceId: customer x-stripeOperations: - - method_name: search + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/customers/{customer}' + - method_name: delete_discount method_on: service method_type: custom - operation: get - path: /v1/customers/search + operation: delete + path: '/v1/customers/{customer}/discount' - method_name: list method_on: service method_type: list operation: get path: /v1/customers - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/customers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/customers/{customer}' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}' - - method_name: delete + - method_name: balance_transactions method_on: service - method_type: delete - operation: delete - path: '/v1/customers/{customer}' + method_type: custom + operation: get + path: '/v1/customers/{customer}/balance_transactions' - method_name: list_payment_methods method_on: service method_type: custom @@ -10419,26 +10414,31 @@ components: method_type: custom operation: get path: '/v1/customers/{customer}/payment_methods/{payment_method}' - - method_name: balance_transactions + - method_name: search method_on: service method_type: custom operation: get - path: '/v1/customers/{customer}/balance_transactions' - - method_name: fund_cash_balance + path: /v1/customers/search + - method_name: create method_on: service - method_type: custom + method_type: create operation: post - path: '/v1/test_helpers/customers/{customer}/fund_cash_balance' + path: /v1/customers + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/customers/{customer}' - method_name: create_funding_instructions method_on: service method_type: custom operation: post path: '/v1/customers/{customer}/funding_instructions' - - method_name: delete_discount + - method_name: fund_cash_balance method_on: service method_type: custom - operation: delete - path: '/v1/customers/{customer}/discount' + operation: post + path: '/v1/test_helpers/customers/{customer}/fund_cash_balance' x-stripeResource: class_name: Customer has_collection_class: true @@ -11235,16 +11235,6 @@ components: - invoice x-resourceId: customer_balance_transaction x-stripeOperations: - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/balance_transactions/{transaction}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/balance_transactions/{transaction}' - method_name: list method_on: collection method_type: list @@ -11255,6 +11245,16 @@ components: method_type: list operation: get path: '/v1/customers/{customer}/balance_transactions' + - method_name: retrieve + method_on: collection + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/balance_transactions/{transaction}' + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/balance_transactions/{transaction}' - method_name: create method_on: collection method_type: create @@ -11399,16 +11399,6 @@ components: - unapplied_from_payment x-resourceId: customer_cash_balance_transaction x-stripeOperations: - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' - method_name: list method_on: collection method_type: list @@ -11419,6 +11409,16 @@ components: method_type: list operation: get path: '/v1/customers/{customer}/cash_balance_transactions' + - method_name: retrieve + method_on: collection + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' x-stripeResource: class_name: CustomerCashBalanceTransaction has_collection_class: true @@ -13296,16 +13296,16 @@ components: x-expandableFields: [] x-resourceId: ephemeral_key x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/ephemeral_keys - method_name: delete method_on: service method_type: delete operation: delete path: '/v1/ephemeral_keys/{key}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/ephemeral_keys x-stripeResource: class_name: EphemeralKey in_package: '' @@ -13849,6 +13849,11 @@ components: x-resourceId: external_account x-stripeBypassValidation: true x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: list method_on: collection method_type: list @@ -13884,11 +13889,6 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' x-stripeResource: class_name: ExternalAccount has_collection_class: true @@ -14068,16 +14068,16 @@ components: - fee x-resourceId: fee_refund x-stripeOperations: - - method_name: create + - method_name: retrieve method_on: collection - method_type: create - operation: post - path: '/v1/application_fees/{id}/refunds' - - method_name: create + method_type: retrieve + operation: get + path: '/v1/application_fees/{fee}/refunds/{id}' + - method_name: retrieve method_on: service - method_type: create - operation: post - path: '/v1/application_fees/{id}/refunds' + method_type: retrieve + operation: get + path: '/v1/application_fees/{fee}/refunds/{id}' - method_name: list method_on: collection method_type: list @@ -14088,21 +14088,21 @@ components: method_type: list operation: get path: '/v1/application_fees/{id}/refunds' - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/application_fees/{fee}/refunds/{id}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/application_fees/{fee}/refunds/{id}' - method_name: update method_on: service method_type: update operation: post path: '/v1/application_fees/{fee}/refunds/{id}' + - method_name: create + method_on: collection + method_type: create + operation: post + path: '/v1/application_fees/{id}/refunds' + - method_name: create + method_on: service + method_type: create + operation: post + path: '/v1/application_fees/{id}/refunds' x-stripeResource: class_name: FeeRefund has_collection_class: true @@ -14354,6 +14354,11 @@ components: - file x-resourceId: file_link x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/file_links - method_name: retrieve method_on: service method_type: retrieve @@ -14369,11 +14374,6 @@ components: method_type: update operation: post path: '/v1/file_links/{link}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/file_links x-stripeResource: class_name: FileLink has_collection_class: true @@ -14588,16 +14588,16 @@ components: method_type: custom operation: get path: '/v1/financial_connections/accounts/{account}/owners' - - method_name: refresh + - method_name: disconnect method_on: service method_type: custom operation: post - path: '/v1/financial_connections/accounts/{account}/refresh' - - method_name: disconnect + path: '/v1/financial_connections/accounts/{account}/disconnect' + - method_name: refresh method_on: service method_type: custom operation: post - path: '/v1/financial_connections/accounts/{account}/disconnect' + path: '/v1/financial_connections/accounts/{account}/refresh' - method_name: subscribe method_on: service method_type: custom @@ -15034,16 +15034,16 @@ components: - status_details x-resourceId: financial_connections.session x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/financial_connections/sessions - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/financial_connections/sessions/{session}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/financial_connections/sessions x-stripeResource: class_name: Session in_package: FinancialConnections @@ -15149,16 +15149,16 @@ components: - status_transitions x-resourceId: financial_connections.transaction x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/financial_connections/transactions/{transaction}' - method_name: list method_on: service method_type: list operation: get path: /v1/financial_connections/transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/financial_connections/transactions/{transaction}' x-stripeResource: class_name: Transaction has_collection_class: true @@ -16298,31 +16298,31 @@ components: - transactions x-resourceId: gift_cards.card x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/gift_cards/cards - method_name: list method_on: service method_type: list operation: get path: /v1/gift_cards/cards - - method_name: validate - method_on: service - method_type: custom - operation: post - path: /v1/gift_cards/cards/validate - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/gift_cards/cards/{id}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/gift_cards/cards - method_name: update method_on: service method_type: update operation: post path: '/v1/gift_cards/cards/{id}' + - method_name: validate + method_on: service + method_type: custom + operation: post + path: /v1/gift_cards/cards/validate x-stripeResource: class_name: Card has_collection_class: true @@ -16458,15 +16458,20 @@ components: method_type: list operation: get path: /v1/gift_cards/transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/gift_cards/transactions/{id}' - method_name: create method_on: service method_type: create operation: post path: /v1/gift_cards/transactions - - method_name: retrieve + - method_name: update method_on: service - method_type: retrieve - operation: get + method_type: update + operation: post path: '/v1/gift_cards/transactions/{id}' - method_name: cancel method_on: service @@ -16478,11 +16483,6 @@ components: method_type: custom operation: post path: '/v1/gift_cards/transactions/{id}/confirm' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/gift_cards/transactions/{id}' x-stripeResource: class_name: Transaction has_collection_class: true @@ -16573,16 +16573,16 @@ components: - selfie x-resourceId: identity.verification_report x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/identity/verification_reports/{report}' - method_name: list method_on: service method_type: list operation: get path: /v1/identity/verification_reports + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/identity/verification_reports/{report}' x-stripeResource: class_name: VerificationReport has_collection_class: true @@ -16755,21 +16755,26 @@ components: - verified_outputs x-resourceId: identity.verification_session x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/identity/verification_sessions - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/identity/verification_sessions/{session}' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/identity/verification_sessions + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/identity/verification_sessions/{session}' - method_name: cancel method_on: service method_type: custom @@ -16780,11 +16785,6 @@ components: method_type: custom operation: post path: '/v1/identity/verification_sessions/{session}/redact' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/identity/verification_sessions/{session}' x-stripeResource: class_name: VerificationSession has_collection_class: true @@ -17878,6 +17878,21 @@ components: - transfer_data x-resourceId: invoice x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/invoices/{invoice}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/invoices + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/invoices/{invoice}' - method_name: search method_on: service method_type: custom @@ -17888,16 +17903,6 @@ components: method_type: custom operation: get path: /v1/invoices/upcoming - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/invoices/{invoice}' - - method_name: pay - method_on: service - method_type: custom - operation: post - path: '/v1/invoices/{invoice}/pay' - method_name: upcomingLines method_on: service method_type: custom @@ -17908,46 +17913,41 @@ components: method_type: create operation: post path: /v1/invoices - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/invoices - - method_name: retrieve + - method_name: update method_on: service - method_type: retrieve - operation: get + method_type: update + operation: post path: '/v1/invoices/{invoice}' - - method_name: delete + - method_name: attach_payment_intent method_on: service - method_type: delete - operation: delete - path: '/v1/invoices/{invoice}' + method_type: custom + operation: post + path: '/v1/invoices/{invoice}/attach_payment_intent' - method_name: finalize_invoice method_on: service method_type: custom operation: post path: '/v1/invoices/{invoice}/finalize' - - method_name: send_invoice + - method_name: mark_uncollectible method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/send' - - method_name: mark_uncollectible + path: '/v1/invoices/{invoice}/mark_uncollectible' + - method_name: pay method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/mark_uncollectible' - - method_name: void_invoice + path: '/v1/invoices/{invoice}/pay' + - method_name: send_invoice method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/void' - - method_name: attach_payment_intent + path: '/v1/invoices/{invoice}/send' + - method_name: void_invoice method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/attach_payment_intent' + path: '/v1/invoices/{invoice}/void' x-stripeResource: class_name: Invoice has_collection_class: true @@ -19088,31 +19088,31 @@ components: - test_clock x-resourceId: invoiceitem x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/invoiceitems/{invoiceitem}' - method_name: list method_on: service method_type: list operation: get path: /v1/invoiceitems - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/invoiceitems - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/invoiceitems/{invoiceitem}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/invoiceitems - method_name: update method_on: service method_type: update operation: post path: '/v1/invoiceitems/{invoiceitem}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/invoiceitems/{invoiceitem}' x-stripeResource: class_name: InvoiceItem has_collection_class: true @@ -19831,26 +19831,26 @@ components: method_type: create operation: post path: /v1/test_helpers/issuing/authorizations - - method_name: increment + - method_name: capture method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/increment' - - method_name: reverse + path: '/v1/test_helpers/issuing/authorizations/{authorization}/capture' + - method_name: expire method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse' - - method_name: expire + path: '/v1/test_helpers/issuing/authorizations/{authorization}/expire' + - method_name: increment method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/expire' - - method_name: capture + path: '/v1/test_helpers/issuing/authorizations/{authorization}/increment' + - method_name: reverse method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/capture' + path: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse' x-stripeResource: class_name: Authorization has_collection_class: true @@ -20062,16 +20062,16 @@ components: method_type: list operation: get path: /v1/issuing/cards - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/issuing/cards - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/issuing/cards/{card}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/issuing/cards - method_name: update method_on: service method_type: update @@ -20082,21 +20082,21 @@ components: method_type: custom operation: post path: '/v1/test_helpers/issuing/cards/{card}/shipping/deliver' - - method_name: ship_card + - method_name: fail_card method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/cards/{card}/shipping/ship' + path: '/v1/test_helpers/issuing/cards/{card}/shipping/fail' - method_name: return_card method_on: service method_type: custom operation: post path: '/v1/test_helpers/issuing/cards/{card}/shipping/return' - - method_name: fail_card + - method_name: ship_card method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/cards/{card}/shipping/fail' + path: '/v1/test_helpers/issuing/cards/{card}/shipping/ship' x-stripeResource: class_name: Card has_collection_class: true @@ -20248,16 +20248,16 @@ components: method_type: list operation: get path: /v1/issuing/cardholders - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/issuing/cardholders - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/issuing/cardholders/{cardholder}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/issuing/cardholders - method_name: update method_on: service method_type: update @@ -20378,38 +20378,38 @@ components: - underwriting_exception x-resourceId: issuing.credit_underwriting_record x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}' - method_name: list method_on: service method_type: list operation: get path: /v1/issuing/credit_underwriting_records - - method_name: create_from_application + - method_name: retrieve method_on: service - method_type: custom - operation: post - path: /v1/issuing/credit_underwriting_records/create_from_application - - method_name: create_from_proactive_review + method_type: retrieve + operation: get + path: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}' + - method_name: correct method_on: service method_type: custom operation: post - path: /v1/issuing/credit_underwriting_records/create_from_proactive_review + path: >- + /v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct - method_name: report_decision method_on: service method_type: custom operation: post path: >- /v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision - - method_name: correct + - method_name: create_from_application method_on: service method_type: custom operation: post - path: >- - /v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct + path: /v1/issuing/credit_underwriting_records/create_from_application + - method_name: create_from_proactive_review + method_on: service + method_type: custom + operation: post + path: /v1/issuing/credit_underwriting_records/create_from_proactive_review x-stripeResource: class_name: CreditUnderwritingRecord has_collection_class: true @@ -20525,6 +20525,11 @@ components: method_type: list operation: get path: /v1/issuing/disputes + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/issuing/disputes/{dispute}' - method_name: create method_on: service method_type: create @@ -20535,11 +20540,6 @@ components: method_type: update operation: post path: '/v1/issuing/disputes/{dispute}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/issuing/disputes/{dispute}' - method_name: submit method_on: service method_type: custom @@ -21120,6 +21120,11 @@ components: method_type: update operation: post path: '/v1/issuing/transactions/{transaction}' + - method_name: refund + method_on: service + method_type: custom + operation: post + path: '/v1/test_helpers/issuing/transactions/{transaction}/refund' - method_name: create_force_capture method_on: service method_type: custom @@ -21130,11 +21135,6 @@ components: method_type: custom operation: post path: /v1/test_helpers/issuing/transactions/create_unlinked_refund - - method_name: refund - method_on: service - method_type: custom - operation: post - path: '/v1/test_helpers/issuing/transactions/{transaction}/refund' x-stripeResource: class_name: Transaction has_collection_class: true @@ -27149,11 +27149,6 @@ components: x-expandableFields: [] x-resourceId: margin x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/billing/margins - method_name: list method_on: service method_type: list @@ -27164,6 +27159,11 @@ components: method_type: retrieve operation: get path: '/v1/billing/margins/{margin}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/billing/margins - method_name: update method_on: service method_type: update @@ -27640,11 +27640,6 @@ components: - total_details x-resourceId: order x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/orders - method_name: list method_on: service method_type: list @@ -27655,16 +27650,21 @@ components: method_type: retrieve operation: get path: '/v1/orders/{id}' + - method_name: list_line_items + method_on: service + method_type: custom + operation: get + path: '/v1/orders/{id}/line_items' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/orders - method_name: update method_on: service method_type: update operation: post path: '/v1/orders/{id}' - - method_name: submit - method_on: service - method_type: custom - operation: post - path: '/v1/orders/{id}/submit' - method_name: cancel method_on: service method_type: custom @@ -27675,11 +27675,11 @@ components: method_type: custom operation: post path: '/v1/orders/{id}/reopen' - - method_name: list_line_items + - method_name: submit method_on: service method_type: custom - operation: get - path: '/v1/orders/{id}/line_items' + operation: post + path: '/v1/orders/{id}/submit' x-stripeResource: class_name: Order has_collection_class: true @@ -29605,16 +29605,6 @@ components: - transfer_data x-resourceId: payment_intent x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/payment_intents/search - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/payment_intents - method_name: list method_on: service method_type: list @@ -29625,16 +29615,26 @@ components: method_type: retrieve operation: get path: '/v1/payment_intents/{intent}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/payment_intents/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/payment_intents - method_name: update method_on: service method_type: update operation: post path: '/v1/payment_intents/{intent}' - - method_name: confirm + - method_name: apply_customer_balance method_on: service method_type: custom operation: post - path: '/v1/payment_intents/{intent}/confirm' + path: '/v1/payment_intents/{intent}/apply_customer_balance' - method_name: cancel method_on: service method_type: custom @@ -29645,6 +29645,11 @@ components: method_type: custom operation: post path: '/v1/payment_intents/{intent}/capture' + - method_name: confirm + method_on: service + method_type: custom + operation: post + path: '/v1/payment_intents/{intent}/confirm' - method_name: increment_authorization method_on: service method_type: custom @@ -29655,11 +29660,6 @@ components: method_type: custom operation: post path: '/v1/payment_intents/{intent}/verify_microdeposits' - - method_name: apply_customer_balance - method_on: service - method_type: custom - operation: post - path: '/v1/payment_intents/{intent}/apply_customer_balance' x-stripeResource: class_name: PaymentIntent has_collection_class: true @@ -32663,26 +32663,26 @@ components: - zip x-resourceId: payment_method x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/payment_methods - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/payment_methods/{payment_method}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/payment_methods - method_name: update method_on: service method_type: update operation: post path: '/v1/payment_methods/{payment_method}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/payment_methods - method_name: attach method_on: service method_type: custom @@ -33659,16 +33659,16 @@ components: method_type: retrieve operation: get path: '/v1/payment_method_configurations/{configuration}' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/payment_method_configurations/{configuration}' - method_name: create method_on: service method_type: create operation: post path: /v1/payment_method_configurations + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/payment_method_configurations/{configuration}' x-stripeResource: class_name: PaymentMethodConfiguration has_collection_class: true @@ -36026,16 +36026,16 @@ components: - paypal x-resourceId: payment_method_domain x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/payment_method_domains/{payment_method_domain}' - method_name: list method_on: service method_type: list operation: get path: /v1/payment_method_domains + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/payment_method_domains/{payment_method_domain}' - method_name: create method_on: service method_type: create @@ -39277,16 +39277,16 @@ components: - reversed_by x-resourceId: payout x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/payouts/{payout}' - method_name: list method_on: service method_type: list operation: get path: /v1/payouts + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/payouts/{payout}' - method_name: create method_on: service method_type: create @@ -39630,6 +39630,11 @@ components: - verification x-resourceId: person x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}/persons/{person}' - method_name: list method_on: collection method_type: list @@ -39665,11 +39670,6 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/persons/{person}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/persons/{person}' x-stripeResource: class_name: Person has_collection_class: true @@ -40162,31 +40162,31 @@ components: - transform_usage x-resourceId: plan x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/plans/{plan}' - method_name: list method_on: service method_type: list operation: get path: /v1/plans - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/plans - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/plans/{plan}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/plans - method_name: update method_on: service method_type: update operation: post path: '/v1/plans/{plan}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/plans/{plan}' x-stripeResource: class_name: Plan has_collection_class: true @@ -41040,26 +41040,26 @@ components: - transform_quantity x-resourceId: price x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/prices/search - method_name: list method_on: service method_type: list operation: get path: /v1/prices - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/prices - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/prices/{price}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/prices/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/prices - method_name: update method_on: service method_type: update @@ -41326,6 +41326,21 @@ components: - tax_code x-resourceId: product x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/products/{id}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/products + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/products/{id}' - method_name: search method_on: service method_type: custom @@ -41336,26 +41351,11 @@ components: method_type: create operation: post path: /v1/products - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/products/{id}' - method_name: update method_on: service method_type: update operation: post path: '/v1/products/{id}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/products - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/products/{id}' x-stripeResource: class_name: Product has_collection_class: true @@ -41548,6 +41548,11 @@ components: - restrictions x-resourceId: promotion_code x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/promotion_codes - method_name: retrieve method_on: service method_type: retrieve @@ -41563,11 +41568,6 @@ components: method_type: update operation: post path: '/v1/promotion_codes/{promotion_code}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/promotion_codes x-stripeResource: class_name: PromotionCode has_collection_class: true @@ -42058,11 +42058,31 @@ components: - transfer_data x-resourceId: quote x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/quotes - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/quotes/{quote}' + - method_name: list_computed_upfront_line_items + method_on: service + method_type: custom + operation: get + path: '/v1/quotes/{quote}/computed_upfront_line_items' + - method_name: list_line_items + method_on: service + method_type: custom + operation: get + path: '/v1/quotes/{quote}/line_items' + - method_name: list_lines + method_on: service + method_type: custom + operation: get + path: '/v1/quotes/{quote}/lines' - method_name: create method_on: service method_type: create @@ -42073,6 +42093,11 @@ components: method_type: update operation: post path: '/v1/quotes/{quote}' + - method_name: accept + method_on: service + method_type: custom + operation: post + path: '/v1/quotes/{quote}/accept' - method_name: cancel method_on: service method_type: custom @@ -42083,16 +42108,6 @@ components: method_type: custom operation: post path: '/v1/quotes/{quote}/finalize' - - method_name: accept - method_on: service - method_type: custom - operation: post - path: '/v1/quotes/{quote}/accept' - - method_name: reestimate - method_on: service - method_type: custom - operation: post - path: '/v1/quotes/{quote}/reestimate' - method_name: mark_draft method_on: service method_type: custom @@ -42103,26 +42118,11 @@ components: method_type: custom operation: post path: '/v1/quotes/{quote}/mark_stale' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/quotes - - method_name: list_line_items - method_on: service - method_type: custom - operation: get - path: '/v1/quotes/{quote}/line_items' - - method_name: list_computed_upfront_line_items - method_on: service - method_type: custom - operation: get - path: '/v1/quotes/{quote}/computed_upfront_line_items' - - method_name: list_lines + - method_name: reestimate method_on: service method_type: custom - operation: get - path: '/v1/quotes/{quote}/lines' + operation: post + path: '/v1/quotes/{quote}/reestimate' - method_name: pdf method_on: service method_type: custom @@ -45253,6 +45253,11 @@ components: - list_items x-resourceId: radar.value_list x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/radar/value_lists/{value_list}' - method_name: list method_on: service method_type: list @@ -45273,11 +45278,6 @@ components: method_type: update operation: post path: '/v1/radar/value_lists/{value_list}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/radar/value_lists/{value_list}' x-stripeResource: class_name: ValueList has_collection_class: true @@ -45340,6 +45340,11 @@ components: x-expandableFields: [] x-resourceId: radar.value_list_item x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/radar/value_list_items/{item}' - method_name: list method_on: service method_type: list @@ -45355,11 +45360,6 @@ components: method_type: create operation: post path: /v1/radar/value_list_items - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/radar/value_list_items/{item}' x-stripeResource: class_name: ValueListItem has_collection_class: true @@ -45744,16 +45744,16 @@ components: method_type: list operation: get path: /v1/refunds - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/refunds - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/refunds/{refund}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/refunds - method_name: update method_on: service method_type: update @@ -46083,6 +46083,11 @@ components: - result x-resourceId: reporting.report_run x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/reporting/report_runs - method_name: retrieve method_on: service method_type: retrieve @@ -46093,11 +46098,6 @@ components: method_type: create operation: post path: /v1/reporting/report_runs - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/reporting/report_runs x-stripeResource: class_name: ReportRun has_collection_class: true @@ -46217,16 +46217,16 @@ components: x-expandableFields: [] x-resourceId: reporting.report_type x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/reporting/report_types/{report_type}' - method_name: list method_on: service method_type: list operation: get path: /v1/reporting/report_types + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/reporting/report_types/{report_type}' x-stripeResource: class_name: ReportType has_collection_class: true @@ -47778,11 +47778,6 @@ components: - single_use_mandate x-resourceId: setup_intent x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/setup_intents - method_name: list method_on: service method_type: list @@ -47793,21 +47788,26 @@ components: method_type: retrieve operation: get path: '/v1/setup_intents/{intent}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/setup_intents - method_name: update method_on: service method_type: update operation: post path: '/v1/setup_intents/{intent}' - - method_name: confirm + - method_name: cancel method_on: service method_type: custom operation: post - path: '/v1/setup_intents/{intent}/confirm' - - method_name: cancel + path: '/v1/setup_intents/{intent}/cancel' + - method_name: confirm method_on: service method_type: custom operation: post - path: '/v1/setup_intents/{intent}/cancel' + path: '/v1/setup_intents/{intent}/confirm' - method_name: verify_microdeposits method_on: service method_type: custom @@ -48842,6 +48842,11 @@ components: method_type: retrieve operation: get path: '/v1/sources/{source}' + - method_name: source_transactions + method_on: service + method_type: custom + operation: get + path: '/v1/sources/{source}/source_transactions' - method_name: create method_on: service method_type: create @@ -48857,11 +48862,6 @@ components: method_type: custom operation: post path: '/v1/sources/{source}/verify' - - method_name: source_transactions - method_on: service - method_type: custom - operation: get - path: '/v1/sources/{source}/source_transactions' x-stripeResource: class_name: Source in_package: '' @@ -50732,46 +50732,46 @@ components: - trial_settings x-resourceId: subscription x-stripeOperations: - - method_name: search + - method_name: cancel method_on: service method_type: custom - operation: get - path: /v1/subscriptions/search + operation: delete + path: '/v1/subscriptions/{subscription_exposed_id}' + - method_name: delete_discount + method_on: service + method_type: custom + operation: delete + path: '/v1/subscriptions/{subscription_exposed_id}/discount' - method_name: list method_on: service method_type: list operation: get path: /v1/subscriptions - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/subscriptions - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/subscriptions/{subscription_exposed_id}' - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/subscriptions/{subscription_exposed_id}' - - method_name: cancel + - method_name: search method_on: service method_type: custom - operation: delete - path: '/v1/subscriptions/{subscription_exposed_id}' + operation: get + path: /v1/subscriptions/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/subscriptions - method_name: resume method_on: service method_type: custom operation: post path: '/v1/subscriptions/{subscription}/resume' - - method_name: delete_discount + - method_name: update method_on: service - method_type: custom - operation: delete - path: '/v1/subscriptions/{subscription_exposed_id}/discount' + method_type: update + operation: post + path: '/v1/subscriptions/{subscription_exposed_id}' x-stripeResource: class_name: Subscription has_collection_class: true @@ -50952,6 +50952,11 @@ components: - trial x-resourceId: subscription_item x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/subscription_items/{item}' - method_name: list method_on: service method_type: list @@ -50962,6 +50967,11 @@ components: method_type: retrieve operation: get path: '/v1/subscription_items/{item}' + - method_name: usage_record_summaries + method_on: service + method_type: custom + operation: get + path: '/v1/subscription_items/{subscription_item}/usage_record_summaries' - method_name: create method_on: service method_type: create @@ -50972,16 +50982,6 @@ components: method_type: update operation: post path: '/v1/subscription_items/{item}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/subscription_items/{item}' - - method_name: usage_record_summaries - method_on: service - method_type: custom - operation: get - path: '/v1/subscription_items/{subscription_item}/usage_record_summaries' x-stripeResource: class_name: SubscriptionItem has_collection_class: true @@ -51318,16 +51318,16 @@ components: method_type: list operation: get path: /v1/subscription_schedules - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/subscription_schedules - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/subscription_schedules/{schedule}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/subscription_schedules - method_name: update method_on: service method_type: update @@ -52479,16 +52479,16 @@ components: - tax_breakdown x-resourceId: tax.calculation x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/tax/calculations - method_name: list_line_items method_on: service method_type: custom operation: get path: '/v1/tax/calculations/{calculation}/line_items' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/tax/calculations x-stripeResource: class_name: Calculation in_package: Tax @@ -52786,16 +52786,16 @@ components: method_type: list operation: get path: /v1/tax/registrations - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/tax/registrations - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/tax/registrations/{id}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/tax/registrations - method_name: update method_on: service method_type: update @@ -53042,21 +53042,21 @@ components: method_type: retrieve operation: get path: '/v1/tax/transactions/{transaction}' - - method_name: create_reversal + - method_name: list_line_items method_on: service method_type: custom - operation: post - path: /v1/tax/transactions/create_reversal + operation: get + path: '/v1/tax/transactions/{transaction}/line_items' - method_name: create_from_calculation method_on: service method_type: custom operation: post path: /v1/tax/transactions/create_from_calculation - - method_name: list_line_items + - method_name: create_reversal method_on: service method_type: custom - operation: get - path: '/v1/tax/transactions/{transaction}/line_items' + operation: post + path: /v1/tax/transactions/create_reversal x-stripeResource: class_name: Transaction in_package: Tax @@ -53417,15 +53417,20 @@ components: - verification x-resourceId: tax_id x-stripeOperations: - - method_name: create + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/customers/{customer}/tax_ids/{id}' + - method_name: list method_on: collection - method_type: create - operation: post + method_type: list + operation: get path: '/v1/customers/{customer}/tax_ids' - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: '/v1/customers/{customer}/tax_ids' - method_name: retrieve method_on: collection @@ -53437,21 +53442,16 @@ components: method_type: retrieve operation: get path: '/v1/customers/{customer}/tax_ids/{id}' - - method_name: list + - method_name: create method_on: collection - method_type: list - operation: get + method_type: create + operation: post path: '/v1/customers/{customer}/tax_ids' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: '/v1/customers/{customer}/tax_ids' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/customers/{customer}/tax_ids/{id}' x-stripeResource: class_name: TaxId has_collection_class: true @@ -54845,11 +54845,11 @@ components: - verifone_p400 x-resourceId: terminal.configuration x-stripeOperations: - - method_name: create + - method_name: delete method_on: service - method_type: create - operation: post - path: /v1/terminal/configurations + method_type: delete + operation: delete + path: '/v1/terminal/configurations/{configuration}' - method_name: list method_on: service method_type: list @@ -54860,16 +54860,16 @@ components: method_type: retrieve operation: get path: '/v1/terminal/configurations/{configuration}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/terminal/configurations - method_name: update method_on: service method_type: update operation: post path: '/v1/terminal/configurations/{configuration}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/terminal/configurations/{configuration}' x-stripeResource: class_name: Configuration has_collection_class: true @@ -54976,6 +54976,16 @@ components: - address x-resourceId: terminal.location x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/terminal/locations/{location}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/terminal/locations - method_name: retrieve method_on: service method_type: retrieve @@ -54991,16 +55001,6 @@ components: method_type: update operation: post path: '/v1/terminal/locations/{location}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/terminal/locations - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/terminal/locations/{location}' x-stripeResource: class_name: Location has_collection_class: true @@ -55110,11 +55110,16 @@ components: - location x-resourceId: terminal.reader x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post + method_type: delete + operation: delete path: '/v1/terminal/readers/{reader}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/terminal/readers - method_name: retrieve method_on: service method_type: retrieve @@ -55125,56 +55130,51 @@ components: method_type: create operation: post path: /v1/terminal/readers - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/terminal/readers - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete + method_type: update + operation: post path: '/v1/terminal/readers/{reader}' - - method_name: process_payment_intent + - method_name: cancel_action method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/process_payment_intent' - - method_name: process_setup_intent + path: '/v1/terminal/readers/{reader}/cancel_action' + - method_name: collect_inputs method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/process_setup_intent' - - method_name: cancel_action + path: '/v1/terminal/readers/{reader}/collect_inputs' + - method_name: collect_payment_method method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/cancel_action' - - method_name: set_reader_display + path: '/v1/terminal/readers/{reader}/collect_payment_method' + - method_name: confirm_payment_intent method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/set_reader_display' - - method_name: collect_inputs + path: '/v1/terminal/readers/{reader}/confirm_payment_intent' + - method_name: process_payment_intent method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/collect_inputs' - - method_name: refund_payment + path: '/v1/terminal/readers/{reader}/process_payment_intent' + - method_name: process_setup_intent method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/refund_payment' - - method_name: collect_payment_method + path: '/v1/terminal/readers/{reader}/process_setup_intent' + - method_name: refund_payment method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/collect_payment_method' - - method_name: confirm_payment_intent + path: '/v1/terminal/readers/{reader}/refund_payment' + - method_name: set_reader_display method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/confirm_payment_intent' + path: '/v1/terminal/readers/{reader}/set_reader_display' - method_name: present_payment_method method_on: service method_type: custom @@ -55915,6 +55915,16 @@ components: x-expandableFields: [] x-resourceId: test_helpers.test_clock x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/test_helpers/test_clocks/{test_clock}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/test_helpers/test_clocks - method_name: retrieve method_on: service method_type: retrieve @@ -55925,21 +55935,11 @@ components: method_type: create operation: post path: /v1/test_helpers/test_clocks - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/test_helpers/test_clocks/{test_clock}' - method_name: advance method_on: service method_type: custom operation: post path: '/v1/test_helpers/test_clocks/{test_clock}/advance' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/test_helpers/test_clocks x-stripeResource: class_name: TestClock has_collection_class: true @@ -56456,11 +56456,6 @@ components: - source x-resourceId: topup x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/topups - method_name: list method_on: service method_type: list @@ -56471,6 +56466,11 @@ components: method_type: retrieve operation: get path: '/v1/topups/{topup}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/topups - method_name: update method_on: service method_type: update @@ -56742,11 +56742,6 @@ components: - source_transaction x-resourceId: transfer x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/transfers - method_name: list method_on: service method_type: list @@ -56757,6 +56752,11 @@ components: method_type: retrieve operation: get path: '/v1/transfers/{transfer}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/transfers - method_name: update method_on: service method_type: update @@ -56961,16 +56961,6 @@ components: - transfer x-resourceId: transfer_reversal x-stripeOperations: - - method_name: create - method_on: collection - method_type: create - operation: post - path: '/v1/transfers/{id}/reversals' - - method_name: create - method_on: service - method_type: create - operation: post - path: '/v1/transfers/{id}/reversals' - method_name: list method_on: collection method_type: list @@ -56991,6 +56981,16 @@ components: method_type: retrieve operation: get path: '/v1/transfers/{transfer}/reversals/{id}' + - method_name: create + method_on: collection + method_type: create + operation: post + path: '/v1/transfers/{id}/reversals' + - method_name: create + method_on: service + method_type: create + operation: post + path: '/v1/transfers/{id}/reversals' - method_name: update method_on: service method_type: update @@ -57346,20 +57346,20 @@ components: - transaction x-resourceId: treasury.debit_reversal x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/debit_reversals - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/debit_reversals/{debit_reversal}' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/treasury/debit_reversals x-stripeResource: class_name: DebitReversal @@ -57554,21 +57554,6 @@ components: - status_details x-resourceId: treasury.financial_account x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/treasury/financial_accounts - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/treasury/financial_accounts/{financial_account}' - - method_name: update_features - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/financial_accounts/{financial_account}/features' - method_name: list method_on: service method_type: list @@ -57584,6 +57569,21 @@ components: method_type: custom operation: get path: '/v1/treasury/financial_accounts/{financial_account}/features' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/financial_accounts + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/treasury/financial_accounts/{financial_account}' + - method_name: update_features + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/financial_accounts/{financial_account}/features' x-stripeResource: class_name: FinancialAccount has_collection_class: true @@ -57836,41 +57836,41 @@ components: - transaction x-resourceId: treasury.inbound_transfer x-stripeOperations: - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/inbound_transfers/{inbound_transfer}/cancel' - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/inbound_transfers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/inbound_transfers/{id}' - - method_name: list + - method_name: fail method_on: service - method_type: list - operation: get - path: /v1/treasury/inbound_transfers + method_type: custom + operation: post + path: '/v1/test_helpers/treasury/inbound_transfers/{id}/fail' + - method_name: return_inbound_transfer + method_on: service + method_type: custom + operation: post + path: '/v1/test_helpers/treasury/inbound_transfers/{id}/return' - method_name: succeed method_on: service method_type: custom operation: post path: '/v1/test_helpers/treasury/inbound_transfers/{id}/succeed' - - method_name: fail + - method_name: create method_on: service - method_type: custom + method_type: create operation: post - path: '/v1/test_helpers/treasury/inbound_transfers/{id}/fail' - - method_name: return_inbound_transfer + path: /v1/treasury/inbound_transfers + - method_name: cancel method_on: service method_type: custom operation: post - path: '/v1/test_helpers/treasury/inbound_transfers/{id}/return' + path: '/v1/treasury/inbound_transfers/{inbound_transfer}/cancel' x-stripeResource: class_name: InboundTransfer has_collection_class: true @@ -58103,26 +58103,16 @@ components: - transaction x-resourceId: treasury.outbound_payment x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/outbound_payments - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/outbound_payments/{id}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/treasury/outbound_payments - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/outbound_payments/{id}/cancel' - method_name: fail method_on: service method_type: custom @@ -58138,6 +58128,16 @@ components: method_type: custom operation: post path: '/v1/test_helpers/treasury/outbound_payments/{id}/return' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/outbound_payments + - method_name: cancel + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/outbound_payments/{id}/cancel' x-stripeResource: class_name: OutboundPayment has_collection_class: true @@ -58380,26 +58380,16 @@ components: - transaction x-resourceId: treasury.outbound_transfer x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/outbound_transfers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/outbound_transfers/{outbound_transfer}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/treasury/outbound_transfers - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/outbound_transfers/{outbound_transfer}/cancel' - method_name: fail method_on: service method_type: custom @@ -58418,6 +58408,16 @@ components: operation: post path: >- /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/outbound_transfers + - method_name: cancel + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/outbound_transfers/{outbound_transfer}/cancel' x-stripeResource: class_name: OutboundTransfer has_collection_class: true @@ -59008,16 +59008,16 @@ components: - status_transitions x-resourceId: treasury.transaction x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/treasury/transactions/{id}' - method_name: list method_on: service method_type: list operation: get path: /v1/treasury/transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/treasury/transactions/{id}' x-stripeResource: class_name: Transaction has_collection_class: true @@ -59146,16 +59146,16 @@ components: - transaction x-resourceId: treasury.transaction_entry x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/treasury/transaction_entries/{id}' - method_name: list method_on: service method_type: list operation: get path: /v1/treasury/transaction_entries + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/treasury/transaction_entries/{id}' x-stripeResource: class_name: TransactionEntry has_collection_class: true @@ -60545,6 +60545,11 @@ components: x-expandableFields: [] x-resourceId: webhook_endpoint x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/webhook_endpoints/{webhook_endpoint}' - method_name: list method_on: service method_type: list @@ -60565,11 +60570,6 @@ components: method_type: update operation: post path: '/v1/webhook_endpoints/{webhook_endpoint}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/webhook_endpoints/{webhook_endpoint}' x-stripeResource: class_name: WebhookEndpoint has_collection_class: true diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index 4a5eabbe..2ee69594 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -177,6 +177,13 @@ ], "x-resourceId": "account", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}" + }, { "method_name": "retrieve", "method_on": "service", @@ -184,6 +191,13 @@ "operation": "get", "path": "/v1/account" }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/accounts" + }, { "method_name": "retrieve", "method_on": "service", @@ -192,18 +206,18 @@ "path": "/v1/accounts/{account}" }, { - "method_name": "update", + "method_name": "capabilities", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/accounts/{account}" + "method_type": "custom", + "operation": "get", + "path": "/v1/accounts/{account}/capabilities" }, { - "method_name": "list", + "method_name": "persons", "method_on": "service", - "method_type": "list", + "method_type": "custom", "operation": "get", - "path": "/v1/accounts" + "path": "/v1/accounts/{account}/persons" }, { "method_name": "create", @@ -213,10 +227,10 @@ "path": "/v1/accounts" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/accounts/{account}" }, { @@ -225,20 +239,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/accounts/{account}/reject" - }, - { - "method_name": "persons", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/accounts/{account}/persons" - }, - { - "method_name": "capabilities", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/accounts/{account}/capabilities" } ], "x-stripeResource": { @@ -2161,17 +2161,17 @@ "x-resourceId": "apple_pay_domain", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/apple_pay/domains" + "method_type": "delete", + "operation": "delete", + "path": "/v1/apple_pay/domains/{domain}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/apple_pay/domains" }, { @@ -2182,11 +2182,11 @@ "path": "/v1/apple_pay/domains/{domain}" }, { - "method_name": "delete", + "method_name": "create", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/apple_pay/domains/{domain}" + "method_type": "create", + "operation": "post", + "path": "/v1/apple_pay/domains" } ], "x-stripeResource": { @@ -2573,6 +2573,13 @@ ], "x-resourceId": "apps.secret", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/apps/secrets" + }, { "method_name": "find", "method_on": "service", @@ -2593,13 +2600,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/apps/secrets/delete" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/apps/secrets" } ], "x-stripeResource": { @@ -3244,11 +3244,11 @@ "x-resourceId": "bank_account", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}" + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "delete", @@ -3258,25 +3258,25 @@ "path": "/v1/customers/{customer}/sources/{id}" }, { - "method_name": "verify", + "method_name": "update", "method_on": "service", - "method_type": "custom", + "method_type": "update", "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}/verify" + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "update", "method_on": "service", "method_type": "update", "operation": "post", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "path": "/v1/customers/{customer}/sources/{id}" }, { - "method_name": "delete", + "method_name": "verify", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "method_type": "custom", + "operation": "post", + "path": "/v1/customers/{customer}/sources/{id}/verify" } ], "x-stripeResource": { @@ -3735,6 +3735,13 @@ "operation": "get", "path": "/v1/billing_portal/configurations" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/billing_portal/configurations/{configuration}" + }, { "method_name": "create", "method_on": "service", @@ -3748,13 +3755,6 @@ "method_type": "update", "operation": "post", "path": "/v1/billing_portal/configurations/{configuration}" - }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/billing_portal/configurations/{configuration}" } ], "x-stripeResource": { @@ -4408,11 +4408,11 @@ "x-resourceId": "card", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}/sources/{id}" + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" }, { "method_name": "delete", @@ -4429,11 +4429,11 @@ "path": "/v1/accounts/{account}/external_accounts/{id}" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" + "method_type": "update", + "operation": "post", + "path": "/v1/customers/{customer}/sources/{id}" } ], "x-stripeResource": { @@ -5115,18 +5115,25 @@ "x-resourceId": "charge", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/charges/search" + "path": "/v1/charges" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/charges" + "path": "/v1/charges/{charge}" + }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/charges/search" }, { "method_name": "create", @@ -5135,13 +5142,6 @@ "operation": "post", "path": "/v1/charges" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/charges/{charge}" - }, { "method_name": "update", "method_on": "service", @@ -6141,13 +6141,6 @@ "operation": "get", "path": "/v1/checkout/sessions/{session}" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/checkout/sessions" - }, { "method_name": "list_line_items", "method_on": "service", @@ -6155,6 +6148,13 @@ "operation": "get", "path": "/v1/checkout/sessions/{session}/line_items" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/checkout/sessions" + }, { "method_name": "expire", "method_on": "service", @@ -7191,18 +7191,18 @@ "x-resourceId": "climate.order", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/orders/{order}" + "path": "/v1/climate/orders" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/orders" + "path": "/v1/climate/orders/{order}" }, { "method_name": "create", @@ -7386,18 +7386,18 @@ "x-resourceId": "climate.product", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/products/{product}" + "path": "/v1/climate/products" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/products" + "path": "/v1/climate/products/{product}" } ], "x-stripeResource": { @@ -7501,18 +7501,18 @@ "x-resourceId": "climate.supplier", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/climate/suppliers/{supplier}" + "path": "/v1/climate/suppliers" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/climate/suppliers" + "path": "/v1/climate/suppliers/{supplier}" } ], "x-stripeResource": { @@ -8168,17 +8168,17 @@ "x-resourceId": "coupon", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/coupons" + "method_type": "delete", + "operation": "delete", + "path": "/v1/coupons/{coupon}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/coupons" }, { @@ -8189,17 +8189,17 @@ "path": "/v1/coupons/{coupon}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/coupons/{coupon}" + "path": "/v1/coupons" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/coupons/{coupon}" } ], @@ -8612,12 +8612,19 @@ "x-resourceId": "credit_note", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/credit_notes" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/credit_notes/{id}" + }, { "method_name": "preview", "method_on": "service", @@ -8626,17 +8633,17 @@ "path": "/v1/credit_notes/preview" }, { - "method_name": "retrieve", + "method_name": "preview_lines", "method_on": "service", - "method_type": "retrieve", + "method_type": "custom", "operation": "get", - "path": "/v1/credit_notes/{id}" + "path": "/v1/credit_notes/preview/lines" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/credit_notes" }, { @@ -8652,13 +8659,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/credit_notes/{id}/void" - }, - { - "method_name": "preview_lines", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/credit_notes/preview/lines" } ], "x-stripeResource": { @@ -9346,11 +9346,18 @@ "x-resourceId": "customer", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/customers/{customer}" + }, + { + "method_name": "delete_discount", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/customers/search" + "operation": "delete", + "path": "/v1/customers/{customer}/discount" }, { "method_name": "list", @@ -9359,13 +9366,6 @@ "operation": "get", "path": "/v1/customers" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/customers" - }, { "method_name": "retrieve", "method_on": "service", @@ -9374,18 +9374,11 @@ "path": "/v1/customers/{customer}" }, { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/customers/{customer}" - }, - { - "method_name": "delete", + "method_name": "balance_transactions", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/customers/{customer}" + "method_type": "custom", + "operation": "get", + "path": "/v1/customers/{customer}/balance_transactions" }, { "method_name": "list_payment_methods", @@ -9402,18 +9395,25 @@ "path": "/v1/customers/{customer}/payment_methods/{payment_method}" }, { - "method_name": "balance_transactions", + "method_name": "search", "method_on": "service", "method_type": "custom", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/search" }, { - "method_name": "fund_cash_balance", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/customers/{customer}/fund_cash_balance" + "path": "/v1/customers" + }, + { + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", + "path": "/v1/customers/{customer}" }, { "method_name": "create_funding_instructions", @@ -9423,11 +9423,11 @@ "path": "/v1/customers/{customer}/funding_instructions" }, { - "method_name": "delete_discount", + "method_name": "fund_cash_balance", "method_on": "service", "method_type": "custom", - "operation": "delete", - "path": "/v1/customers/{customer}/discount" + "operation": "post", + "path": "/v1/test_helpers/customers/{customer}/fund_cash_balance" } ], "x-stripeResource": { @@ -10400,32 +10400,32 @@ "x-resourceId": "customer_balance_transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "collection", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/balance_transactions" }, { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/balance_transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "collection", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/{customer}/balance_transactions/{transaction}" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/balance_transactions" + "path": "/v1/customers/{customer}/balance_transactions/{transaction}" }, { "method_name": "create", @@ -10570,32 +10570,32 @@ "x-resourceId": "customer_cash_balance_transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "collection", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/cash_balance_transactions" }, { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" + "path": "/v1/customers/{customer}/cash_balance_transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "collection", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions" + "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/customers/{customer}/cash_balance_transactions" + "path": "/v1/customers/{customer}/cash_balance_transactions/{transaction}" } ], "x-stripeResource": { @@ -12668,19 +12668,19 @@ "x-expandableFields": [], "x-resourceId": "ephemeral_key", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/ephemeral_keys" - }, { "method_name": "delete", "method_on": "service", "method_type": "delete", "operation": "delete", "path": "/v1/ephemeral_keys/{key}" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/ephemeral_keys" } ], "x-stripeResource": { @@ -13095,6 +13095,13 @@ "x-resourceId": "external_account", "x-stripeBypassValidation": true, "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/external_accounts/{id}" + }, { "method_name": "list", "method_on": "collection", @@ -13143,13 +13150,6 @@ "method_type": "update", "operation": "post", "path": "/v1/accounts/{account}/external_accounts/{id}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/external_accounts/{id}" } ], "x-stripeResource": { @@ -13344,18 +13344,18 @@ "x-resourceId": "fee_refund", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "retrieve", "method_on": "collection", - "method_type": "create", - "operation": "post", - "path": "/v1/application_fees/{id}/refunds" + "method_type": "retrieve", + "operation": "get", + "path": "/v1/application_fees/{fee}/refunds/{id}" }, { - "method_name": "create", + "method_name": "retrieve", "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/application_fees/{id}/refunds" + "method_type": "retrieve", + "operation": "get", + "path": "/v1/application_fees/{fee}/refunds/{id}" }, { "method_name": "list", @@ -13372,25 +13372,25 @@ "path": "/v1/application_fees/{id}/refunds" }, { - "method_name": "retrieve", - "method_on": "collection", - "method_type": "retrieve", - "operation": "get", + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", "path": "/v1/application_fees/{fee}/refunds/{id}" }, { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/application_fees/{fee}/refunds/{id}" + "method_name": "create", + "method_on": "collection", + "method_type": "create", + "operation": "post", + "path": "/v1/application_fees/{id}/refunds" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/application_fees/{fee}/refunds/{id}" + "path": "/v1/application_fees/{id}/refunds" } ], "x-stripeResource": { @@ -13669,6 +13669,13 @@ ], "x-resourceId": "file_link", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/file_links" + }, { "method_name": "retrieve", "method_on": "service", @@ -13689,13 +13696,6 @@ "method_type": "update", "operation": "post", "path": "/v1/file_links/{link}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/file_links" } ], "x-stripeResource": { @@ -13934,18 +13934,18 @@ "path": "/v1/financial_connections/accounts/{account}/owners" }, { - "method_name": "refresh", + "method_name": "disconnect", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/financial_connections/accounts/{account}/refresh" + "path": "/v1/financial_connections/accounts/{account}/disconnect" }, { - "method_name": "disconnect", + "method_name": "refresh", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/financial_connections/accounts/{account}/disconnect" + "path": "/v1/financial_connections/accounts/{account}/refresh" }, { "method_name": "subscribe", @@ -14339,19 +14339,19 @@ ], "x-resourceId": "financial_connections.session", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/financial_connections/sessions" - }, { "method_name": "retrieve", "method_on": "service", "method_type": "retrieve", "operation": "get", "path": "/v1/financial_connections/sessions/{session}" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/financial_connections/sessions" } ], "x-stripeResource": { @@ -14447,18 +14447,18 @@ "x-resourceId": "financial_connections.transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/financial_connections/transactions/{transaction}" + "path": "/v1/financial_connections/transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/financial_connections/transactions" + "path": "/v1/financial_connections/transactions/{transaction}" } ], "x-stripeResource": { @@ -15645,18 +15645,18 @@ "x-resourceId": "identity.verification_report", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/identity/verification_reports/{report}" + "path": "/v1/identity/verification_reports" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/identity/verification_reports" + "path": "/v1/identity/verification_reports/{report}" } ], "x-stripeResource": { @@ -15814,10 +15814,10 @@ "x-resourceId": "identity.verification_session", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/identity/verification_sessions" }, { @@ -15828,12 +15828,19 @@ "path": "/v1/identity/verification_sessions/{session}" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/identity/verification_sessions" }, + { + "method_name": "update", + "method_on": "service", + "method_type": "update", + "operation": "post", + "path": "/v1/identity/verification_sessions/{session}" + }, { "method_name": "cancel", "method_on": "service", @@ -15847,13 +15854,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/identity/verification_sessions/{session}/redact" - }, - { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/identity/verification_sessions/{session}" } ], "x-stripeResource": { @@ -16929,32 +16929,39 @@ "x-resourceId": "invoice", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/invoices/search" + "method_type": "delete", + "operation": "delete", + "path": "/v1/invoices/{invoice}" }, { - "method_name": "upcoming", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/invoices/upcoming" + "path": "/v1/invoices" }, { - "method_name": "update", + "method_name": "retrieve", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "retrieve", + "operation": "get", "path": "/v1/invoices/{invoice}" }, { - "method_name": "pay", + "method_name": "search", "method_on": "service", "method_type": "custom", - "operation": "post", - "path": "/v1/invoices/{invoice}/pay" + "operation": "get", + "path": "/v1/invoices/search" + }, + { + "method_name": "upcoming", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/invoices/upcoming" }, { "method_name": "upcomingLines", @@ -16971,46 +16978,39 @@ "path": "/v1/invoices" }, { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/invoices" - }, - { - "method_name": "retrieve", + "method_name": "update", "method_on": "service", - "method_type": "retrieve", - "operation": "get", + "method_type": "update", + "operation": "post", "path": "/v1/invoices/{invoice}" }, { - "method_name": "delete", + "method_name": "finalize_invoice", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/invoices/{invoice}" + "method_type": "custom", + "operation": "post", + "path": "/v1/invoices/{invoice}/finalize" }, { - "method_name": "finalize_invoice", + "method_name": "mark_uncollectible", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/finalize" + "path": "/v1/invoices/{invoice}/mark_uncollectible" }, { - "method_name": "send_invoice", + "method_name": "pay", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/send" + "path": "/v1/invoices/{invoice}/pay" }, { - "method_name": "mark_uncollectible", + "method_name": "send_invoice", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/invoices/{invoice}/mark_uncollectible" + "path": "/v1/invoices/{invoice}/send" }, { "method_name": "void_invoice", @@ -18112,17 +18112,17 @@ "x-resourceId": "invoiceitem", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/invoiceitems" + "method_type": "delete", + "operation": "delete", + "path": "/v1/invoiceitems/{invoiceitem}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/invoiceitems" }, { @@ -18133,17 +18133,17 @@ "path": "/v1/invoiceitems/{invoiceitem}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/invoiceitems/{invoiceitem}" + "path": "/v1/invoiceitems" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/invoiceitems/{invoiceitem}" } ], @@ -18899,32 +18899,32 @@ "path": "/v1/test_helpers/issuing/authorizations" }, { - "method_name": "increment", + "method_name": "capture", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/increment" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/capture" }, { - "method_name": "reverse", + "method_name": "expire", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/reverse" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/expire" }, { - "method_name": "expire", + "method_name": "increment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/expire" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/increment" }, { - "method_name": "capture", + "method_name": "reverse", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/authorizations/{authorization}/capture" + "path": "/v1/test_helpers/issuing/authorizations/{authorization}/reverse" } ], "x-stripeResource": { @@ -19153,13 +19153,6 @@ "operation": "get", "path": "/v1/issuing/cards" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/issuing/cards" - }, { "method_name": "retrieve", "method_on": "service", @@ -19167,6 +19160,13 @@ "operation": "get", "path": "/v1/issuing/cards/{card}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/issuing/cards" + }, { "method_name": "update", "method_on": "service", @@ -19182,11 +19182,11 @@ "path": "/v1/test_helpers/issuing/cards/{card}/shipping/deliver" }, { - "method_name": "ship_card", + "method_name": "fail_card", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/cards/{card}/shipping/ship" + "path": "/v1/test_helpers/issuing/cards/{card}/shipping/fail" }, { "method_name": "return_card", @@ -19196,11 +19196,11 @@ "path": "/v1/test_helpers/issuing/cards/{card}/shipping/return" }, { - "method_name": "fail_card", + "method_name": "ship_card", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/cards/{card}/shipping/fail" + "path": "/v1/test_helpers/issuing/cards/{card}/shipping/ship" } ], "x-stripeResource": { @@ -19361,13 +19361,6 @@ "operation": "get", "path": "/v1/issuing/cardholders" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/issuing/cardholders" - }, { "method_name": "retrieve", "method_on": "service", @@ -19375,6 +19368,13 @@ "operation": "get", "path": "/v1/issuing/cardholders/{cardholder}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/issuing/cardholders" + }, { "method_name": "update", "method_on": "service", @@ -19510,6 +19510,13 @@ "operation": "get", "path": "/v1/issuing/disputes" }, + { + "method_name": "retrieve", + "method_on": "service", + "method_type": "retrieve", + "operation": "get", + "path": "/v1/issuing/disputes/{dispute}" + }, { "method_name": "create", "method_on": "service", @@ -19524,13 +19531,6 @@ "operation": "post", "path": "/v1/issuing/disputes/{dispute}" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/issuing/disputes/{dispute}" - }, { "method_name": "submit", "method_on": "service", @@ -19972,25 +19972,25 @@ "path": "/v1/issuing/transactions/{transaction}" }, { - "method_name": "create_force_capture", + "method_name": "refund", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/create_force_capture" + "path": "/v1/test_helpers/issuing/transactions/{transaction}/refund" }, { - "method_name": "create_unlinked_refund", + "method_name": "create_force_capture", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/create_unlinked_refund" + "path": "/v1/test_helpers/issuing/transactions/create_force_capture" }, { - "method_name": "refund", + "method_name": "create_unlinked_refund", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/issuing/transactions/{transaction}/refund" + "path": "/v1/test_helpers/issuing/transactions/create_unlinked_refund" } ], "x-stripeResource": { @@ -26862,20 +26862,6 @@ ], "x-resourceId": "payment_intent", "x-stripeOperations": [ - { - "method_name": "search", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/payment_intents/search" - }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/payment_intents" - }, { "method_name": "list", "method_on": "service", @@ -26890,6 +26876,20 @@ "operation": "get", "path": "/v1/payment_intents/{intent}" }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/payment_intents/search" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/payment_intents" + }, { "method_name": "update", "method_on": "service", @@ -26898,11 +26898,11 @@ "path": "/v1/payment_intents/{intent}" }, { - "method_name": "confirm", + "method_name": "apply_customer_balance", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/confirm" + "path": "/v1/payment_intents/{intent}/apply_customer_balance" }, { "method_name": "cancel", @@ -26919,25 +26919,25 @@ "path": "/v1/payment_intents/{intent}/capture" }, { - "method_name": "increment_authorization", + "method_name": "confirm", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/increment_authorization" + "path": "/v1/payment_intents/{intent}/confirm" }, { - "method_name": "verify_microdeposits", + "method_name": "increment_authorization", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/verify_microdeposits" + "path": "/v1/payment_intents/{intent}/increment_authorization" }, { - "method_name": "apply_customer_balance", + "method_name": "verify_microdeposits", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/payment_intents/{intent}/apply_customer_balance" + "path": "/v1/payment_intents/{intent}/verify_microdeposits" } ], "x-stripeResource": { @@ -30205,10 +30205,10 @@ "x-resourceId": "payment_method", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/payment_methods" }, { @@ -30219,18 +30219,18 @@ "path": "/v1/payment_methods/{payment_method}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/payment_methods/{payment_method}" + "path": "/v1/payment_methods" }, { - "method_name": "list", + "method_name": "update", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/payment_methods" + "method_type": "update", + "operation": "post", + "path": "/v1/payment_methods/{payment_method}" }, { "method_name": "attach", @@ -31244,18 +31244,18 @@ "path": "/v1/payment_method_configurations/{configuration}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/payment_method_configurations/{configuration}" + "path": "/v1/payment_method_configurations" }, { - "method_name": "create", + "method_name": "update", "method_on": "service", - "method_type": "create", + "method_type": "update", "operation": "post", - "path": "/v1/payment_method_configurations" + "path": "/v1/payment_method_configurations/{configuration}" } ], "x-stripeResource": { @@ -33722,18 +33722,18 @@ "x-resourceId": "payment_method_domain", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/payment_method_domains/{payment_method_domain}" + "path": "/v1/payment_method_domains" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/payment_method_domains" + "path": "/v1/payment_method_domains/{payment_method_domain}" }, { "method_name": "create", @@ -36763,18 +36763,18 @@ "x-resourceId": "payout", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/payouts/{payout}" + "path": "/v1/payouts" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/payouts" + "path": "/v1/payouts/{payout}" }, { "method_name": "create", @@ -37170,6 +37170,13 @@ ], "x-resourceId": "person", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/accounts/{account}/persons/{person}" + }, { "method_name": "list", "method_on": "collection", @@ -37218,13 +37225,6 @@ "method_type": "update", "operation": "post", "path": "/v1/accounts/{account}/persons/{person}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/accounts/{account}/persons/{person}" } ], "x-stripeResource": { @@ -37700,17 +37700,17 @@ "x-resourceId": "plan", "x-stripeOperations": [ { - "method_name": "list", + "method_name": "delete", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/plans" + "method_type": "delete", + "operation": "delete", + "path": "/v1/plans/{plan}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/plans" }, { @@ -37721,17 +37721,17 @@ "path": "/v1/plans/{plan}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/plans/{plan}" + "path": "/v1/plans" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/plans/{plan}" } ], @@ -38710,18 +38710,25 @@ "x-resourceId": "price", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "list", "method_on": "service", - "method_type": "custom", + "method_type": "list", "operation": "get", - "path": "/v1/prices/search" + "path": "/v1/prices" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/prices" + "path": "/v1/prices/{price}" + }, + { + "method_name": "search", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/prices/search" }, { "method_name": "create", @@ -38730,13 +38737,6 @@ "operation": "post", "path": "/v1/prices" }, - { - "method_name": "retrieve", - "method_on": "service", - "method_type": "retrieve", - "operation": "get", - "path": "/v1/prices/{price}" - }, { "method_name": "update", "method_on": "service", @@ -39019,17 +39019,17 @@ "x-resourceId": "product", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "delete", "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/products/search" + "method_type": "delete", + "operation": "delete", + "path": "/v1/products/{id}" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/products" }, { @@ -39040,24 +39040,24 @@ "path": "/v1/products/{id}" }, { - "method_name": "update", + "method_name": "search", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/products/{id}" + "method_type": "custom", + "operation": "get", + "path": "/v1/products/search" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/products" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/products/{id}" } ], @@ -39243,6 +39243,13 @@ ], "x-resourceId": "promotion_code", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/promotion_codes" + }, { "method_name": "retrieve", "method_on": "service", @@ -39263,13 +39270,6 @@ "method_type": "update", "operation": "post", "path": "/v1/promotion_codes/{promotion_code}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/promotion_codes" } ], "x-stripeResource": { @@ -39803,6 +39803,13 @@ ], "x-resourceId": "quote", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/quotes" + }, { "method_name": "retrieve", "method_on": "service", @@ -39811,32 +39818,32 @@ "path": "/v1/quotes/{quote}" }, { - "method_name": "create", + "method_name": "list_computed_upfront_line_items", "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/quotes" + "method_type": "custom", + "operation": "get", + "path": "/v1/quotes/{quote}/computed_upfront_line_items" }, { - "method_name": "update", + "method_name": "list_line_items", "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/quotes/{quote}" + "method_type": "custom", + "operation": "get", + "path": "/v1/quotes/{quote}/line_items" }, { - "method_name": "cancel", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/quotes/{quote}/cancel" + "path": "/v1/quotes" }, { - "method_name": "finalize_quote", + "method_name": "update", "method_on": "service", - "method_type": "custom", + "method_type": "update", "operation": "post", - "path": "/v1/quotes/{quote}/finalize" + "path": "/v1/quotes/{quote}" }, { "method_name": "accept", @@ -39846,25 +39853,18 @@ "path": "/v1/quotes/{quote}/accept" }, { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/quotes" - }, - { - "method_name": "list_line_items", + "method_name": "cancel", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/quotes/{quote}/line_items" + "operation": "post", + "path": "/v1/quotes/{quote}/cancel" }, { - "method_name": "list_computed_upfront_line_items", + "method_name": "finalize_quote", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/quotes/{quote}/computed_upfront_line_items" + "operation": "post", + "path": "/v1/quotes/{quote}/finalize" }, { "method_name": "pdf", @@ -40581,6 +40581,13 @@ ], "x-resourceId": "radar.value_list", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/radar/value_lists/{value_list}" + }, { "method_name": "list", "method_on": "service", @@ -40608,13 +40615,6 @@ "method_type": "update", "operation": "post", "path": "/v1/radar/value_lists/{value_list}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/radar/value_lists/{value_list}" } ], "x-stripeResource": { @@ -40677,6 +40677,13 @@ "x-expandableFields": [], "x-resourceId": "radar.value_list_item", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/radar/value_list_items/{item}" + }, { "method_name": "list", "method_on": "service", @@ -40697,13 +40704,6 @@ "method_type": "create", "operation": "post", "path": "/v1/radar/value_list_items" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/radar/value_list_items/{item}" } ], "x-stripeResource": { @@ -41140,13 +41140,6 @@ "operation": "get", "path": "/v1/refunds" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/refunds" - }, { "method_name": "retrieve", "method_on": "service", @@ -41154,6 +41147,13 @@ "operation": "get", "path": "/v1/refunds/{refund}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/refunds" + }, { "method_name": "update", "method_on": "service", @@ -41530,6 +41530,13 @@ ], "x-resourceId": "reporting.report_run", "x-stripeOperations": [ + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/reporting/report_runs" + }, { "method_name": "retrieve", "method_on": "service", @@ -41543,13 +41550,6 @@ "method_type": "create", "operation": "post", "path": "/v1/reporting/report_runs" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/reporting/report_runs" } ], "x-stripeResource": { @@ -41660,18 +41660,18 @@ "x-resourceId": "reporting.report_type", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/reporting/report_types/{report_type}" + "path": "/v1/reporting/report_types" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/reporting/report_types" + "path": "/v1/reporting/report_types/{report_type}" } ], "x-stripeResource": { @@ -43413,13 +43413,6 @@ ], "x-resourceId": "setup_intent", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/setup_intents" - }, { "method_name": "list", "method_on": "service", @@ -43434,6 +43427,13 @@ "operation": "get", "path": "/v1/setup_intents/{intent}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/setup_intents" + }, { "method_name": "update", "method_on": "service", @@ -43442,18 +43442,18 @@ "path": "/v1/setup_intents/{intent}" }, { - "method_name": "confirm", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/setup_intents/{intent}/confirm" + "path": "/v1/setup_intents/{intent}/cancel" }, { - "method_name": "cancel", + "method_name": "confirm", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/setup_intents/{intent}/cancel" + "path": "/v1/setup_intents/{intent}/confirm" }, { "method_name": "verify_microdeposits", @@ -44565,6 +44565,13 @@ "operation": "get", "path": "/v1/sources/{source}" }, + { + "method_name": "source_transactions", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/sources/{source}/source_transactions" + }, { "method_name": "create", "method_on": "service", @@ -44585,13 +44592,6 @@ "method_type": "custom", "operation": "post", "path": "/v1/sources/{source}/verify" - }, - { - "method_name": "source_transactions", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/sources/{source}/source_transactions" } ], "x-stripeResource": { @@ -46697,33 +46697,26 @@ "x-resourceId": "subscription", "x-stripeOperations": [ { - "method_name": "search", + "method_name": "cancel", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/subscriptions/search" + "operation": "delete", + "path": "/v1/subscriptions/{subscription_exposed_id}" }, { - "method_name": "list", + "method_name": "delete_discount", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/subscriptions" + "method_type": "custom", + "operation": "delete", + "path": "/v1/subscriptions/{subscription_exposed_id}/discount" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/subscriptions" }, - { - "method_name": "update", - "method_on": "service", - "method_type": "update", - "operation": "post", - "path": "/v1/subscriptions/{subscription_exposed_id}" - }, { "method_name": "retrieve", "method_on": "service", @@ -46732,11 +46725,18 @@ "path": "/v1/subscriptions/{subscription_exposed_id}" }, { - "method_name": "cancel", + "method_name": "search", "method_on": "service", "method_type": "custom", - "operation": "delete", - "path": "/v1/subscriptions/{subscription_exposed_id}" + "operation": "get", + "path": "/v1/subscriptions/search" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/subscriptions" }, { "method_name": "resume", @@ -46746,11 +46746,11 @@ "path": "/v1/subscriptions/{subscription}/resume" }, { - "method_name": "delete_discount", + "method_name": "update", "method_on": "service", - "method_type": "custom", - "operation": "delete", - "path": "/v1/subscriptions/{subscription_exposed_id}/discount" + "method_type": "update", + "operation": "post", + "path": "/v1/subscriptions/{subscription_exposed_id}" } ], "x-stripeResource": { @@ -46898,6 +46898,13 @@ ], "x-resourceId": "subscription_item", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/subscription_items/{item}" + }, { "method_name": "list", "method_on": "service", @@ -46912,6 +46919,13 @@ "operation": "get", "path": "/v1/subscription_items/{item}" }, + { + "method_name": "usage_record_summaries", + "method_on": "service", + "method_type": "custom", + "operation": "get", + "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries" + }, { "method_name": "create", "method_on": "service", @@ -46925,20 +46939,6 @@ "method_type": "update", "operation": "post", "path": "/v1/subscription_items/{item}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/subscription_items/{item}" - }, - { - "method_name": "usage_record_summaries", - "method_on": "service", - "method_type": "custom", - "operation": "get", - "path": "/v1/subscription_items/{subscription_item}/usage_record_summaries" } ], "x-stripeResource": { @@ -47262,13 +47262,6 @@ "operation": "get", "path": "/v1/subscription_schedules" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/subscription_schedules" - }, { "method_name": "retrieve", "method_on": "service", @@ -47276,6 +47269,13 @@ "operation": "get", "path": "/v1/subscription_schedules/{schedule}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/subscription_schedules" + }, { "method_name": "update", "method_on": "service", @@ -48422,19 +48422,19 @@ ], "x-resourceId": "tax.calculation", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/tax/calculations" - }, { "method_name": "list_line_items", "method_on": "service", "method_type": "custom", "operation": "get", "path": "/v1/tax/calculations/{calculation}/line_items" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/tax/calculations" } ], "x-stripeResource": { @@ -48610,13 +48610,6 @@ "operation": "get", "path": "/v1/tax/registrations" }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/tax/registrations" - }, { "method_name": "retrieve", "method_on": "service", @@ -48624,6 +48617,13 @@ "operation": "get", "path": "/v1/tax/registrations/{id}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/tax/registrations" + }, { "method_name": "update", "method_on": "service", @@ -48888,11 +48888,11 @@ "path": "/v1/tax/transactions/{transaction}" }, { - "method_name": "create_reversal", + "method_name": "list_line_items", "method_on": "service", "method_type": "custom", - "operation": "post", - "path": "/v1/tax/transactions/create_reversal" + "operation": "get", + "path": "/v1/tax/transactions/{transaction}/line_items" }, { "method_name": "create_from_calculation", @@ -48902,11 +48902,11 @@ "path": "/v1/tax/transactions/create_from_calculation" }, { - "method_name": "list_line_items", + "method_name": "create_reversal", "method_on": "service", "method_type": "custom", - "operation": "get", - "path": "/v1/tax/transactions/{transaction}/line_items" + "operation": "post", + "path": "/v1/tax/transactions/create_reversal" } ], "x-stripeResource": { @@ -49288,17 +49288,24 @@ "x-resourceId": "tax_id", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/customers/{customer}/tax_ids/{id}" + }, + { + "method_name": "list", "method_on": "collection", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/customers/{customer}/tax_ids" }, { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/customers/{customer}/tax_ids" }, { @@ -49316,25 +49323,18 @@ "path": "/v1/customers/{customer}/tax_ids/{id}" }, { - "method_name": "list", + "method_name": "create", "method_on": "collection", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/customers/{customer}/tax_ids" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/customers/{customer}/tax_ids" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/customers/{customer}/tax_ids/{id}" } ], "x-stripeResource": { @@ -50687,11 +50687,11 @@ "x-resourceId": "terminal.configuration", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "delete", "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/terminal/configurations" + "method_type": "delete", + "operation": "delete", + "path": "/v1/terminal/configurations/{configuration}" }, { "method_name": "list", @@ -50708,17 +50708,17 @@ "path": "/v1/terminal/configurations/{configuration}" }, { - "method_name": "update", + "method_name": "create", "method_on": "service", - "method_type": "update", + "method_type": "create", "operation": "post", - "path": "/v1/terminal/configurations/{configuration}" + "path": "/v1/terminal/configurations" }, { - "method_name": "delete", + "method_name": "update", "method_on": "service", - "method_type": "delete", - "operation": "delete", + "method_type": "update", + "operation": "post", "path": "/v1/terminal/configurations/{configuration}" } ], @@ -50827,6 +50827,20 @@ ], "x-resourceId": "terminal.location", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/terminal/locations/{location}" + }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/terminal/locations" + }, { "method_name": "retrieve", "method_on": "service", @@ -50847,20 +50861,6 @@ "method_type": "update", "operation": "post", "path": "/v1/terminal/locations/{location}" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/terminal/locations" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/terminal/locations/{location}" } ], "x-stripeResource": { @@ -50989,12 +50989,19 @@ "x-resourceId": "terminal.reader", "x-stripeOperations": [ { - "method_name": "update", + "method_name": "delete", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "delete", + "operation": "delete", "path": "/v1/terminal/readers/{reader}" }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/terminal/readers" + }, { "method_name": "retrieve", "method_on": "service", @@ -51010,18 +51017,18 @@ "path": "/v1/terminal/readers" }, { - "method_name": "list", + "method_name": "update", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/terminal/readers" + "method_type": "update", + "operation": "post", + "path": "/v1/terminal/readers/{reader}" }, { - "method_name": "delete", + "method_name": "cancel_action", "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/terminal/readers/{reader}" + "method_type": "custom", + "operation": "post", + "path": "/v1/terminal/readers/{reader}/cancel_action" }, { "method_name": "process_payment_intent", @@ -51038,11 +51045,11 @@ "path": "/v1/terminal/readers/{reader}/process_setup_intent" }, { - "method_name": "cancel_action", + "method_name": "refund_payment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/terminal/readers/{reader}/cancel_action" + "path": "/v1/terminal/readers/{reader}/refund_payment" }, { "method_name": "set_reader_display", @@ -51051,13 +51058,6 @@ "operation": "post", "path": "/v1/terminal/readers/{reader}/set_reader_display" }, - { - "method_name": "refund_payment", - "method_on": "service", - "method_type": "custom", - "operation": "post", - "path": "/v1/terminal/readers/{reader}/refund_payment" - }, { "method_name": "present_payment_method", "method_on": "service", @@ -51673,6 +51673,20 @@ "x-expandableFields": [], "x-resourceId": "test_helpers.test_clock", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/test_helpers/test_clocks/{test_clock}" + }, + { + "method_name": "list", + "method_on": "service", + "method_type": "list", + "operation": "get", + "path": "/v1/test_helpers/test_clocks" + }, { "method_name": "retrieve", "method_on": "service", @@ -51687,26 +51701,12 @@ "operation": "post", "path": "/v1/test_helpers/test_clocks" }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/test_helpers/test_clocks/{test_clock}" - }, { "method_name": "advance", "method_on": "service", "method_type": "custom", "operation": "post", "path": "/v1/test_helpers/test_clocks/{test_clock}/advance" - }, - { - "method_name": "list", - "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/test_helpers/test_clocks" } ], "x-stripeResource": { @@ -52214,13 +52214,6 @@ ], "x-resourceId": "topup", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/topups" - }, { "method_name": "list", "method_on": "service", @@ -52235,6 +52228,13 @@ "operation": "get", "path": "/v1/topups/{topup}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/topups" + }, { "method_name": "update", "method_on": "service", @@ -52551,13 +52551,6 @@ ], "x-resourceId": "transfer", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers" - }, { "method_name": "list", "method_on": "service", @@ -52572,6 +52565,13 @@ "operation": "get", "path": "/v1/transfers/{transfer}" }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers" + }, { "method_name": "update", "method_on": "service", @@ -52812,20 +52812,6 @@ ], "x-resourceId": "transfer_reversal", "x-stripeOperations": [ - { - "method_name": "create", - "method_on": "collection", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers/{id}/reversals" - }, - { - "method_name": "create", - "method_on": "service", - "method_type": "create", - "operation": "post", - "path": "/v1/transfers/{id}/reversals" - }, { "method_name": "list", "method_on": "collection", @@ -52854,6 +52840,20 @@ "operation": "get", "path": "/v1/transfers/{transfer}/reversals/{id}" }, + { + "method_name": "create", + "method_on": "collection", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers/{id}/reversals" + }, + { + "method_name": "create", + "method_on": "service", + "method_type": "create", + "operation": "post", + "path": "/v1/transfers/{id}/reversals" + }, { "method_name": "update", "method_on": "service", @@ -53264,10 +53264,10 @@ "x-resourceId": "treasury.debit_reversal", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/debit_reversals" }, { @@ -53278,10 +53278,10 @@ "path": "/v1/treasury/debit_reversals/{debit_reversal}" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/treasury/debit_reversals" } ], @@ -53504,45 +53504,45 @@ "x-resourceId": "treasury.financial_account", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/financial_accounts" }, { - "method_name": "update", + "method_name": "retrieve", "method_on": "service", - "method_type": "update", - "operation": "post", + "method_type": "retrieve", + "operation": "get", "path": "/v1/treasury/financial_accounts/{financial_account}" }, { - "method_name": "update_features", + "method_name": "retrieve_features", "method_on": "service", "method_type": "custom", - "operation": "post", + "operation": "get", "path": "/v1/treasury/financial_accounts/{financial_account}/features" }, { - "method_name": "list", + "method_name": "create", "method_on": "service", - "method_type": "list", - "operation": "get", + "method_type": "create", + "operation": "post", "path": "/v1/treasury/financial_accounts" }, { - "method_name": "retrieve", + "method_name": "update", "method_on": "service", - "method_type": "retrieve", - "operation": "get", + "method_type": "update", + "operation": "post", "path": "/v1/treasury/financial_accounts/{financial_account}" }, { - "method_name": "retrieve_features", + "method_name": "update_features", "method_on": "service", "method_type": "custom", - "operation": "get", + "operation": "post", "path": "/v1/treasury/financial_accounts/{financial_account}/features" } ], @@ -53817,17 +53817,10 @@ "x-resourceId": "treasury.inbound_transfer", "x-stripeOperations": [ { - "method_name": "cancel", - "method_on": "service", - "method_type": "custom", - "operation": "post", - "path": "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel" - }, - { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/inbound_transfers" }, { @@ -53838,11 +53831,18 @@ "path": "/v1/treasury/inbound_transfers/{id}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/inbound_transfers" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/fail" + }, + { + "method_name": "return_inbound_transfer", + "method_on": "service", + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/return" }, { "method_name": "succeed", @@ -53852,18 +53852,18 @@ "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed" }, { - "method_name": "fail", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/fail" + "path": "/v1/treasury/inbound_transfers" }, { - "method_name": "return_inbound_transfer", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/inbound_transfers/{id}/return" + "path": "/v1/treasury/inbound_transfers/{inbound_transfer}/cancel" } ], "x-stripeResource": { @@ -54115,10 +54115,10 @@ "x-resourceId": "treasury.outbound_payment", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/outbound_payments" }, { @@ -54129,39 +54129,39 @@ "path": "/v1/treasury/outbound_payments/{id}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/outbound_payments" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/fail" }, { - "method_name": "cancel", + "method_name": "post", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/treasury/outbound_payments/{id}/cancel" + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/post" }, { - "method_name": "fail", + "method_name": "return_outbound_payment", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/fail" + "path": "/v1/test_helpers/treasury/outbound_payments/{id}/return" }, { - "method_name": "post", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/post" + "path": "/v1/treasury/outbound_payments" }, { - "method_name": "return_outbound_payment", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_payments/{id}/return" + "path": "/v1/treasury/outbound_payments/{id}/cancel" } ], "x-stripeResource": { @@ -54421,10 +54421,10 @@ "x-resourceId": "treasury.outbound_transfer", "x-stripeOperations": [ { - "method_name": "create", + "method_name": "list", "method_on": "service", - "method_type": "create", - "operation": "post", + "method_type": "list", + "operation": "get", "path": "/v1/treasury/outbound_transfers" }, { @@ -54435,39 +54435,39 @@ "path": "/v1/treasury/outbound_transfers/{outbound_transfer}" }, { - "method_name": "list", + "method_name": "fail", "method_on": "service", - "method_type": "list", - "operation": "get", - "path": "/v1/treasury/outbound_transfers" + "method_type": "custom", + "operation": "post", + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail" }, { - "method_name": "cancel", + "method_name": "post", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel" + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post" }, { - "method_name": "fail", + "method_name": "return_outbound_transfer", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail" + "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return" }, { - "method_name": "post", + "method_name": "create", "method_on": "service", - "method_type": "custom", + "method_type": "create", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post" + "path": "/v1/treasury/outbound_transfers" }, { - "method_name": "return_outbound_transfer", + "method_name": "cancel", "method_on": "service", "method_type": "custom", "operation": "post", - "path": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return" + "path": "/v1/treasury/outbound_transfers/{outbound_transfer}/cancel" } ], "x-stripeResource": { @@ -55135,18 +55135,18 @@ "x-resourceId": "treasury.transaction", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/treasury/transactions/{id}" + "path": "/v1/treasury/transactions" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/treasury/transactions" + "path": "/v1/treasury/transactions/{id}" } ], "x-stripeResource": { @@ -55297,18 +55297,18 @@ "x-resourceId": "treasury.transaction_entry", "x-stripeOperations": [ { - "method_name": "retrieve", + "method_name": "list", "method_on": "service", - "method_type": "retrieve", + "method_type": "list", "operation": "get", - "path": "/v1/treasury/transaction_entries/{id}" + "path": "/v1/treasury/transaction_entries" }, { - "method_name": "list", + "method_name": "retrieve", "method_on": "service", - "method_type": "list", + "method_type": "retrieve", "operation": "get", - "path": "/v1/treasury/transaction_entries" + "path": "/v1/treasury/transaction_entries/{id}" } ], "x-stripeResource": { @@ -56791,6 +56791,13 @@ "x-expandableFields": [], "x-resourceId": "webhook_endpoint", "x-stripeOperations": [ + { + "method_name": "delete", + "method_on": "service", + "method_type": "delete", + "operation": "delete", + "path": "/v1/webhook_endpoints/{webhook_endpoint}" + }, { "method_name": "list", "method_on": "service", @@ -56818,13 +56825,6 @@ "method_type": "update", "operation": "post", "path": "/v1/webhook_endpoints/{webhook_endpoint}" - }, - { - "method_name": "delete", - "method_on": "service", - "method_type": "delete", - "operation": "delete", - "path": "/v1/webhook_endpoints/{webhook_endpoint}" } ], "x-stripeResource": { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index 892ff2b8..878cf96e 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -175,51 +175,51 @@ components: - tos_acceptance x-resourceId: account x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}' - method_name: retrieve method_on: service method_type: retrieve operation: get path: /v1/account + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/accounts - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/accounts/{account}' - - method_name: update + - method_name: capabilities method_on: service - method_type: update - operation: post - path: '/v1/accounts/{account}' - - method_name: list + method_type: custom + operation: get + path: '/v1/accounts/{account}/capabilities' + - method_name: persons method_on: service - method_type: list + method_type: custom operation: get - path: /v1/accounts + path: '/v1/accounts/{account}/persons' - method_name: create method_on: service method_type: create operation: post path: /v1/accounts - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete + method_type: update + operation: post path: '/v1/accounts/{account}' - method_name: reject method_on: service method_type: custom operation: post path: '/v1/accounts/{account}/reject' - - method_name: persons - method_on: service - method_type: custom - operation: get - path: '/v1/accounts/{account}/persons' - - method_name: capabilities - method_on: service - method_type: custom - operation: get - path: '/v1/accounts/{account}/capabilities' x-stripeResource: class_name: Account has_collection_class: true @@ -2126,26 +2126,26 @@ components: x-expandableFields: [] x-resourceId: apple_pay_domain x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/apple_pay/domains/{domain}' - method_name: list method_on: service method_type: list operation: get path: /v1/apple_pay/domains - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/apple_pay/domains - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/apple_pay/domains/{domain}' - - method_name: delete + - method_name: create method_on: service - method_type: delete - operation: delete - path: '/v1/apple_pay/domains/{domain}' + method_type: create + operation: post + path: /v1/apple_pay/domains x-stripeResource: class_name: ApplePayDomain has_collection_class: true @@ -2468,6 +2468,11 @@ components: - scope x-resourceId: apps.secret x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/apps/secrets - method_name: find method_on: service method_type: custom @@ -2483,11 +2488,6 @@ components: method_type: custom operation: post path: /v1/apps/secrets/delete - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/apps/secrets x-stripeResource: class_name: Secret has_collection_class: true @@ -3130,31 +3130,31 @@ components: - requirements x-resourceId: bank_account x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}/sources/{id}' + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: delete method_on: service method_type: delete operation: delete path: '/v1/customers/{customer}/sources/{id}' - - method_name: verify + - method_name: update method_on: service - method_type: custom + method_type: update operation: post - path: '/v1/customers/{customer}/sources/{id}/verify' + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: update method_on: service method_type: update operation: post - path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete + path: '/v1/customers/{customer}/sources/{id}' + - method_name: verify method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' + method_type: custom + operation: post + path: '/v1/customers/{customer}/sources/{id}/verify' x-stripeResource: class_name: BankAccount in_package: '' @@ -3569,6 +3569,11 @@ components: method_type: list operation: get path: /v1/billing_portal/configurations + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/billing_portal/configurations/{configuration}' - method_name: create method_on: service method_type: create @@ -3579,11 +3584,6 @@ components: method_type: update operation: post path: '/v1/billing_portal/configurations/{configuration}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/billing_portal/configurations/{configuration}' x-stripeResource: class_name: Configuration has_collection_class: true @@ -4219,11 +4219,11 @@ components: - customer x-resourceId: card x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}/sources/{id}' + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: delete method_on: service method_type: delete @@ -4234,11 +4234,11 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' + method_type: update + operation: post + path: '/v1/customers/{customer}/sources/{id}' x-stripeResource: class_name: Card in_package: '' @@ -4835,26 +4835,26 @@ components: - transfer_data x-resourceId: charge x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/charges/search - method_name: list method_on: service method_type: list operation: get path: /v1/charges - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/charges - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/charges/{charge}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/charges/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/charges - method_name: update method_on: service method_type: update @@ -5768,16 +5768,16 @@ components: method_type: retrieve operation: get path: '/v1/checkout/sessions/{session}' - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/checkout/sessions - method_name: list_line_items method_on: service method_type: custom operation: get path: '/v1/checkout/sessions/{session}/line_items' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/checkout/sessions - method_name: expire method_on: service method_type: custom @@ -7082,16 +7082,16 @@ components: - product x-resourceId: climate.order x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/orders/{order}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/orders + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/orders/{order}' - method_name: create method_on: service method_type: create @@ -7245,16 +7245,16 @@ components: - suppliers x-resourceId: climate.product x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/products/{product}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/products + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/products/{product}' x-stripeResource: class_name: Product has_collection_class: true @@ -7334,16 +7334,16 @@ components: - locations x-resourceId: climate.supplier x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/climate/suppliers/{supplier}' - method_name: list method_on: service method_type: list operation: get path: /v1/climate/suppliers + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/climate/suppliers/{supplier}' x-stripeResource: class_name: Supplier has_collection_class: true @@ -7936,31 +7936,31 @@ components: - currency_options x-resourceId: coupon x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/coupons/{coupon}' - method_name: list method_on: service method_type: list operation: get path: /v1/coupons - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/coupons - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/coupons/{coupon}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/coupons - method_name: update method_on: service method_type: update operation: post path: '/v1/coupons/{coupon}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/coupons/{coupon}' x-stripeResource: class_name: Coupon has_collection_class: true @@ -8307,25 +8307,30 @@ components: - tax_amounts x-resourceId: credit_note x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/credit_notes + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/credit_notes/{id}' - method_name: preview method_on: service method_type: custom operation: get path: /v1/credit_notes/preview - - method_name: retrieve + - method_name: preview_lines method_on: service - method_type: retrieve + method_type: custom operation: get - path: '/v1/credit_notes/{id}' - - method_name: list + path: /v1/credit_notes/preview/lines + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/credit_notes - method_name: update method_on: service @@ -8337,11 +8342,6 @@ components: method_type: custom operation: post path: '/v1/credit_notes/{id}/void' - - method_name: preview_lines - method_on: service - method_type: custom - operation: get - path: /v1/credit_notes/preview/lines x-stripeResource: class_name: CreditNote has_collection_class: true @@ -8976,36 +8976,31 @@ components: - test_clock x-resourceId: customer x-stripeOperations: - - method_name: search + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/customers/{customer}' + - method_name: delete_discount method_on: service method_type: custom - operation: get - path: /v1/customers/search + operation: delete + path: '/v1/customers/{customer}/discount' - method_name: list method_on: service method_type: list operation: get path: /v1/customers - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/customers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/customers/{customer}' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/customers/{customer}' - - method_name: delete + - method_name: balance_transactions method_on: service - method_type: delete - operation: delete - path: '/v1/customers/{customer}' + method_type: custom + operation: get + path: '/v1/customers/{customer}/balance_transactions' - method_name: list_payment_methods method_on: service method_type: custom @@ -9016,26 +9011,31 @@ components: method_type: custom operation: get path: '/v1/customers/{customer}/payment_methods/{payment_method}' - - method_name: balance_transactions + - method_name: search method_on: service method_type: custom operation: get - path: '/v1/customers/{customer}/balance_transactions' - - method_name: fund_cash_balance + path: /v1/customers/search + - method_name: create method_on: service - method_type: custom + method_type: create operation: post - path: '/v1/test_helpers/customers/{customer}/fund_cash_balance' + path: /v1/customers + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/customers/{customer}' - method_name: create_funding_instructions method_on: service method_type: custom operation: post path: '/v1/customers/{customer}/funding_instructions' - - method_name: delete_discount + - method_name: fund_cash_balance method_on: service method_type: custom - operation: delete - path: '/v1/customers/{customer}/discount' + operation: post + path: '/v1/test_helpers/customers/{customer}/fund_cash_balance' x-stripeResource: class_name: Customer has_collection_class: true @@ -9790,16 +9790,6 @@ components: - invoice x-resourceId: customer_balance_transaction x-stripeOperations: - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/balance_transactions/{transaction}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/balance_transactions/{transaction}' - method_name: list method_on: collection method_type: list @@ -9810,6 +9800,16 @@ components: method_type: list operation: get path: '/v1/customers/{customer}/balance_transactions' + - method_name: retrieve + method_on: collection + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/balance_transactions/{transaction}' + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/balance_transactions/{transaction}' - method_name: create method_on: collection method_type: create @@ -9954,16 +9954,6 @@ components: - unapplied_from_payment x-resourceId: customer_cash_balance_transaction x-stripeOperations: - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' - method_name: list method_on: collection method_type: list @@ -9974,6 +9964,16 @@ components: method_type: list operation: get path: '/v1/customers/{customer}/cash_balance_transactions' + - method_name: retrieve + method_on: collection + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/customers/{customer}/cash_balance_transactions/{transaction}' x-stripeResource: class_name: CustomerCashBalanceTransaction has_collection_class: true @@ -11709,16 +11709,16 @@ components: x-expandableFields: [] x-resourceId: ephemeral_key x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/ephemeral_keys - method_name: delete method_on: service method_type: delete operation: delete path: '/v1/ephemeral_keys/{key}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/ephemeral_keys x-stripeResource: class_name: EphemeralKey in_package: '' @@ -12222,6 +12222,11 @@ components: x-resourceId: external_account x-stripeBypassValidation: true x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}/external_accounts/{id}' - method_name: list method_on: collection method_type: list @@ -12257,11 +12262,6 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/external_accounts/{id}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/external_accounts/{id}' x-stripeResource: class_name: ExternalAccount has_collection_class: true @@ -12441,16 +12441,16 @@ components: - fee x-resourceId: fee_refund x-stripeOperations: - - method_name: create + - method_name: retrieve method_on: collection - method_type: create - operation: post - path: '/v1/application_fees/{id}/refunds' - - method_name: create + method_type: retrieve + operation: get + path: '/v1/application_fees/{fee}/refunds/{id}' + - method_name: retrieve method_on: service - method_type: create - operation: post - path: '/v1/application_fees/{id}/refunds' + method_type: retrieve + operation: get + path: '/v1/application_fees/{fee}/refunds/{id}' - method_name: list method_on: collection method_type: list @@ -12461,21 +12461,21 @@ components: method_type: list operation: get path: '/v1/application_fees/{id}/refunds' - - method_name: retrieve - method_on: collection - method_type: retrieve - operation: get - path: '/v1/application_fees/{fee}/refunds/{id}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/application_fees/{fee}/refunds/{id}' - method_name: update method_on: service method_type: update operation: post path: '/v1/application_fees/{fee}/refunds/{id}' + - method_name: create + method_on: collection + method_type: create + operation: post + path: '/v1/application_fees/{id}/refunds' + - method_name: create + method_on: service + method_type: create + operation: post + path: '/v1/application_fees/{id}/refunds' x-stripeResource: class_name: FeeRefund has_collection_class: true @@ -12727,6 +12727,11 @@ components: - file x-resourceId: file_link x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/file_links - method_name: retrieve method_on: service method_type: retrieve @@ -12742,11 +12747,6 @@ components: method_type: update operation: post path: '/v1/file_links/{link}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/file_links x-stripeResource: class_name: FileLink has_collection_class: true @@ -12952,16 +12952,16 @@ components: method_type: custom operation: get path: '/v1/financial_connections/accounts/{account}/owners' - - method_name: refresh + - method_name: disconnect method_on: service method_type: custom operation: post - path: '/v1/financial_connections/accounts/{account}/refresh' - - method_name: disconnect + path: '/v1/financial_connections/accounts/{account}/disconnect' + - method_name: refresh method_on: service method_type: custom operation: post - path: '/v1/financial_connections/accounts/{account}/disconnect' + path: '/v1/financial_connections/accounts/{account}/refresh' - method_name: subscribe method_on: service method_type: custom @@ -13292,16 +13292,16 @@ components: - filters x-resourceId: financial_connections.session x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/financial_connections/sessions - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/financial_connections/sessions/{session}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/financial_connections/sessions x-stripeResource: class_name: Session in_package: FinancialConnections @@ -13394,16 +13394,16 @@ components: - status_transitions x-resourceId: financial_connections.transaction x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/financial_connections/transactions/{transaction}' - method_name: list method_on: service method_type: list operation: get path: /v1/financial_connections/transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/financial_connections/transactions/{transaction}' x-stripeResource: class_name: Transaction has_collection_class: true @@ -14444,16 +14444,16 @@ components: - selfie x-resourceId: identity.verification_report x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/identity/verification_reports/{report}' - method_name: list method_on: service method_type: list operation: get path: /v1/identity/verification_reports + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/identity/verification_reports/{report}' x-stripeResource: class_name: VerificationReport has_collection_class: true @@ -14626,21 +14626,26 @@ components: - verified_outputs x-resourceId: identity.verification_session x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/identity/verification_sessions - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/identity/verification_sessions/{session}' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/identity/verification_sessions + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/identity/verification_sessions/{session}' - method_name: cancel method_on: service method_type: custom @@ -14651,11 +14656,6 @@ components: method_type: custom operation: post path: '/v1/identity/verification_sessions/{session}/redact' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/identity/verification_sessions/{session}' x-stripeResource: class_name: VerificationSession has_collection_class: true @@ -15680,6 +15680,21 @@ components: - transfer_data x-resourceId: invoice x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/invoices/{invoice}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/invoices + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/invoices/{invoice}' - method_name: search method_on: service method_type: custom @@ -15690,16 +15705,6 @@ components: method_type: custom operation: get path: /v1/invoices/upcoming - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/invoices/{invoice}' - - method_name: pay - method_on: service - method_type: custom - operation: post - path: '/v1/invoices/{invoice}/pay' - method_name: upcomingLines method_on: service method_type: custom @@ -15710,36 +15715,31 @@ components: method_type: create operation: post path: /v1/invoices - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/invoices - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/invoices/{invoice}' - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete + method_type: update + operation: post path: '/v1/invoices/{invoice}' - method_name: finalize_invoice method_on: service method_type: custom operation: post path: '/v1/invoices/{invoice}/finalize' - - method_name: send_invoice + - method_name: mark_uncollectible method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/send' - - method_name: mark_uncollectible + path: '/v1/invoices/{invoice}/mark_uncollectible' + - method_name: pay method_on: service method_type: custom operation: post - path: '/v1/invoices/{invoice}/mark_uncollectible' + path: '/v1/invoices/{invoice}/pay' + - method_name: send_invoice + method_on: service + method_type: custom + operation: post + path: '/v1/invoices/{invoice}/send' - method_name: void_invoice method_on: service method_type: custom @@ -16670,31 +16670,31 @@ components: - test_clock x-resourceId: invoiceitem x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/invoiceitems/{invoiceitem}' - method_name: list method_on: service method_type: list operation: get path: /v1/invoiceitems - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/invoiceitems - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/invoiceitems/{invoiceitem}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/invoiceitems - method_name: update method_on: service method_type: update operation: post path: '/v1/invoiceitems/{invoiceitem}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/invoiceitems/{invoiceitem}' x-stripeResource: class_name: InvoiceItem has_collection_class: true @@ -17365,26 +17365,26 @@ components: method_type: create operation: post path: /v1/test_helpers/issuing/authorizations - - method_name: increment + - method_name: capture method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/increment' - - method_name: reverse + path: '/v1/test_helpers/issuing/authorizations/{authorization}/capture' + - method_name: expire method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse' - - method_name: expire + path: '/v1/test_helpers/issuing/authorizations/{authorization}/expire' + - method_name: increment method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/expire' - - method_name: capture + path: '/v1/test_helpers/issuing/authorizations/{authorization}/increment' + - method_name: reverse method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/authorizations/{authorization}/capture' + path: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse' x-stripeResource: class_name: Authorization has_collection_class: true @@ -17585,16 +17585,16 @@ components: method_type: list operation: get path: /v1/issuing/cards - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/issuing/cards - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/issuing/cards/{card}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/issuing/cards - method_name: update method_on: service method_type: update @@ -17605,21 +17605,21 @@ components: method_type: custom operation: post path: '/v1/test_helpers/issuing/cards/{card}/shipping/deliver' - - method_name: ship_card + - method_name: fail_card method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/cards/{card}/shipping/ship' + path: '/v1/test_helpers/issuing/cards/{card}/shipping/fail' - method_name: return_card method_on: service method_type: custom operation: post path: '/v1/test_helpers/issuing/cards/{card}/shipping/return' - - method_name: fail_card + - method_name: ship_card method_on: service method_type: custom operation: post - path: '/v1/test_helpers/issuing/cards/{card}/shipping/fail' + path: '/v1/test_helpers/issuing/cards/{card}/shipping/ship' x-stripeResource: class_name: Card has_collection_class: true @@ -17771,16 +17771,16 @@ components: method_type: list operation: get path: /v1/issuing/cardholders - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/issuing/cardholders - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/issuing/cardholders/{cardholder}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/issuing/cardholders - method_name: update method_on: service method_type: update @@ -17901,6 +17901,11 @@ components: method_type: list operation: get path: /v1/issuing/disputes + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/issuing/disputes/{dispute}' - method_name: create method_on: service method_type: create @@ -17911,11 +17916,6 @@ components: method_type: update operation: post path: '/v1/issuing/disputes/{dispute}' - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/issuing/disputes/{dispute}' - method_name: submit method_on: service method_type: custom @@ -18277,6 +18277,11 @@ components: method_type: update operation: post path: '/v1/issuing/transactions/{transaction}' + - method_name: refund + method_on: service + method_type: custom + operation: post + path: '/v1/test_helpers/issuing/transactions/{transaction}/refund' - method_name: create_force_capture method_on: service method_type: custom @@ -18287,11 +18292,6 @@ components: method_type: custom operation: post path: /v1/test_helpers/issuing/transactions/create_unlinked_refund - - method_name: refund - method_on: service - method_type: custom - operation: post - path: '/v1/test_helpers/issuing/transactions/{transaction}/refund' x-stripeResource: class_name: Transaction has_collection_class: true @@ -24479,16 +24479,6 @@ components: - transfer_data x-resourceId: payment_intent x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/payment_intents/search - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/payment_intents - method_name: list method_on: service method_type: list @@ -24499,16 +24489,26 @@ components: method_type: retrieve operation: get path: '/v1/payment_intents/{intent}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/payment_intents/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/payment_intents - method_name: update method_on: service method_type: update operation: post path: '/v1/payment_intents/{intent}' - - method_name: confirm + - method_name: apply_customer_balance method_on: service method_type: custom operation: post - path: '/v1/payment_intents/{intent}/confirm' + path: '/v1/payment_intents/{intent}/apply_customer_balance' - method_name: cancel method_on: service method_type: custom @@ -24519,6 +24519,11 @@ components: method_type: custom operation: post path: '/v1/payment_intents/{intent}/capture' + - method_name: confirm + method_on: service + method_type: custom + operation: post + path: '/v1/payment_intents/{intent}/confirm' - method_name: increment_authorization method_on: service method_type: custom @@ -24529,11 +24534,6 @@ components: method_type: custom operation: post path: '/v1/payment_intents/{intent}/verify_microdeposits' - - method_name: apply_customer_balance - method_on: service - method_type: custom - operation: post - path: '/v1/payment_intents/{intent}/apply_customer_balance' x-stripeResource: class_name: PaymentIntent has_collection_class: true @@ -27501,26 +27501,26 @@ components: - zip x-resourceId: payment_method x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/payment_methods - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/payment_methods/{payment_method}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/payment_methods - method_name: update method_on: service method_type: update operation: post path: '/v1/payment_methods/{payment_method}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/payment_methods - method_name: attach method_on: service method_type: custom @@ -28497,16 +28497,16 @@ components: method_type: retrieve operation: get path: '/v1/payment_method_configurations/{configuration}' - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/payment_method_configurations/{configuration}' - method_name: create method_on: service method_type: create operation: post path: /v1/payment_method_configurations + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/payment_method_configurations/{configuration}' x-stripeResource: class_name: PaymentMethodConfiguration has_collection_class: true @@ -30816,16 +30816,16 @@ components: - paypal x-resourceId: payment_method_domain x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/payment_method_domains/{payment_method_domain}' - method_name: list method_on: service method_type: list operation: get path: /v1/payment_method_domains + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/payment_method_domains/{payment_method_domain}' - method_name: create method_on: service method_type: create @@ -33947,16 +33947,16 @@ components: - reversed_by x-resourceId: payout x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/payouts/{payout}' - method_name: list method_on: service method_type: list operation: get path: /v1/payouts + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/payouts/{payout}' - method_name: create method_on: service method_type: create @@ -34300,6 +34300,11 @@ components: - verification x-resourceId: person x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/accounts/{account}/persons/{person}' - method_name: list method_on: collection method_type: list @@ -34335,11 +34340,6 @@ components: method_type: update operation: post path: '/v1/accounts/{account}/persons/{person}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/accounts/{account}/persons/{person}' x-stripeResource: class_name: Person has_collection_class: true @@ -34832,31 +34832,31 @@ components: - transform_usage x-resourceId: plan x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/plans/{plan}' - method_name: list method_on: service method_type: list operation: get path: /v1/plans - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/plans - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/plans/{plan}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/plans - method_name: update method_on: service method_type: update operation: post path: '/v1/plans/{plan}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/plans/{plan}' x-stripeResource: class_name: Plan has_collection_class: true @@ -35702,26 +35702,26 @@ components: - transform_quantity x-resourceId: price x-stripeOperations: - - method_name: search - method_on: service - method_type: custom - operation: get - path: /v1/prices/search - method_name: list method_on: service method_type: list operation: get path: /v1/prices - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/prices - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/prices/{price}' + - method_name: search + method_on: service + method_type: custom + operation: get + path: /v1/prices/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/prices - method_name: update method_on: service method_type: update @@ -35982,6 +35982,21 @@ components: - tax_code x-resourceId: product x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/products/{id}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/products + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/products/{id}' - method_name: search method_on: service method_type: custom @@ -35992,26 +36007,11 @@ components: method_type: create operation: post path: /v1/products - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/products/{id}' - method_name: update method_on: service method_type: update operation: post path: '/v1/products/{id}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/products - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/products/{id}' x-stripeResource: class_name: Product has_collection_class: true @@ -36160,6 +36160,11 @@ components: - restrictions x-resourceId: promotion_code x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/promotion_codes - method_name: retrieve method_on: service method_type: retrieve @@ -36175,11 +36180,6 @@ components: method_type: update operation: post path: '/v1/promotion_codes/{promotion_code}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/promotion_codes x-stripeResource: class_name: PromotionCode has_collection_class: true @@ -36603,11 +36603,26 @@ components: - transfer_data x-resourceId: quote x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/quotes - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/quotes/{quote}' + - method_name: list_computed_upfront_line_items + method_on: service + method_type: custom + operation: get + path: '/v1/quotes/{quote}/computed_upfront_line_items' + - method_name: list_line_items + method_on: service + method_type: custom + operation: get + path: '/v1/quotes/{quote}/line_items' - method_name: create method_on: service method_type: create @@ -36618,6 +36633,11 @@ components: method_type: update operation: post path: '/v1/quotes/{quote}' + - method_name: accept + method_on: service + method_type: custom + operation: post + path: '/v1/quotes/{quote}/accept' - method_name: cancel method_on: service method_type: custom @@ -36628,26 +36648,6 @@ components: method_type: custom operation: post path: '/v1/quotes/{quote}/finalize' - - method_name: accept - method_on: service - method_type: custom - operation: post - path: '/v1/quotes/{quote}/accept' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/quotes - - method_name: list_line_items - method_on: service - method_type: custom - operation: get - path: '/v1/quotes/{quote}/line_items' - - method_name: list_computed_upfront_line_items - method_on: service - method_type: custom - operation: get - path: '/v1/quotes/{quote}/computed_upfront_line_items' - method_name: pdf method_on: service method_type: custom @@ -37264,6 +37264,11 @@ components: - list_items x-resourceId: radar.value_list x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/radar/value_lists/{value_list}' - method_name: list method_on: service method_type: list @@ -37284,11 +37289,6 @@ components: method_type: update operation: post path: '/v1/radar/value_lists/{value_list}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/radar/value_lists/{value_list}' x-stripeResource: class_name: ValueList has_collection_class: true @@ -37351,6 +37351,11 @@ components: x-expandableFields: [] x-resourceId: radar.value_list_item x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/radar/value_list_items/{item}' - method_name: list method_on: service method_type: list @@ -37366,11 +37371,6 @@ components: method_type: create operation: post path: /v1/radar/value_list_items - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/radar/value_list_items/{item}' x-stripeResource: class_name: ValueListItem has_collection_class: true @@ -37755,16 +37755,16 @@ components: method_type: list operation: get path: /v1/refunds - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/refunds - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/refunds/{refund}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/refunds - method_name: update method_on: service method_type: update @@ -38094,6 +38094,11 @@ components: - result x-resourceId: reporting.report_run x-stripeOperations: + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/reporting/report_runs - method_name: retrieve method_on: service method_type: retrieve @@ -38104,11 +38109,6 @@ components: method_type: create operation: post path: /v1/reporting/report_runs - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/reporting/report_runs x-stripeResource: class_name: ReportRun has_collection_class: true @@ -38228,16 +38228,16 @@ components: x-expandableFields: [] x-resourceId: reporting.report_type x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/reporting/report_types/{report_type}' - method_name: list method_on: service method_type: list operation: get path: /v1/reporting/report_types + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/reporting/report_types/{report_type}' x-stripeResource: class_name: ReportType has_collection_class: true @@ -39779,11 +39779,6 @@ components: - single_use_mandate x-resourceId: setup_intent x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/setup_intents - method_name: list method_on: service method_type: list @@ -39794,21 +39789,26 @@ components: method_type: retrieve operation: get path: '/v1/setup_intents/{intent}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/setup_intents - method_name: update method_on: service method_type: update operation: post path: '/v1/setup_intents/{intent}' - - method_name: confirm + - method_name: cancel method_on: service method_type: custom operation: post - path: '/v1/setup_intents/{intent}/confirm' - - method_name: cancel + path: '/v1/setup_intents/{intent}/cancel' + - method_name: confirm method_on: service method_type: custom operation: post - path: '/v1/setup_intents/{intent}/cancel' + path: '/v1/setup_intents/{intent}/confirm' - method_name: verify_microdeposits method_on: service method_type: custom @@ -40821,6 +40821,11 @@ components: method_type: retrieve operation: get path: '/v1/sources/{source}' + - method_name: source_transactions + method_on: service + method_type: custom + operation: get + path: '/v1/sources/{source}/source_transactions' - method_name: create method_on: service method_type: create @@ -40836,11 +40841,6 @@ components: method_type: custom operation: post path: '/v1/sources/{source}/verify' - - method_name: source_transactions - method_on: service - method_type: custom - operation: get - path: '/v1/sources/{source}/source_transactions' x-stripeResource: class_name: Source in_package: '' @@ -42614,46 +42614,46 @@ components: - trial_settings x-resourceId: subscription x-stripeOperations: - - method_name: search + - method_name: cancel method_on: service method_type: custom - operation: get - path: /v1/subscriptions/search + operation: delete + path: '/v1/subscriptions/{subscription_exposed_id}' + - method_name: delete_discount + method_on: service + method_type: custom + operation: delete + path: '/v1/subscriptions/{subscription_exposed_id}/discount' - method_name: list method_on: service method_type: list operation: get path: /v1/subscriptions - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/subscriptions - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/subscriptions/{subscription_exposed_id}' - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/subscriptions/{subscription_exposed_id}' - - method_name: cancel + - method_name: search method_on: service method_type: custom - operation: delete - path: '/v1/subscriptions/{subscription_exposed_id}' + operation: get + path: /v1/subscriptions/search + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/subscriptions - method_name: resume method_on: service method_type: custom operation: post path: '/v1/subscriptions/{subscription}/resume' - - method_name: delete_discount + - method_name: update method_on: service - method_type: custom - operation: delete - path: '/v1/subscriptions/{subscription_exposed_id}/discount' + method_type: update + operation: post + path: '/v1/subscriptions/{subscription_exposed_id}' x-stripeResource: class_name: Subscription has_collection_class: true @@ -42794,6 +42794,11 @@ components: - tax_rates x-resourceId: subscription_item x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/subscription_items/{item}' - method_name: list method_on: service method_type: list @@ -42804,6 +42809,11 @@ components: method_type: retrieve operation: get path: '/v1/subscription_items/{item}' + - method_name: usage_record_summaries + method_on: service + method_type: custom + operation: get + path: '/v1/subscription_items/{subscription_item}/usage_record_summaries' - method_name: create method_on: service method_type: create @@ -42814,16 +42824,6 @@ components: method_type: update operation: post path: '/v1/subscription_items/{item}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/subscription_items/{item}' - - method_name: usage_record_summaries - method_on: service - method_type: custom - operation: get - path: '/v1/subscription_items/{subscription_item}/usage_record_summaries' x-stripeResource: class_name: SubscriptionItem has_collection_class: true @@ -43104,16 +43104,16 @@ components: method_type: list operation: get path: /v1/subscription_schedules - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/subscription_schedules - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/subscription_schedules/{schedule}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/subscription_schedules - method_name: update method_on: service method_type: update @@ -44101,16 +44101,16 @@ components: - tax_breakdown x-resourceId: tax.calculation x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/tax/calculations - method_name: list_line_items method_on: service method_type: custom operation: get path: '/v1/tax/calculations/{calculation}/line_items' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/tax/calculations x-stripeResource: class_name: Calculation in_package: Tax @@ -44291,16 +44291,16 @@ components: method_type: list operation: get path: /v1/tax/registrations - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/tax/registrations - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/tax/registrations/{id}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/tax/registrations - method_name: update method_on: service method_type: update @@ -44541,21 +44541,21 @@ components: method_type: retrieve operation: get path: '/v1/tax/transactions/{transaction}' - - method_name: create_reversal + - method_name: list_line_items method_on: service method_type: custom - operation: post - path: /v1/tax/transactions/create_reversal + operation: get + path: '/v1/tax/transactions/{transaction}/line_items' - method_name: create_from_calculation method_on: service method_type: custom operation: post path: /v1/tax/transactions/create_from_calculation - - method_name: list_line_items + - method_name: create_reversal method_on: service method_type: custom - operation: get - path: '/v1/tax/transactions/{transaction}/line_items' + operation: post + path: /v1/tax/transactions/create_reversal x-stripeResource: class_name: Transaction in_package: Tax @@ -44916,15 +44916,20 @@ components: - verification x-resourceId: tax_id x-stripeOperations: - - method_name: create + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/customers/{customer}/tax_ids/{id}' + - method_name: list method_on: collection - method_type: create - operation: post + method_type: list + operation: get path: '/v1/customers/{customer}/tax_ids' - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: '/v1/customers/{customer}/tax_ids' - method_name: retrieve method_on: collection @@ -44936,21 +44941,16 @@ components: method_type: retrieve operation: get path: '/v1/customers/{customer}/tax_ids/{id}' - - method_name: list + - method_name: create method_on: collection - method_type: list - operation: get + method_type: create + operation: post path: '/v1/customers/{customer}/tax_ids' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: '/v1/customers/{customer}/tax_ids' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/customers/{customer}/tax_ids/{id}' x-stripeResource: class_name: TaxId has_collection_class: true @@ -46206,11 +46206,11 @@ components: - verifone_p400 x-resourceId: terminal.configuration x-stripeOperations: - - method_name: create + - method_name: delete method_on: service - method_type: create - operation: post - path: /v1/terminal/configurations + method_type: delete + operation: delete + path: '/v1/terminal/configurations/{configuration}' - method_name: list method_on: service method_type: list @@ -46221,16 +46221,16 @@ components: method_type: retrieve operation: get path: '/v1/terminal/configurations/{configuration}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/terminal/configurations - method_name: update method_on: service method_type: update operation: post path: '/v1/terminal/configurations/{configuration}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/terminal/configurations/{configuration}' x-stripeResource: class_name: Configuration has_collection_class: true @@ -46337,6 +46337,16 @@ components: - address x-resourceId: terminal.location x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/terminal/locations/{location}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/terminal/locations - method_name: retrieve method_on: service method_type: retrieve @@ -46352,16 +46362,6 @@ components: method_type: update operation: post path: '/v1/terminal/locations/{location}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/terminal/locations - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/terminal/locations/{location}' x-stripeResource: class_name: Location has_collection_class: true @@ -46471,11 +46471,16 @@ components: - location x-resourceId: terminal.reader x-stripeOperations: - - method_name: update + - method_name: delete method_on: service - method_type: update - operation: post + method_type: delete + operation: delete path: '/v1/terminal/readers/{reader}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/terminal/readers - method_name: retrieve method_on: service method_type: retrieve @@ -46486,16 +46491,16 @@ components: method_type: create operation: post path: /v1/terminal/readers - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/terminal/readers - - method_name: delete + - method_name: update method_on: service - method_type: delete - operation: delete + method_type: update + operation: post path: '/v1/terminal/readers/{reader}' + - method_name: cancel_action + method_on: service + method_type: custom + operation: post + path: '/v1/terminal/readers/{reader}/cancel_action' - method_name: process_payment_intent method_on: service method_type: custom @@ -46506,21 +46511,16 @@ components: method_type: custom operation: post path: '/v1/terminal/readers/{reader}/process_setup_intent' - - method_name: cancel_action + - method_name: refund_payment method_on: service method_type: custom operation: post - path: '/v1/terminal/readers/{reader}/cancel_action' + path: '/v1/terminal/readers/{reader}/refund_payment' - method_name: set_reader_display method_on: service method_type: custom operation: post path: '/v1/terminal/readers/{reader}/set_reader_display' - - method_name: refund_payment - method_on: service - method_type: custom - operation: post - path: '/v1/terminal/readers/{reader}/refund_payment' - method_name: present_payment_method method_on: service method_type: custom @@ -47023,6 +47023,16 @@ components: x-expandableFields: [] x-resourceId: test_helpers.test_clock x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/test_helpers/test_clocks/{test_clock}' + - method_name: list + method_on: service + method_type: list + operation: get + path: /v1/test_helpers/test_clocks - method_name: retrieve method_on: service method_type: retrieve @@ -47033,21 +47043,11 @@ components: method_type: create operation: post path: /v1/test_helpers/test_clocks - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/test_helpers/test_clocks/{test_clock}' - method_name: advance method_on: service method_type: custom operation: post path: '/v1/test_helpers/test_clocks/{test_clock}/advance' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/test_helpers/test_clocks x-stripeResource: class_name: TestClock has_collection_class: true @@ -47564,11 +47564,6 @@ components: - source x-resourceId: topup x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/topups - method_name: list method_on: service method_type: list @@ -47579,6 +47574,11 @@ components: method_type: retrieve operation: get path: '/v1/topups/{topup}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/topups - method_name: update method_on: service method_type: update @@ -47850,11 +47850,6 @@ components: - source_transaction x-resourceId: transfer x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/transfers - method_name: list method_on: service method_type: list @@ -47865,6 +47860,11 @@ components: method_type: retrieve operation: get path: '/v1/transfers/{transfer}' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/transfers - method_name: update method_on: service method_type: update @@ -48069,16 +48069,6 @@ components: - transfer x-resourceId: transfer_reversal x-stripeOperations: - - method_name: create - method_on: collection - method_type: create - operation: post - path: '/v1/transfers/{id}/reversals' - - method_name: create - method_on: service - method_type: create - operation: post - path: '/v1/transfers/{id}/reversals' - method_name: list method_on: collection method_type: list @@ -48099,6 +48089,16 @@ components: method_type: retrieve operation: get path: '/v1/transfers/{transfer}/reversals/{id}' + - method_name: create + method_on: collection + method_type: create + operation: post + path: '/v1/transfers/{id}/reversals' + - method_name: create + method_on: service + method_type: create + operation: post + path: '/v1/transfers/{id}/reversals' - method_name: update method_on: service method_type: update @@ -48454,20 +48454,20 @@ components: - transaction x-resourceId: treasury.debit_reversal x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/debit_reversals - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/debit_reversals/{debit_reversal}' - - method_name: list + - method_name: create method_on: service - method_type: list - operation: get + method_type: create + operation: post path: /v1/treasury/debit_reversals x-stripeResource: class_name: DebitReversal @@ -48662,21 +48662,6 @@ components: - status_details x-resourceId: treasury.financial_account x-stripeOperations: - - method_name: create - method_on: service - method_type: create - operation: post - path: /v1/treasury/financial_accounts - - method_name: update - method_on: service - method_type: update - operation: post - path: '/v1/treasury/financial_accounts/{financial_account}' - - method_name: update_features - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/financial_accounts/{financial_account}/features' - method_name: list method_on: service method_type: list @@ -48692,6 +48677,21 @@ components: method_type: custom operation: get path: '/v1/treasury/financial_accounts/{financial_account}/features' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/financial_accounts + - method_name: update + method_on: service + method_type: update + operation: post + path: '/v1/treasury/financial_accounts/{financial_account}' + - method_name: update_features + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/financial_accounts/{financial_account}/features' x-stripeResource: class_name: FinancialAccount has_collection_class: true @@ -48944,41 +48944,41 @@ components: - transaction x-resourceId: treasury.inbound_transfer x-stripeOperations: - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/inbound_transfers/{inbound_transfer}/cancel' - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/inbound_transfers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/inbound_transfers/{id}' - - method_name: list + - method_name: fail method_on: service - method_type: list - operation: get - path: /v1/treasury/inbound_transfers + method_type: custom + operation: post + path: '/v1/test_helpers/treasury/inbound_transfers/{id}/fail' + - method_name: return_inbound_transfer + method_on: service + method_type: custom + operation: post + path: '/v1/test_helpers/treasury/inbound_transfers/{id}/return' - method_name: succeed method_on: service method_type: custom operation: post path: '/v1/test_helpers/treasury/inbound_transfers/{id}/succeed' - - method_name: fail + - method_name: create method_on: service - method_type: custom + method_type: create operation: post - path: '/v1/test_helpers/treasury/inbound_transfers/{id}/fail' - - method_name: return_inbound_transfer + path: /v1/treasury/inbound_transfers + - method_name: cancel method_on: service method_type: custom operation: post - path: '/v1/test_helpers/treasury/inbound_transfers/{id}/return' + path: '/v1/treasury/inbound_transfers/{inbound_transfer}/cancel' x-stripeResource: class_name: InboundTransfer has_collection_class: true @@ -49211,26 +49211,16 @@ components: - transaction x-resourceId: treasury.outbound_payment x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/outbound_payments - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/outbound_payments/{id}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/treasury/outbound_payments - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/outbound_payments/{id}/cancel' - method_name: fail method_on: service method_type: custom @@ -49246,6 +49236,16 @@ components: method_type: custom operation: post path: '/v1/test_helpers/treasury/outbound_payments/{id}/return' + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/outbound_payments + - method_name: cancel + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/outbound_payments/{id}/cancel' x-stripeResource: class_name: OutboundPayment has_collection_class: true @@ -49481,26 +49481,16 @@ components: - transaction x-resourceId: treasury.outbound_transfer x-stripeOperations: - - method_name: create + - method_name: list method_on: service - method_type: create - operation: post + method_type: list + operation: get path: /v1/treasury/outbound_transfers - method_name: retrieve method_on: service method_type: retrieve operation: get path: '/v1/treasury/outbound_transfers/{outbound_transfer}' - - method_name: list - method_on: service - method_type: list - operation: get - path: /v1/treasury/outbound_transfers - - method_name: cancel - method_on: service - method_type: custom - operation: post - path: '/v1/treasury/outbound_transfers/{outbound_transfer}/cancel' - method_name: fail method_on: service method_type: custom @@ -49519,6 +49509,16 @@ components: operation: post path: >- /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return + - method_name: create + method_on: service + method_type: create + operation: post + path: /v1/treasury/outbound_transfers + - method_name: cancel + method_on: service + method_type: custom + operation: post + path: '/v1/treasury/outbound_transfers/{outbound_transfer}/cancel' x-stripeResource: class_name: OutboundTransfer has_collection_class: true @@ -50095,16 +50095,16 @@ components: - status_transitions x-resourceId: treasury.transaction x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/treasury/transactions/{id}' - method_name: list method_on: service method_type: list operation: get path: /v1/treasury/transactions + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/treasury/transactions/{id}' x-stripeResource: class_name: Transaction has_collection_class: true @@ -50233,16 +50233,16 @@ components: - transaction x-resourceId: treasury.transaction_entry x-stripeOperations: - - method_name: retrieve - method_on: service - method_type: retrieve - operation: get - path: '/v1/treasury/transaction_entries/{id}' - method_name: list method_on: service method_type: list operation: get path: /v1/treasury/transaction_entries + - method_name: retrieve + method_on: service + method_type: retrieve + operation: get + path: '/v1/treasury/transaction_entries/{id}' x-stripeResource: class_name: TransactionEntry has_collection_class: true @@ -51524,6 +51524,11 @@ components: x-expandableFields: [] x-resourceId: webhook_endpoint x-stripeOperations: + - method_name: delete + method_on: service + method_type: delete + operation: delete + path: '/v1/webhook_endpoints/{webhook_endpoint}' - method_name: list method_on: service method_type: list @@ -51544,11 +51549,6 @@ components: method_type: update operation: post path: '/v1/webhook_endpoints/{webhook_endpoint}' - - method_name: delete - method_on: service - method_type: delete - operation: delete - path: '/v1/webhook_endpoints/{webhook_endpoint}' x-stripeResource: class_name: WebhookEndpoint has_collection_class: true