Delete an external account
DELETE
/v1/accounts/{account}/bank_accounts/{id} https://api.stripe.com/
Parameters
path Path Parameters
| Name | Type |
|---|---|
account
required
| string |
id
required
Unique identifier for the external account to be deleted. | string |
Request Body
application/x-www-form-urlencoded
{}
Responses
200 application/json
Successful response.
type DeletedExternalAccount = interface DeletedBankAccount {
currency?: string | null;
deleted: true;
id: string;
object: "bank_account";
} | interface DeletedCard {
currency?: string | null;
deleted: true;
id: string;
object: "card";
}
currency?: string | null;
deleted: true;
id: string;
object: "bank_account";
} | interface DeletedCard {
currency?: string | null;
deleted: true;
id: string;
object: "card";
}
default application/json
Error response.
interface Error {
error:ApiErrors ;
}
error:
}