# List a customer's accounts

`GET /v1/platforms/{platformOrgId}/customers/{customerOrgId}/accounts`

**List customer accounts** (Act as a platform). An `id` from this list is the `account_id` on a payment or withdrawal.

Prerequisite: Permission `platform:customer_accounts_view`.

Acts on a linked customer with the platform's own key or team (platform:customer_accounts_view). Same as GET /v1/orgs/{orgId}/accounts.

When to use it: After the customer is active, to find the account a later payment pays from.

Requires: organization platform, customer active; permission platform:customer_accounts_view

```bash
curl -X GET "https://sandbox-api.payezy.io/v1/platforms/$PLATFORM_ORG_ID/customers/$CUSTOMER_ORG_ID/accounts" \
  -H "Authorization: Bearer $PAYEZY_KEY"
```
