# Set Up Payment Gateway Integrations How to access on Fynd Commerce Commerce Panel → Sales Channel (select application) → Configuration → Payments → Payment Configuration → Online Payments Choosing the right setup for your business Fynd Commerce supports two types of integrations when setting up a payment gateway: 1. **Assisted Merchant Account** This option allows you to connect your payment provider account directly using login credentials. The setup is seamless and managed through Fynd’s integration with the gateway. It requires no manual entry of API keys or webhooks. Assisted Merchant Account is currently supported in Razorpay only. 1. **Own Merchant Account Credentials** This option allows merchants to configure the payment gateway manually by entering their own API keys, webhook URL, and webhook secret. This method is ideal for merchants with advanced custom configurations or security policies. Not all payment gateways support both options. Some may offer only Assisted or only Own credential-based integration. ## Assisted merchant account setup 1. Click **Add Payment Gateway**. 2. Select a payment gateway (Available only on Razorpay currently). 3. Choose **Assisted Merchant Account**. 4. Click **Proceed** – you'll be redirected to the payment provider login screen. 5. Log in or create an account. 6. Click **Authorize** to connect your account. 7. Return to your payment configuration in Fynd Commerce . 8. Slide the **Active** toggle to enable the gateway. 9. Select the **Business Unit** (e.g. Storefront or POS) and **Device** (e.g. Website, iOS, Android). For each MOP (Mode of Payment): * Click the three-dot icon (⋮) * Click **Activate** Some MOPs, like Netbanking, may have multiple Sub-MOPs. You can expand them and activate individually. 1. Click **Save** and confirm to apply your configuration. ## Own merchant account setup 1. Collect your **API Key**, **API Secret**, and **Webhook Secret** from your provider dashboard 2. Set up a webhook URL: `https://api.fynd.com/service/webhooks/payment/v1.0/events/` Ensure the following events are selected in your provider's webhook panel: * payment.authorized * payment.failed * payment.captured * refund.processed * refund.failed * refund.created 1. Click **Add Payment Gateway**. 2. Select your payment gateway. 3. Choose **Own Merchant Account**. 4. Click **Save & Proceed**. 5. Enter paymemnt gateway credentials. 6. Click **Save & Proceed** and confirm the changes Return to the payment configuration page: * Select your **Business Unit** and **Device** * Slide the **Active** toggle to enable the gateway * For each MOP, click ⋮ and click **Activate** Ensure the payment methods you activate are enabled in your account with the gateway. ## Switching between account types Currently applicable only to the Razorpay payment gateway ### From Own Merchant to Assisted Account 1. Select the payment gateway. 2. Click **Manage Account**. 3. Click the ⋮ icon in the top-right. 4. Click **Switch Account**. 5. Select **Assisted Merchant Account** and click **Proceed**. 6. Login to your payment provider account. 7. Authorize the connection. 8. Return to Fynd Commerce and click **Save**. ### From Assisted Merchant to Own Credentials 1. Obtain the API Key, Secret, and Webhook Secret from your provider. 2. Select the payment gateway. 3. Click Manage Account. 4. Click the ⋮ icon in the top-right. 5. Click **Switch Account**. 6. Select **Own Merchant Account**, click **Proceed**. 7. Enter the credentials. 8. Click **Save** to apply the changes. Ensure all MOPs and configurations match your merchant dashboard permissions.