Sunlight provides a powerful and flexible solution for performing card switches on behalf of your users. By integrating the Sunlight SDK into your application, you can offer your users the convenience of setting a new card as the primary card-on-file across various apps and services they use. To achieve this, Sunlight allows you to choose from several methods for gaining access to your users' card details, each designed to suit different use cases and integration scenarios.

In this guide, we'll explore the different card payload methods available for card switching, explain how each method works, and provide insights into when and how to use each method effectively.