Deutsche Bank
Quick Start
- Sign up at developer.db.com 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
Deutsche Bank — Payments (payment processor)
| Provider ID | deutschebank |
| Category | Bank Transfers |
| Website | developer.db.com |
Supported operations: Authorize (payments_authorize) Capture (payments_capture) Refund (refund) Void (payments_void)
Authentication
Method: Custom HMAC-based OAuth
Process:
- Generation OAuth Signature:
oauth_signature = base64(HMAC-SHA1(base_string, signing_key))
base_string = HTTP_METHOD + "&" +
url_encode(base_url) + "&" +
url_encode(sorted_params)
signing_key = url_encode(api_secret) + "&"
- OAuth parameters in header Authorization:
OAuth oauth_consumer_key="{api_key}",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="{unix_timestamp}",
oauth_nonce="{random_string}",
oauth_version="1.0",
oauth_signature="{oauth_signature}"
Example OAuth header:
Authorization: OAuth oauth_consumer_key="api_key_abc123",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1640000000",
oauth_nonce="xyz123abc",
oauth_version="1.0",
oauth_signature="xB2vZ3..."
Configuration
Required Parameters
| Parameter | Description |
|---|---|
merchant_id | Merchant ID |
api_key | API Key |
api_secret | API Secret for HMAC |
acquirer_id | Acquirer ID |
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
AUTHORIZED | Authorized | Payment authorized |
CAPTURED | Charged | Payment captured |
DECLINED | Failure | Payment declined |
PENDING_AUTHENTICATION | AuthenticationPending | Expected 3DS authentication |
AUTHENTICATION_FAILED | AuthenticationFailed | 3DS authentication not passed |
VOIDED | Voided | Payment cancelled |
REFUNDED | Success | |
PENDING | Pending | |
FAILED | Failure |