# `DocuSign.Api.PaymentGatewayAccounts`
[🔗](https://github.com/neilberkman/docusign_elixir/blob/v3.4.0/lib/docusign/api/payment_gateway_accounts.ex#L5)

API calls for all endpoints tagged `PaymentGatewayAccounts`.

# `payment_gateway_accounts_get_all_payment_gateway_accounts`

```elixir
@spec payment_gateway_accounts_get_all_payment_gateway_accounts(
  DocuSign.Connection.t(),
  String.t(),
  keyword()
) ::
  {:ok, DocuSign.Model.PaymentGatewayAccountsInfo.t()}
  | {:error, Req.Response.t()}
```

List payment gateway accounts
This method returns a list of payment gateway accounts and basic information about them.

### Parameters

- `connection` (DocuSign.Connection): Connection to server
- `account_id` (String.t): The external account number (int) or account ID GUID.
- `opts` (keyword): Optional parameters

### Returns

- `{:ok, DocuSign.Model.PaymentGatewayAccountsInfo.t}` on success
- `{:error, Req.Response.t}` on failure

---

*Consult [api-reference.md](api-reference.md) for complete listing*
