# List, retrieve, then delete a funding account.

List, retrieve, then delete a funding account.

1. OPTIONAL — list the funding accounts on your account to discover a fundingAccountId. Returns a paginated envelope; accounts are under `data`. Skip if you already hold the fundingAccountId.
 [listFundingAccount](/api/list-funding-account)
2. OPTIONAL — retrieve the full detail of the funding account by its fundingAccountId before deleting.
 [getFundingAccount](/api/get-funding-account)
3. Delete the funding account. Valid only for a funding account associated with a funding recipient - the API rejects deletes of a processing-account funding account. The API also rejects this call if the account is the last one on the funding recipient. Returns 204 with no body. Run only when you intend to permanently remove the account.
 [deleteFundingAccount](/api/delete-funding-account)

## Workflow diagram

```mermaid
flowchart TD
  step0["1. list funding accounts · API"]
  step1["2. get funding account · API"]
  step0 --> step1
  step2["3. delete funding account · API"]
  step1 --> step2
```
