> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HiPay

> Process Card and Apple Pay through HiPay Enterprise with strong PSD2/SCA support.

HiPay is a French payment gateway. Connect HiPay Enterprise to Primer to process card payments — Visa, Mastercard, American Express, Maestro, and Carte Bancaire — and Apple Pay, and route them using Workflows.

## At a glance

### Supported payment methods

| Payment method | Payment method type | Integration guide |
| - | - | - |
| Card | `PAYMENT_CARD` | [Card](https://primer.io/docs/connections/payment-methods/card/overview.md) |
| Apple Pay | `APPLE_PAY` | [Apple Pay](https://primer.io/docs/connections/payment-methods/apple-pay/overview.md) |

HiPay uses Primer's standard card form and Primer's native Apple Pay integration, so no HiPay-specific SDK code is required.

### Supported capabilities

| Capability | Card | Apple Pay |
| - | - | - |
| Authorization | Yes | Yes |
| Refund | Yes | Yes |
| Partial refund | Yes | No |
| Recurring and merchant-initiated payments | No | Yes |
| Cancel / Void | Yes | Yes |
| Pre-authorization and manual capture | Yes | No |
| Partial capture | Yes | No |
| Network tokens | No | No |

### 3D Secure

HiPay handles 3D Secure authentication directly for all card payments processed through Primer. Do not add the **Perform 3DS** action to your Workflow — HiPay manages the full authentication flow.

Because HiPay manages 3DS, SCA exemptions are not available. All transactions that require authentication go through the full challenge flow.

## Get started with HiPay

### Before you begin

If this is your first connection, make sure to follow the [Get started guide](https://primer.io/docs/get-started/overview.md) to begin processing payments with Primer.

You need an active HiPay Enterprise merchant account. Contact HiPay to provision a test account and a production account.

> [!NOTE]
>
> **IP allowlisting is required.** Register your server IP address in the HiPay back office (Integration > Security Settings) before making any API calls. Requests from unregistered IPs are rejected.
>
> Features including capture, refund, and re-authorization must be explicitly enabled on your HiPay account by your HiPay account manager.

### Credentials

You can find your credentials in the HiPay Enterprise back office.

| Field | Where to find it |
| - | - |
| **API username** | HiPay Enterprise back office |
| **API password** | HiPay Enterprise back office |
| **Secret passphrase** | HiPay Enterprise back office, Integration > Security Settings. Used to verify notification signatures (SHA-256 by default). |
| **Merchant Account Number (MID)** | Assigned by HiPay during account setup |

### Configure in the Dashboard

**1. Configure the HiPay webhook**

In the HiPay Enterprise back office, configure the payment notification URL provided by Primer. See [HiPay's notification documentation](https://developer.hipay.com/payment-fundamentals/requirements/notifications/notifications) for setup instructions.

**2. Add HiPay to your Dashboard**

Go to [Integrations](https://dashboard.primer.io/integrations), select **New integration**, search for HiPay, and enter your credentials.

**3. Activate the payment methods on the Checkout**

Go to [Checkout](https://dashboard.primer.io/checkout) and activate the payment methods you want to offer.

**4. Route payments with Workflows**

In [Workflows](https://primer.io/docs/workflows/overview.md), select HiPay in the **Authorize payment** action for the payment methods you want to route to it. Do not add the **Perform 3DS** action — HiPay handles 3DS directly.

### Prepare the client session

Most parameters are shared across all payment methods. HiPay requires one additional field:

| Parameter | Required | Description |
| - | - | - |
| `metadata.description` | Yes | A short description of the order, displayed in the HiPay transaction record. |

## Considerations

* **3D Secure is processor-managed.** HiPay performs 3DS authentication. Do not add the Perform 3DS action to your Workflow. SCA exemptions are not available.
* **Pre-authorization and partial capture.** Supported for card payments only. Not available for Apple Pay.
* **IP allowlisting.** Register all server IPs that will make API calls in the HiPay back office before going live.
* **Recurring payments.** HiPay does not support recurring or merchant-initiated transactions for any payment method processed through Primer.

## Go live

Before switching to production, confirm that:

1. Your production HiPay credentials are active and you have added HiPay in your Primer **production** environment.
2. All server IP addresses making API calls are registered in the HiPay back office (Integration > Security Settings).
3. Features required for your use case — capture, refund, re-authorization — are enabled on your HiPay account by your HiPay account manager.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.