> ## 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.

# Update program source

> Update a program funding source.

PUT/fundingsources/program/\{token}

Update a program funding source.

## URL path parameters

| Fields | Description |
| - | - |
| token string  Required | Unique identifier of the program funding source. **Allowable Values:**  Existing program funding source token |

## Request body

| Fields | Description |
| - | - |
| active boolean  Optional | Indicates whether the program funding source is active. **Allowable Values:**  `true`, `false` **Default value:** `false` |
| name string  Optional | Name of the program funding source. **Allowable Values:**  1–50 chars |

## Sample request body

```json JSON lines wrap theme={null}
{
  "name": "your_programfundingsource_name",
  "active": false
}
```

## Response body

| Fields | Description |
| - | - |
| account string  Returned | Account identifier. **Allowable Values:**  255 char max |
| active boolean  Conditionally returned | Indicates whether the program funding source is active. This field is returned if it exists in the resource. **Allowable Values:**  `true`, `false` |
| created\_time datetime  Returned | Date and time when the resource was created, in UTC. **Allowable Values:**  datetime **Format:** yyyy-MM-ddThh:mm:ssZ |
| last\_modified\_time datetime  Returned | Date and time when the resource was last modified, in UTC. **Allowable Values:**  datetime **Format:** yyyy-MM-ddThh:mm:ssZ |
| name string  Returned | Name of the program funding source. **Allowable Values:**  1–50 chars |
| token string  Returned | Unique identifier of the funding source. **Allowable Values:**  1–36 chars |

## Sample response body

```json JSON lines wrap theme={null}
{
  "name": "your_programfundingsource_name",
  "active": true,
  "token": "my_programfundingsource_token",
  "account": "12.003.001.000147",
  "created_time": "2023-02-25T20:46:04Z",
  "last_modified_time": "2023-02-25T20:50:00Z"
}
```


## Related topics

- [Program Funding Sources Overview](https://www.marqeta.com/docs/core-api/program-funding-sources.md)
- [Update program gateway source](https://www.marqeta.com/docs/core-api/program-gateway-funding-sources/update-program-gateway-source.md)
- [Update program gateway source custom headers](https://www.marqeta.com/docs/core-api/program-gateway-funding-sources/update-program-gateway-source-custom-headers.md)
- [Program Gateway Funding Sources Overview](https://www.marqeta.com/docs/core-api/program-gateway-funding-sources.md)
- [Update program transfer type](https://www.marqeta.com/docs/core-api/program-transfers/program-transfer-types/update-type.md)
