# List saved PayPal accounts

`GET https://console.advinservers.com/api/v1/client/billing/paypal-accounts`

### Overview

Lists the PayPal accounts the customer has saved, newest first. Each entry has the account's email address, when it was saved, and `service_ids`, the services whose renewals are charged to it. `available` indicates whether PayPal accounts can be saved and used on this installation.

Accounts are saved in the browser, where the customer approves them on PayPal, so there is no endpoint for it. To have a service renew from one, send its `uuid` as `paypal_account` to the automatic payment endpoint.

### Permissions

Requires the account permission `billing.read` (View billing).

## Authorization

Send `Authorization: Bearer <token>` with the request. Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

## Response 200

The record, as a JSON object. There is no envelope.

- `available` (boolean, required): The value of `available`.
- `items` (object[], required): Saved PayPal accounts, with the services renewing from each.
  - `uuid` (string, required): The uuid UUID.
  - `uuid_short` (string, required): The value of `uuid_short`.
  - `email` (string | null, required): The account's email address, as PayPal reported it.
  - `created_at` (string, required): The date and time for created at, in UTC.
  - `service_ids` (integer[], required): The services whose renewals are charged to it.

```json
{
  "available": true,
  "items": [
    {
      "uuid": "b71cfb0d-abab-4721-9254-622be47149cb",
      "uuid_short": "Uuid short",
      "email": "gordon.freeman@blackmesa.example.com",
      "created_at": "2026-09-14T16:42:09.000000Z",
      "service_ids": [
        1
      ]
    }
  ]
}
```

## Errors

- `401`: The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- `403`: Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- `429`: Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.

## Example request

```bash
curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/billing/paypal-accounts' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
```
