Skip to main content
Who should use this guideThis guide is intended for merchants who:
  • Use Payrails as a payment orchestrator
  • Use Fawry for cards or FawryPay in Egypt
  • Have an active Fawry merchant account

Create a Fawry integration in Payrails

  1. Log in to the Payrails portal.
  2. Go to Settings → Integrations.
  3. Select Add instance to create a new integration configuration.
  4. 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 Fawry.
  • Continue to the next step.
A screenshot showing Fawry selected as the provider.

Step 3: Configure your Fawry integration

What you’ll need from FawryBefore you begin, make sure you have your Fawry merchant code and API key. Fawry provides them when it sets up your account.

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_fawry.
A screenshot showing the integration instance name field.

Account details

In Payrails A screenshot showing the Fawry account details fields.

Credentials

In Payrails Payrails sends requests to the Fawry staging environment in test mode and to the live environment in live mode, so use the credentials for the matching environment. A screenshot showing the Fawry credential fields.

Payment methods

In Payrails
  • Select Card, Fawry Pay or both.
A screenshot showing the Fawry payment method selection.

Webhooks or notifications

  • If you turn on If true, send notification URL to Fawry in payment request, Payrails sends its notification URL to Fawry with every payment, so there’s nothing to set up in Fawry.
  • Otherwise, copy the Notification URL shown under Account configuration at the top of the integration form, and ask Fawry to set it as the notification URL for your merchant code.
Payrails verifies each notification with your API key.

Request fields for Fawry

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 Fawry when you include them. For more about meta fields, refer to Meta fields.

Configure Fawry settings

Some Fawry integration settings change how Payrails processes your payments. The portal shows the same description when you hover over each setting.

Enable the integration

In Payrails
  • Select Save account to enable the integration.
  • Confirm the integration shows as Enabled.
Your Fawry integration is now ready to process payments.

Next steps

  1. Run a test card payment in EGP in the Fawry staging environment.
  2. Verify that:
    • The payment appears in Fawry.
    • The payment status updates correctly in Payrails.
  3. Once verified in test mode, repeat the setup in live mode.
→ Continue to: Test a payment
Last modified on October 6, 2026