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

# Set the active gateway

> Choose which connected reader payment account charges new payments.

Switch the active gateway. Both Stripe and Paystack must already be connected. You need the payments tool.

**projectId** `string` *required*

The newsroom id.

**provider** `string` *required*

stripe or paystack.

**connection** `object`

provider, status, isActive, secretLast4, webhookToken, and webhookAcknowledged. The secret key itself is never returned.

**message** `string`

Which gateway is now active.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.