Make a restricted key
Wiredesk takes a restricted key (rk_live_… or rk_test_…), never your secret key. A secret key can do anything in your Stripe account; a restricted key can only do what you allow.
1
Create the key
In Stripe: Developers → API keys → Create restricted key. Name it Wiredesk.
2
Give it exactly these permissions
Leave everything else at None. If you won’t use cancelling or the card link, Subscriptions can be Read and Customer portal None.
3
Turn on the customer portal
For the card link: Settings → Billing → Customer portal, and allow customers to update payment methods.
4
Connect
In Wiredesk, Agents → your agent → Actions › Connections → Stripe → Connect, and paste the key.