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

# List Program Gateways

> Retrieve an array of existing Credit Program Gateways.

GET/credit/programgateways

Retrieve an array of existing Credit Program Gateways.

This endpoint supports [sorting and pagination](https://www.marqeta.com/docs/core-api/sorting-and-pagination.md).

## URL query parameters

| Fields | Description |
| - | - |
| count integer  Optional | Number of Program Gateway resources to retrieve. **Allowable Values:**  1–100 |
| start\_index integer  Optional | Sort order index of the first resource in the returned array. **Allowable Values:**  0 min |
| sort\_by string  Optional | Field on which to sort. Prefix the field name with a hyphen (`-`) to sort in descending order. Omit the hyphen to sort in ascending order. **NOTE:** You must sort using system field names such as `lastModifiedTime`, and not by the field names appearing in response bodies such as `last_modified_time`. **Allowable Values:**  `lastModifiedTime`, `-lastModifiedTime` |

## Response body

| Fields | Description |
| - | - |
| count integer  Returned | Number of resources returned. **Allowable Values:**  1-10 |
| start\_index integer  Returned | Sort order index of the first resource in the returned array. **Allowable Values:**  Any integer |
| end\_index integer  Returned | Sort order index of the last resource in the returned array. **Allowable Values:**  Any integer |
| is\_more boolean  Returned | A value of `true` indicates that more unreturned resources exist. **Allowable Values:**  `true`, `false` |
| data array of objects  Returned | Contains one or more Program Gateway objects. **Allowable Values:**  One or more Program Gateway objects |
| data\[].**token** string  Conditionally returned | Unique identifier of the Program Gateway. **Allowable Values:**  36 char max |
| data\[].**name** string  Conditionally returned | Name of the Program Gateway. **Allowable Values:**  255 char max |
| data\[].**url** string  Conditionally returned | URL of the Program Gateway endpoint hosted in your environment and configured to receive authorization requests made by the Marqeta platform. **Allowable Values:**  250 char max |
| data\[].**basic\_auth\_username** string  Conditionally returned | Basic Authentication username for authenticating your environment. **Allowable Values:**  50 char max |
| data\[].**basic\_auth\_password** string  Conditionally returned | Basic Authentication password for authenticating your environment. **Allowable Values:**  20–50 chars |
| data\[].**timeout\_millis** integer  Conditionally returned | Total timeout for Program Gateway calls, in milliseconds. **Allowable Values:**  2000 max |
| data\[].**active** boolean  Conditionally returned | Indicates whether the Program Gateway is active. **Allowable Values:**  `true`, `false` |
| data\[].**custom\_header** object  Conditionally returned | Additional custom information included in the HTTP header. **Allowable Values:**  Up to three name-value pairs: 500 char max per name, 500 char max per value |
| data\[].**mtls** boolean  Conditionally returned | Indicates whether the Program Gateway uses mutual Transport Layer Security (mTLS). **Allowable Values:**  `true`, `false` |
| data\[].**created\_time** datetime  Conditionally returned | Date and time when the Program Gateway was created on Marqeta's credit platform, in UTC. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| data\[].**updated\_time** datetime  Conditionally returned | Date and time when the Program Gateway was last updated on Marqeta's credit platform, in UTC. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |


## Related topics

- [Program Gateways Overview](https://www.marqeta.com/docs/core-api/credit-program-gateways.md)
- [List program transfers](https://www.marqeta.com/docs/core-api/program-transfers/list-program-transfers.md)
- [Create Program Gateway](https://www.marqeta.com/docs/core-api/credit-program-gateways/create-program-gateway.md)
- [Retrieve Program Gateway](https://www.marqeta.com/docs/core-api/credit-program-gateways/retrieve-program-gateway.md)
- [Update Program Gateway](https://www.marqeta.com/docs/core-api/credit-program-gateways/update-program-gateway.md)
