Skip to main content
Who should use this guideThis guide is intended for merchants who:
  • Use Payrails as a payment orchestrator
  • Use Payzone to accept cards or Payzone Cash in Morocco
  • Have an active Payzone account for cards, Payzone Cash or both

Create a Payzone 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 Payzone.
  • Continue to the next step.
A screenshot showing Payzone selected as the provider.

Step 3: Configure your Payzone integration

What you’ll need from PayzonePayzone cards and Payzone Cash use different credentials. Fill in the fields for the payment methods you enable:
  • Cards: your API caller, merchant name and notification secret key from the Payzone dashboard.
  • Payzone Cash: your merchant ID, point of service ID, provider ID and the four MAC keys Payzone gives you.

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

Payment methods

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

Credentials and account details for cards

The form labels each field with the payment method that needs it, for example [Required for Payzone Cards] Caller Name. In Payzone
  1. In the Payzone dashboard, go to Organization → Merchant.
  2. Under Api Caller, copy the Caller Name and Password.
  3. Copy the Merchant Name.
  4. Under Payment Credentials, copy the Notification Secret Key.
In Payrails Payrails sends card payments to the Payzone sandbox in test mode and to Payzone’s live environment in live mode. A screenshot showing the Payzone card credential fields.

Credentials and account details for Payzone Cash

In Payzone
  • Get your merchant ID (acquirer ID), point of service ID, provider ID and the four MAC keys from Payzone.
In Payrails A screenshot showing the Payzone Payzone Cash MAC key fields. A screenshot showing the Payzone account details fields for cards and Payzone Cash.

Webhooks or notifications

Payrails sends its notification URL to Payzone with every card and Payzone Cash payment, so you don’t need to set one up in the Payzone dashboard. Payrails verifies card notifications with your notification secret key and Payzone Cash notifications with your MAC send keys.

Request fields for Payzone

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

Enable the integration

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

Next steps

  1. Run a test card payment in the Payzone sandbox.
  2. Verify that:
    • The payment appears in Payzone.
    • 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