Who should use this guideThis guide is intended for merchants who:
- Use Payrails as a payment orchestrator
- Use Pine Labs (Plural) to accept payments in India
- Have an active Pine Labs merchant account with API access
Create a Pine Labs integration in Payrails
- Log in to the Payrails portal.
- Go to Settings → Integrations.
- Select Add instance to create a new integration configuration.
- Select the workspaces where this integration should be available.
About workspacesWorkspaces determine where this integration is available. They let you isolate provider setups by region or business line, or share the same configuration across multiple workspaces.
Step 1: Choose the integration type
- Select Payment.
- Continue to the next step.
Step 2: Choose the provider
- Select Pine Labs.
- Continue to the next step.

Step 3: Configure your Pine Labs integration
Integration instance name
An integration instance is a specific payment provider setup in Payrails. You can create multiple instances for different regions, currencies, or business needs. Choose a clear, consistent name, as it is used in routing.In Payrails
- Enter an Instance name for your integration, for example
merchant_pinelabs.

Account details
In Payrails
Credentials
In Payrails
Payrails sends requests to the Pine Labs UAT environment in test mode and to the live environment in live mode, so use the credentials for the matching environment.
Payment methods
In Payrails- Select the payment methods to enable for this integration: Card, UPI, NetBanking or CashFree Wallets.

Webhooks or notifications
Payrails uses provider webhooks or notifications to receive asynchronous
payment status updates.
- Copy the Notification URL shown under Account configuration at the top of the integration form.
- Send the Payrails notification URL to your Pine Labs account manager, and ask them to send your payment and refund notifications to it.
- Pine Labs signs each notification with your secret key, and Payrails verifies the signature.
Request fields for Pine Labs
Send these fields in the authorize request for card payments, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to Pine Labs when you include them. For more about meta fields, refer to Meta fields.
Pine Labs payments are captured straight away, so use instant capture in your workflow.
Enable the integration
In Payrails- Select Save account to enable the integration.
- Confirm the integration shows as Enabled.
Next steps
- Run a test payment in the Pine Labs UAT environment.
- Verify that:
- The payment appears in Pine Labs.
- The payment status updates correctly in Payrails.
- Once verified in test mode, repeat the setup in live mode.