Skip to main content
From Payments → Integrations, the Add gateway button opens the setup wizard. When creating a new gateway, steps are linear: you must complete each one before moving on. Once the gateway exists, you can move freely between steps to edit it.
Before filling the wizard, use the compatibility prompt with your LLM and your PSP’s documentation. You leave with the mapping ready for each step.

Setup wizard

1

General

Set the Name, Slug, Description (optional), Icon URL (optional), and Environment (Sandbox or Production).
  • Name and Slug are required.
General step of the custom gateway wizard, with the Name, Slug, Environment, and Description fields

Wizard step 1: the gateway's general information

Start in Sandbox. Environment can’t be changed later: for production you’ll create another gateway (or a separate setup) with real keys.
Slug and Environment can’t be edited after the gateway is created.
2

Credentials

Declare each secret or API key your PSP needs. For each row you define:
  • Key — internal placeholder name (for example apiKey)
  • Label — text shown in the UI
  • TypeText or Secret
You must declare at least one credential. Use Secret for API keys and tokens: the value stays masked.
Credentials step of the custom gateway wizard, with a Secret-type credential row

Wizard step 2: credentials your PSP needs

Here you only declare which keys exist (like the fields in a BYOK form). You paste the real values later, in Connect.
You can’t mark a credential as required from this screen. If you need that behavior, coordinate with your technical team.
3

Request (includes Return)

Here you define how Jelou calls the PSP to create a charge and, optionally, how to handle the customer’s return.Request
  • Method (GET, POST, PUT, or PATCH) and URL of the charge-creation endpoint
  • Headers — for example Authorization: Bearer {{myCredential}}
  • Body template — request JSON with {{...}} placeholders (see Variables and placeholders)
  • Payment link path and Transaction id path — path in the response JSON where the checkout URL and transaction id live (for example data.checkout_url)
Request step of the custom gateway wizard, with the endpoint, headers, and sample body template

Wizard step 3: endpoint, headers, and body template for the request

URL and Body template are required. Every {{...}} must match a declared credential or a recognized placeholder.Return (optional)
  • Transaction id parameter — query param the PSP adds when redirecting after checkout
  • Check status with the PSP on return — active status lookup (method, URL, headers, paths, and mapping to Success / Failed / None)
Return block of the wizard, with browser return and PSP status check toggles enabled

Return block: enable browser return and status check with the PSP

Status mapping table from PSP values to Success or Failed inside the return block

Mapping each PSP status value to Success, Failed, or None

Confirming this step creates or updates the gateway. Slug and Environment are locked in. If creation fails, the wizard blocks progress.
The selector may show DELETE, but only GET, POST, PUT, or PATCH are accepted. Choosing DELETE causes the save to fail.
4

Connect

Available after the previous step is saved. Enter the real values for each declared credential—your PSP’s secrets, not their names.
Connect step of the custom gateway wizard, with the Api key field and Update keys button

Wizard step 4: real values for the declared credentials

In Sandbox, paste the PSP’s test keys. In Production, the real keys. Without this step, the gateway can’t authenticate with the provider.
5

Webhook

Configure how to interpret inbound notifications from the PSP:
  • Enable or disable the webhook with Enabled. If you disable it, the wizard skips to Finish.
  • Signature header (optional) — header where the PSP sends its HMAC signature
  • Event name path and Transaction id path — paths inside the payload
  • Events table — map each PSP event to Success, Failed, or None
Webhook step of the custom gateway wizard, with the signature header, payload paths, and expected JSON format

Wizard step 5: confirmation webhook configuration

The Expected JSON format field is only a visual reference—it isn’t sent to the backend.
6

Webhook secret

Only appears if the webhook is enabled. Copy the Webhook URL the wizard generates, configure it in your PSP’s dashboard, and generate or rotate the HMAC secret.
  • Available algorithms: SHA256, SHA384, or SHA512
  • A custom secret must be at least 16 characters
Webhook secret step of the custom gateway wizard, with the webhook URL, active secret, and signature algorithm selector

Wizard step 6: webhook URL and signing secret

Finishing this step closes the wizard.
Before using the gateway in production, use Test from the Integrations list. See Test the gateway.

Next steps

Variables and placeholders

Placeholders available for the body, headers, and status check.

Test the gateway

Generate a test paylink before going to production.