I want to set the payment method as primary at the customer level in Chargebee UI.
As a merchant, you can go to the customer’s page and mark the payment method as primary or backup.
You can also use API to automate this process. You can use the assign payment role API endpoint and pass the payment source ID and the role (primary or backup) in the corresponding parameters.
Related Articles and Documentation