> ## 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.

# Connect reader payments

> POST /v1/projects/{projectId}/payments saves a Stripe or Paystack live secret. The response keeps the last four characters.

Connect Stripe or Paystack for reader payments. Send the live secret. The response never includes the secret, only the last four characters.

**projectId** `string` *required*

The newsroom id.

**provider** `string` *required*

stripe or paystack.

**secretKey** `string` *required*

The live secret key. It must start with sk\_live\_.

**connection.secretLast4** `string`

The last four characters of the saved key.


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