{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stripe Accounts Account Delete API",
    "version": "2023-10-16"
  },
  "items": [
    {
      "info": {
        "name": "Delete",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Stripe Delete Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/accounts/:account",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>With <a href=\"/docs/connect\">Connect</a>, you can delete accounts you manage.</p>\n\n<p>Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.</p>\n\n<p>If you want to delete your own account, use the <a href=\"https://dashboard.stripe.com/settings/account\">account information tab in your account settings</a> instead.</"
        },
        {
          "info": {
            "name": "Stripe Delete Bank Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/accounts/:account/bank_accounts/:id",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete a specified external account for a given account.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete External Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/accounts/:account/external_accounts/:id",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete a specified external account for a given account.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete Person",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/accounts/:account/people/:person",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "path"
              },
              {
                "name": "person",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Deletes an existing persons relationship to the accounts legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the <code>account_opener</code>. If your integration is using the <code>executive</code> parameter, you cannot delete the only verified <code>executive</code> on file.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete Person",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/accounts/:account/persons/:person",
            "params": [
              {
                "name": "account",
                "value": "",
                "type": "path"
              },
              {
                "name": "person",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Deletes an existing persons relationship to the accounts legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the <code>account_opener</code>. If your integration is using the <code>executive</code> parameter, you cannot delete the only verified <code>executive</code> on file.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete Apple Pay Domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/apple_pay/domains/:domain",
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete an apple pay domain.</p>"
        },
        {
          "info": {
            "name": "Stripe Post Apps Secrets Delete",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stripe.com/v1/apps/secrets/delete",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "expand",
                  "value": ""
                },
                {
                  "name": "name",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                }
              ]
            }
          },
          "docs": "<p>Deletes a secret from the secret store by name and scope.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Coupons Coupon",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/coupons/:coupon",
            "params": [
              {
                "name": "coupon",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>You can delete coupons via the <a href=\"https://dashboard.stripe.com/coupons\">coupon management</a> page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can’t redeem the coupon. You can also delete coupons via the API.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Bank Accounts Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/bank_accounts/:id",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete a specified source for a given customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Cards Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/cards/:id",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete a specified source for a given customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Discount",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/discount",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Removes the currently applied discount on a customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Sources Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/sources/:id",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Delete a specified source for a given customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Subscriptions Subscription Exposed Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/subscriptions/:subscription_exposed_id",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscription_exposed_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Cancels a customer’s subscription. If you set the <code>at_period_end</code> parameter to <code>true</code>, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed. Otherwise, with the default <code>false</code> value, the subscription is terminated immediately. In either case, the customer will not be charged again for the subscription.</p>\n\n<p>Note, however, that any pending invoice items that you’ve created will still be charged "
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Subscriptions Subscription Exposed Id Discount",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/subscriptions/:subscription_exposed_id/discount",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscription_exposed_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Removes the currently applied discount on a customer.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Customers Customer Tax Ids Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/customers/:customer/tax_ids/:id",
            "params": [
              {
                "name": "customer",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Deletes an existing <code>tax_id</code> object.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Ephemeral Keys Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/ephemeral_keys/:key",
            "params": [
              {
                "name": "key",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Invalidates a short-lived API key for a given resource.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Invoice Items",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/Invoice Items/:invoiceitem",
            "params": [
              {
                "name": "invoiceitem",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Invoices Invoice",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/invoices/:invoice",
            "params": [
              {
                "name": "invoice",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be <a href=\"#void_invoice\">voided</a>.</p>"
        },
        {
          "info": {
            "name": "Stripe Delete   Plans",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stripe.com/v1/plans/:plan",
            "params": [
              {
                "name": "plan",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "<p>Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.</p>"
        }
      ]
    }
  ],
  "bundled": true
}