Datatrans
Quick Start
- Sign up at datatrans.ch and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
Datatrans — Payments (Swiss payment gateway)
| Provider ID | datatrans |
| Category | Card Processors |
| Website | datatrans.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
| Parameter | Description |
|---|---|
base_url | Base API URL |
merchant_id | Merchant ID |
passcode | Passcode for authentication |
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
SETTLED | charged | |
AUTHORIZED | charging | |
FAILED | failed | |
CANCELED | failed | |
TRANSMITTED | charging | |
AUTHENTICATED | charging | |
CHALLENGE_REQUIRED | action_required | |
CHALLENGE_ONGOING | charging | |
INITIALIZED | charging |