1. 7. Payment Providers (PSPs)
Mozarto - The Payments Orchestration Platform
  • 1. Introduction
  • 2. Quick Start
  • 3. Authentication
  • 4. Webhook Setup
  • 5. Errors
  • 6. Redirect flow
    • Pay-In Flow
    • Pay-Out Flow
  • 7. Payment Providers (PSPs)
    • Overview
    • Brite
    • CashLib
    • Cleo
    • Contiant
    • emerchantpay
    • Flexepin
    • ForumPay
    • Gigadat
    • Neosurf
    • OFApay
    • PayModum
    • PayOne
    • PawaPay
    • Trust Payments
    • Worldpay
  • 8. Redirect Flow APIs
    • Redirect Flow APIs - overview
    • Pay-In
      • Brite
      • CashLib
      • Cleo
      • Contiant
      • emerchantpay
      • Flexepin
      • Forumpay
      • Gigadat
      • Neosurf
      • OFApay
      • PayOne
      • PawaPay
      • Trust Payments
      • WorldPay
    • Pay-Out
      • Cleo
      • Forumpay
      • Gigadat withdraw ACH
      • Gigadat withdraw ETO
      • PawaPay
      • PayOne
      • Trust Payments
  • Webhook
    • ForumPay status webhook
    • PayOne status webhook
  • Schemas
    • TransactionData
  1. 7. Payment Providers (PSPs)

Contiant

Open banking payment provider using instant bank transfers. The payer authenticates directly with their bank on a Contiant-hosted page, so no card, IBAN, or account data passes through the Mozarto API.
Operations: Pay-In ✓ | Pay-Out - | Webhook ✓
Processing: Asynchronous - redirect the payer to a hosted page, then receive settlement by webhook
Payment type: Open banking / instant bank transfer
Fields marked with * are required.

Configuration (Mozarto back office)#

Merchant credentials, the beneficiary account, and the payer return URL all live on the PSP configuration, not on the per-transaction request.
FieldDescription
clientId *Contiant OAuth client ID
clientSecret *Contiant OAuth client secret
siteUrl *URL the payer returns to after completing or cancelling payment on the Contiant hosted page
merchantName *Beneficiary merchant name shown to the payer
countryBeneficiary account country (the merchant's own settlement account country)
postcodeBeneficiary postal code. Required for all countries except Direct Flow (NZ/AU)
iban / bicBeneficiary IBAN and BIC. Required for every country except Direct Flow (NZ/AU, which need no beneficiary)
webhookUrlEndpoint Mozarto calls with the settlement notification once the payment completes
notificationSecretSignature secret for Contiant's inbound notifications. Mozarto validates the X-Contiant-Signature header (HMAC-SHA256) on every notification Contiant sends and ignores any that fail. Take it from your Contiant subscription. Stored per brand, encrypted at rest, and masked in the back office. If left blank, Mozarto processes notifications without signature validation (legacy fallback)

Payment flow and beneficiary requirements#

Mozarto uses Contiant's General Flow for open-banking payments (the payer selects their bank on Contiant's hosted page — Mozarto does not send a bankId), and Contiant's Direct Flow only for the two regional methods that require it: POLi (NZ) and PayID (AU).
The iban/bic is the merchant's own, fixed settlement account — where Contiant deposits the funds. It does not depend on the payer's country, so Mozarto sends the configured beneficiary on every General Flow payment (whichever supported country the payer is in), as long as the beneficiary IBAN + BIC are configured.
FlowPayer countryBeneficiary configuration Mozarto sends
General FlowAT, BE, CY, EE, FI, FR, DE, GR, IE, IT, LV, LT, LU, MT, NL, PT, SK, SI, ES, SE, DK, NO, PLiban + bic + postcode
Direct FlowNew Zealand (NZ) → bankId: "poli", Australia (AU) → bankId: "payid"None. No beneficiary IBAN required; accountIdentifications is sent empty
Supported countries. Mozarto accepts Contiant pay-ins only for the countries listed above. A pay-in for any other country is rejected with a 400 Country not supported error before any Contiant call.
If the required beneficiary configuration is missing (for any non–Direct-Flow country), the Pay-In call returns a 400 configuration error.

Pay-In#

POST /v1/api/mozarto/cashier
The cashier call does not move funds directly. It creates a transaction and returns a paymentUrl. Redirect the payer to that URL to authenticate with their bank on the Contiant hosted page.

Request body#

FieldTypeDescription
pspType *stringAlways "CONTIANT"
type *stringAlways "PAYIN"
baseamount *numberAmount in the currency's main unit, up to 2 decimals (e.g. 100 = 100 EUR, 100.50 = 100.50 EUR)
currency *stringCurrency code (e.g. "EUR")
country *stringISO 3166-1 alpha-2 payer country code. Selects the flow — Direct Flow for NZ/AU, General Flow otherwise (see table above)
email *stringPayer email, forwarded to Contiant
merchantReferencestringYour reference for the order, echoed back in the response
webhookUrlstringHTTPS endpoint for the status webhook. Overrides the configured webhookUrl for this transaction; falls back to the configured value when omitted
hppSuccessUrlstringURL the payer is redirected to after a successful payment. Falls back to the configured Site URL when omitted
hppFailureUrlstringURL the payer is redirected to after a failed payment. Falls back to the configured Site URL when omitted
The payer identity (consumerId, first name, and last name at Contiant) is resolved from the X-User-token, so userId, firstName, and lastName are not required in the request body.

Example request#

{
  "pspType": "CONTIANT",
  "type": "PAYIN",
  "baseamount": 100,
  "currency": "EUR",
  "country": "DE",
  "email": "payer@example.com",
  "merchantReference": "Test-001",
  "webhookUrl": "https://example.com/f2e721ba-0ceb-40ea-a388-56e2f584bb7a",
  "hppSuccessUrl": "https://example.com/payment/success",
  "hppFailureUrl": "https://example.com/payment/failed"
}

Response#

{
  "status": "success",
  "message": "Successfully",
  "isSuccess": true,
  "data": {
    "paymentUrl": "https://pay.contiant.com/checkout/64a1fa8b9c0d1",
    "transactionId": "64a1f2b3c4d5e6f7a8b9c0d1",
    "merchantReference": "Test-001",
    "amount": 100,
    "transaction_status": "Pending"
  }
}
FieldTypeDescription
paymentUrlstringContiant hosted page URL to redirect the payer to
transactionIdstringMozarto transaction identifier. Use it to match the settlement webhook
merchantReferencestringYour reference from the request, or an empty string if none was sent
amountnumberThe transaction baseamount
transaction_statusstringAlways "Pending" at this point. The final outcome arrives by webhook
Redirect the payer to paymentUrl. They authenticate with their bank on the Contiant hosted page and return to the configured siteUrl.

Settlement webhook#

Once Contiant reports the payment result, Mozarto sends a POST to your configured webhookUrl. The payload is the same shape for approvals and declines; read transaction_status for the outcome.
{
  "transaction_id": "64a1f2b3c4d5e6f7a8b9c0d1",
  "user_id": "test-003",
  "status": "success",
  "transaction_status": "Approved",
  "amount": 100,
  "currency": "EUR"
}
FieldDescription
transaction_idMozarto transaction identifier returned by the Pay-In call
user_idThe payer identifier resolved from the Pay-In request
statusRaw settlement result - success, failed, or pending
transaction_statusNormalized outcome - Approved, Failed, or Pending. Use this for business logic
amountSettled amount in the transaction currency's major unit
currencyTransaction currency
Contiant reports COMPLETED and SETTLED as successful; FAILED, CANCELLED, REJECTED, and ABANDONED as failed. Any other status keeps the transaction pending.
The request carries an Authorization header with a Mozarto-generated signature token. Verify it before applying any balance or state change. See Webhook setup.

Inbound notification signature (Contiant → Mozarto)#

Before Mozarto raises the settlement above, it receives the raw notification from Contiant and validates its authenticity. Contiant signs each notification with an X-Contiant-Signature header:
X-Contiant-Signature: t=1699858882,v1=1191d9f6939a71b4b55fe3a416ae3871dda90c9f9299878e7d078c4a5f0b8e94
t — UNIX timestamp
v1 — HMAC-SHA256("<t>|<raw request body>", notificationSecret) in hex
Mozarto recomputes the HMAC using the brand's configured notificationSecret and compares it to v1. Notifications that fail validation are rejected with 401 and left unprocessed — no transaction update, no merchant forward. If no notificationSecret is configured for the brand, validation is skipped and the notification is processed (legacy fallback).

Error codes#

The Pay-In call returns an error when the request cannot be set up. Payment declines are reported later through the settlement webhook with transaction_status: "Failed", not on this call.
HTTP statusResponseWhen
400message: "Country not supported"The request country is not in Contiant's supported-country list (see above). Rejected before any Contiant call
400message: "PSP Configuration not found. Please check you psp Configuration"Contiant credentials, siteUrl, merchantName, or the beneficiary account for the payer's country are missing from the back office configuration
500message: "Internal server error" with the raw failure in dataContiant authentication or payment creation failed
For the full list of errorCode values and retryability guidance, see Errors.
Modified at 2026-08-24 12:03:47
Previous
Cleo
Next
emerchantpay
Built with