From 6a615bcfa4009adf05fc4e766ccc2eb209830b40 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:09:12 +0000 Subject: [PATCH] Update OpenAPI for 590ad1456991553e8f8b5bf61333724a28bc8717 --- embedded/openapi/spec3.beta.sdk.json | 1786 +++++++++++++------------- 1 file changed, 893 insertions(+), 893 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 6fd31341..4e35f3d4 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/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": {