Configuration parameters

Learn how to configure Link.

Argyle Link provides multiple configuration options and callbacks that customize how this UI element functions within your application. The only argument that is mandatory when invoking Argyle Link is the linkKey, which can be found in the Argyle Console.

Initial configuration

For instructions on initial configuration and basic configuration examples, see:

By default, anytime Argyle Link is initialized, it is treated as a new session for a new user. To ensure your users retain their previous state in Argyle Link when it is re-initialized for them, your application must use the userToken parameter. See Returning users experience for further guidance.

Essential parameters

AttributeTypeDescription
linkKeystring uuid requiredYour Link key, which can be found in the API keys section of the Argyle Console.
linkItemsstring optionalUse this parameter to limit the number of Link items that your users can connect. Provide an array of Link item IDs you want Argyle Link to display on the Search screen. The order in which you list the IDs defines the order in which they are displayed on the UI.

If you provide a single Link item ID, the Search screen is skipped and the user is navigated directly to the Link item Login screen.
apiHoststring optional required - iOSThe API host that Argyle Link should use. Defaults to production API.
userTokenstring uuid optionalBy default, anytime Argyle Link is initialized, Argyle will treat this as a new session for a new user. To ensure your users retain their previous state in Argyle Link when it is re-initialized for them, your application must use the userToken parameter.

UI elements parameters

You can customize Argyle Link using the Link Customizer tool or by editing Link config parameters programmatically. See Customizing Argyle Link to learn more about each of these options.

Direct deposit parameters

AttributeTypeDescription
payDistributionConfigstring optionalArgyle Link will initiate a direct deposit update flow if a payDistributionConfig is provided.

Visit our direct deposit switching guide or DDS configurations References page for more information.
payDistributionUpdateFlowboolean optionalIf payDistributionUpdateFlow is set to true and the payDistributionConfig parameter is provided, the direct deposit update flow will be initiated right after an account is connected.

If this is set to true but the payDistributionConfig is not set, Link will not initialize properly.

The default value is false.
payDistributionItemsOnly
*deprecated
boolean optionalWhen set to true, only Link items that support pay distribution will be shown. For more information on updating apay distribution, refer to Direct deposit switching.

If a payDistributionConfig is provided, then only the Link items that match the parameters in the config will be shown. For example, if the payDistributionConfig allows only amount allocations and a Link item supports percent allocations only, then that Link item will not be shown.

If no payDistributionConfig is provided then all Link items that have some pay distribution support (amount and/or percent) will be shown.

The default value is false.
payDistributionAutoTriggerbooleanIf set to true, the deep linked returning users are taken directly to the Direct deposit opened screen, if a payDistributionConfig is provided.

The default value is false.