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

# Set default source

> Configure either an ACH funding source or a payment card funding source as the default funding source.

PUT/fundingsources/\{funding\_source\_token}/default

Configure either an ACH funding source or a payment card funding source as the default funding source.

A default funding source is used when you omit the `funding_source_token` field from funding requests, such as a `POST` request to `/gpaorders`. Note that the first funding source you create is automatically set as the default (`is_default_source=true`).

## URL path parameters

| Fields | Description |
| - | - |
| funding\_source\_token string  Required | Unique identifier of the funding source. Send a `GET` request to `/fundingsources/user/{user_token}` to retrieve existing funding source tokens for a user or to `/fundingsources/business/{business_token}` to retrieve existing funding source tokens for a business. **Allowable Values:**  Existing funding source token |

## Response body

| Fields | Description |
| - | - |
| account\_suffix string  Returned | Account identifier appended to the payment card number. **Allowable Values:**  255 char max |
| account\_type string  Returned | Type of payment card account. **Allowable Values:**  `checking`, `corporate`, `loan`, `savings` |
| active boolean  Returned | Specifies whether the account is active. **Allowable Values:**  `true`, `false` |
| business\_token string  Conditionally returned | Unique identifier of the business account holder. This token is returned if a `user_token` is not specified. **Allowable Values:**  Existing business resource token |
| created\_time datetime  Returned | Date and time when the resource was created, in UTC. **Allowable Values:**  datetime **Format:** yyyy-MM-ddThh:mm:ssZ |
| exp\_date string  Returned | Payment card expiration date. **Allowable Values:**  Format: MMyy |
| is\_default\_account boolean  Returned | If there are multiple funding sources, this field specifies which source is used by default in funding calls. If there is only one funding source, the system ignores this field and always uses that source. **Allowable Values:**  `true`, `false` |
| 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 |
| token string  Returned | Unique identifier of the funding source. **Allowable Values:**  Existing funding source token |
| type string  Returned | Funding source type. **Allowable Values:**  `ACH`, `paymentcard` |
| user\_token string  Conditionally returned | Unique identifier of the user account holder. This token is returned if a `business_token` is not specified. **Allowable Values:**  Existing user resource token |

## Sample response body

```json JSON lines wrap theme={null}
{
  "type": "paymentcard",
  "token": "jane_doe_paymentcard_token",
  "account_suffix": "4321",
  "account_type": "corporate",
  "active": true,
  "exp_date": "1227",
  "is_default_account": true,
  "user_token": "my_user_01",
  "created_time": "2023-02-28T20:00:00Z",
  "last_modified_time": "2023-02-28T20:00:00Z"
}
```


## Related topics

- [Account Holder Funding Sources Overview](https://www.marqeta.com/docs/core-api/account-holder-funding-sources.md)
- [Create ACH source](https://www.marqeta.com/docs/core-api/account-holder-funding-sources/ach-sources/create-ach-source.md)
- [Create ACH program source](https://www.marqeta.com/docs/core-api/program-funding-sources/create-ach-program-source.md)
- [Create Commando Mode control set](https://www.marqeta.com/docs/core-api/commando-mode-addendum/create-control-set.md)
- [Update Commando Mode control set](https://www.marqeta.com/docs/core-api/commando-mode-addendum/update-control-set.md)
