मुख्य सामग्री पर जाएं
This guide applies when you connect Stripe as your own processor through Bring Your Own Processor (BYOP). Talk to us if you need help.

Enable raw card data access

To route payments through your Stripe account while Dodo Payments powers billing on top, Dodo needs to pass card details to Stripe on your behalf using Stripe’s raw card data APIs. By default, Stripe accounts can’t send raw card numbers (PANs) directly to its APIs. Stripe gates this behind an approval that confirms the systems handling raw card data are PCI DSS compliant. With BYOP, the system that handles card data is Dodo Payments, which is PCI DSS Level 1 compliant — so you prove compliance using Dodo Payments’ certification rather than your own. You request this access once, per account. When you request access, Stripe asks for a short description of how card data is handled — state that Dodo Payments, your PCI DSS Level 1-compliant payment provider, processes the raw card data and that your own systems never store or touch raw card numbers (PANs). Because Dodo Payments handles the data, you don’t need your own SAQ D; submit Dodo Payments’ Attestation of Compliance (AOC) as your proof:

Dodo Payments PCI DSS Attestation of Compliance (AOC)

Download Dodo Payments’ current AOC and submit it to Stripe when you request raw card data access.
Test mode requires no documentation. You can ask Stripe to enable raw card data APIs for test mode right away so you can build and verify your BYOP setup. Live mode still requires the Dodo Payments AOC above.
Request access directly through Stripe’s official guide, and submit the Dodo Payments AOC when Stripe asks for PCI documentation:

Enabling access to raw card data APIs

Stripe’s guide to requesting raw card data API access on your account.

What you’ll need

Once Stripe confirms raw card data access, connect Stripe in Settings → BYOP. Gather two values from your Stripe Dashboard:
ValueWhere it comes from
Secret keyDevelopers → API keys
Webhook signing secretGenerated when you add the webhook
Stripe keeps test and live credentials separate — switch with the Test mode / Live mode toggle in the Dashboard. Generate credentials in the environment that matches the mode you’re configuring in Dodo.

Step 1: Get your secret key

1

Open API keys

In the Stripe Dashboard, go to Developers → API keys. Use the Test mode / Live mode toggle to match the environment you’re configuring.
2

Copy your secret key

Copy the Secret key — it starts with sk_test_ in test mode or sk_live_ in live mode (a restricted key, rk_..., also works if you prefer to scope permissions). You’ll paste this into the Secret Key field in Dodo.

Step 2: Set up the webhook and signing secret

Dodo generates a Webhook Endpoint URL when you save the Stripe connection. Add it as a webhook in Stripe, then copy the signing secret.
1

Add an endpoint

In the Stripe Dashboard, go to Developers → Webhooks and select Add endpoint. Paste the Webhook Endpoint URL that Dodo generated (it must be HTTPS and publicly accessible) and select the events to listen for.
2

Reveal the signing secret

Open the endpoint’s detail page and select Reveal secret to view the Signing secret — it starts with whsec_. The secret is unique to each endpoint, and test and live endpoints have different secrets.
3

Paste the signing secret into Dodo

Back in Settings → BYOP, paste the signing secret into the Webhook Signing Secret field to finish the connection.

Set up BYOP

Follow the full Bring Your Own Processor setup flow.
After saving, use Verify connection in Dodo to run a test call against Stripe and confirm your secret key and webhook signing secret are valid before you go live.

Frequently asked questions

No. Because Dodo Payments handles the raw card data on your behalf and is PCI DSS Level 1 compliant, you submit Dodo Payments’ Attestation of Compliance (AOC) to Stripe instead of completing your own SAQ D or undergoing a separate audit.
Sending raw card numbers to an API brings the sending system into PCI DSS scope. Stripe requires proof of PCI compliance before enabling raw card data APIs so that cardholder data stays protected. Dodo Payments is PCI DSS Level 1 compliant, so you provide Dodo Payments’ AOC as that proof.
Yes. Ask Stripe to enable raw card data APIs in test mode, which needs no PCI documentation, and connect Stripe in test mode in Dodo. You’ll need the live-mode approval before processing real payments.
Generate a new key under Developers → API keys, or open the webhook endpoint and select Reveal secret to view the signing secret again, then update the value in Settings → BYOP.

References

अंतिम संशोधन 18 जून 2026