Skip to main content

Datatrans

Quick Start
  1. Sign up at datatrans.ch and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Datatrans →

Overview

Datatrans — Payments (Swiss payment gateway)

Provider IDdatatrans
CategoryCard Processors
Websitedatatrans.ch

Supported operations: Authorize Status Refund (Credit)


Authentication

Method: Basic Authentication

Authorization: Basic {base64(merchant_id:passcode)}

Idempotency-Key: {transaction ID} for authorize, refund-{transaction ID}-{amount} for refund


Configuration

Required Parameters

ParameterDescription
base_urlBase API URL
merchant_idMerchant ID
passcodePasscode for authentication

Status Mapping

Provider Status4pay StatusDescription
SETTLEDcharged
AUTHORIZEDcharging
FAILEDfailed
CANCELEDfailed
TRANSMITTEDcharging
AUTHENTICATEDcharging
CHALLENGE_REQUIREDaction_required
CHALLENGE_ONGOINGcharging
INITIALIZEDcharging

Resources