Who should use this guideThis guide is intended for merchants who:
- Use Payrails as a payment orchestrator
- Use Transbank (WebPay Plus) to accept payments in Chile
- Accept card payments through WebPay’s hosted payment page
Create and configure a Transbank integration in Payrails
Follow these steps to set up Transbank:- Log in to the Payrails portal.
- Go to Settings → Integrations → Payments.
- Select Add instance to create a new Transbank 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 2: Choose the provider
Select Transbank and continue to the next step.
Step 3: Configure your Transbank integration
Integration instance name
An integration instance is a specific payment provider setup in Payrails. You can create multiple instances for each provider based on region, currency, or business needs. Choose a clear, consistent name, since it’s used in routing.In Payrails
- Enter an Instance name for your integration.

Commerce Code & Secret Key
From your Transbank account manager- Obtain your Commerce Code & Secret Key.
- Paste the values into the Commerce Code and Secret Key fields.

Payment methods
In Payrails- Under Payment methods, enable WebPay.

Enable the integration
In Payrails- Select Save account to save the configuration and enable the integration.
- The Enabled status confirms that the Transbank integration is active.
Next steps
- Run a test payment in test mode using a Transbank test card. Use a supported currency such as CLP.
- Verify that:
- The payment appears in your Transbank account.
- The payment status updates correctly in Payrails.
- Once verified in test mode, repeat the setup in live mode.