Who should use this guideThis guide is intended for merchants who:
- Use Payrails as a payment orchestrator
- Use Redsys through a Spanish acquiring bank for cards, Apple Pay, Google Pay or Bizum
- Have the merchant code (FUC) and terminal number their bank issued for Redsys
Create a Redsys integration in Payrails
- Log in to the Payrails portal.
- Go to Settings → Integrations.
- Select New integration.
Step 1: Choose the provider
- Search for Redsys and select it.
- Select Next step.

Step 2: Enter basic information
In Payrails- Integration type: keep Payment selected.
- Integration name: enter a clear, consistent name, for example
merchant_redsys. Routing uses this name, so include the region or terminal when you run more than one Redsys integration. - Workspaces: select the workspaces where this integration should be available.
- Select Next step.

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 3: Enter account information
Redsys account details
In Payrails
Redsys activates features per terminal. If you use more than one terminal, create one integration for each terminal.

Webhook
Payrails uses provider webhooks or notifications to receive asynchronous
payment status updates.

- Ask your acquiring bank to turn on online HTTP notifications for the terminal.
- Select Next step.
Step 4: Select payment methods
In Payrails- Select Card, Apple Pay, Google Pay, Bizum, or any combination.
- Select Next step.

- Ask your acquiring bank to activate Bizum on the terminal before you select Bizum. Refer to Bizum via Redsys.
Step 5: Add additional data
In Payrails- Optional. Select Add field to add key-value pairs that Redsys returns in the authorization notification. Payrails doesn’t use them to process payments.

Request fields for Redsys
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 Redsys when you include them. For more about meta fields, refer to Meta fields.Enable the integration
In Payrails- Select Enable integration.
- Confirm the integration shows as Enabled under Current integrations.
Next steps
- Run a test card payment against your Redsys test terminal.
- Verify that:
- The payment appears in the Redsys administration portal.
- The payment status updates correctly in Payrails.
- Once verified in test mode, repeat the setup with your live terminal.