Paycrypt

Stripe Integration

Connect Stripe with PayCrypt to enable card payments alongside cryptocurrency payments.

Stripe Integration

With PayCrypt, you can easily connect your Stripe account to accept card payments in addition to cryptocurrency payments. This guide walks you through the steps to integrate Stripe and configure your checkout sessions for fiat transactions.


📝 1️⃣ Create a PayCrypt Account

If you haven’t already, sign up for a PayCrypt account and complete your business registration and onboarding process.


⚙️ 2️⃣ Navigate to Payment Settings

  • Log into your PayCrypt Dashboard.
  • Go to Settings > Payment Methods.
  • Click on "Add Payment Method" and select Stripe - Card Payments.

🔑 3️⃣ Obtain Stripe API Keys

To connect Stripe, you'll need your Publishable Key and Secret Key from your Stripe account:


🔗 4️⃣ Connect Stripe to PayCrypt

  • In the PayCrypt payment settings, paste your Publishable and Secret keys into the corresponding fields.
  • Click Save or Add to confirm the connection.

Once completed, your Stripe account will be connected to PayCrypt and available as a payment option.


🛒 5️⃣ Enable Stripe Payments for Checkout Session API

When using the Checkout Session API, Stripe (fiat) payments are disabled by default. To enable card payments through Stripe for your checkout session, you must explicitly set the field paymentSetting.allowFiatPayment to true in your API request payload.

Example API Request:

curl --request POST \
  --url https://api.paycrypt.io/api/v1/checkout/sessions \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --data '{
    "submitType": "pay",
    "lineItems": {
      // your line items here
    },
    "paymentSetting": {
      "allowFiatPayment": true  // Enable Stripe card payments
    }
  }'

On this page