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

# setPrimaryFundingSource

> setPrimaryFundingSource sets a bank account as the account's primary funding source, replacing any previous primary.

setPrimaryFundingSource sets a bank account as the account's primary funding
source, replacing any previous primary. Requires MANAGE\_PAYMENT scope.

```graphql theme={null}
mutation {
  setPrimaryFundingSource(
    input: SetPrimaryFundingSourceInput!
  ): DefaultFundingSource
}
```

## Arguments

<ParamField body="input" type="SetPrimaryFundingSourceInput!" required>
  *No description provided in the schema yet.*
</ParamField>

## Returns

[`DefaultFundingSource`](/api-reference/types/default-funding-source) — DefaultFundingSource represents an account's default funding source: the primary payment method (a bank account, charged first) and the backup payment method (a bank card, charged if the primary can't be charged).
