> ## Documentation Index
> Fetch the complete documentation index at: https://firespark.cloud/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar pagos

> Lee las configuraciones de pago del comercio.

Devuelve cada pago no eliminado del comercio autenticado, incluidos los `INACTIVE`. Úsalo para conocer los ids de Fire spark antes de llamar a [Obtener pago](https://firespark.cloud/docs/es/integrations-api/payments/\[id]/get) o [Crear o actualizar pagos](https://firespark.cloud/docs/es/integrations-api/payments/put.md).

> [!NOTE]
>
> Requiere un access token con el scope `payments:read`. Consulta
> [Token](https://firespark.cloud/docs/es/integrations-api/oauth/token/post.md) para obtener un token.

## Solicitud

```bash theme={null}
curl "https://firespark.cloud/api/integrations/v1/payments" \
  -H "Authorization: Bearer ACCESS_TOKEN"
```

## Respuesta

La respuesta envuelve un arreglo de pagos en `data`. `private_key` y `webhook_signature` no salen en `config`. La forma del objeto coincide con [Obtener pago](https://firespark.cloud/docs/es/integrations-api/payments/\[id]/get).

## Respuestas de error

| Estado | Descripción |
| - | - |
| `401` | Access token ausente o inválido |
| `403` | El token no incluye `payments:read` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.