DTC Docs
Guides

Connect a payment provider

Let resellers pay you for credits through your own BTCPay store, your own Stripe account, or both. Tier 3. Only the owner or an administrator can enter payment credentials.

Resellers pay you directly. The money goes to your BTCPay store or Stripe account; DTC takes no part of it. You need at least one verified provider before you can create credit offers and product offers.

All of this happens in Product Offers → Payment Configuration.

Set up your BTCPay store

  1. Note your Store ID (Settings → General).
  2. Create an API key (Account → Manage → API Keys).
  3. Add a webhook (Settings → Webhooks) with the payload URL https://api.dtc.zone/, set to send all events. Note its secret.
  4. Make sure the coins you want to accept are connected to the store.

Connect BTCPay in the dashboard

  1. Open Product Offers and the BTCPay tab under Payment Configuration.
  2. Fill in BTCPay Store URL (the root address, for example https://btcpay.example.com), Store ID, API Key and Webhook Secret.
  3. Choose your Currency.
  4. Under Accepted coins, tick the coins to offer: Bitcoin, Bitcoin Lightning, Litecoin and Litecoin Lightning. The first one you tick is the default at checkout.
  5. Click Verify BTCPay. The dashboard creates a test invoice and shows Invoice created, Invoice received and Payment active. This can take up to a minute.

Don't pay the test invoice. Cancel it in BTCPay after the check succeeds.

Turn providers on and off

Under Payment providers, each verified provider has its own switch. Resellers can pay with any provider that is Active. If you turn all of them off, credit sales pause until you turn one on again.

On this page