Skip to main content

Paytently

Quick Start
  1. Sign up at paytently.com 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 Paytently →

Overview

Paytently payment integration

Provider IDpaytently
CategoryCard Processors
Websitepaytently.com

Authentication

HMAC-SHA256 signature with timestamp:

  1. Get current Unix timestamp: timestamp = System.system_time(:second)
  2. Form string for signing: "{merchant_id}:{timestamp}:{body_json}"
  3. Calculate signature: hex(HMAC-SHA256(sign_string, secret_key))
  4. Add headers:
    • X-Merchant-ID: {merchant_id}
    • X-Timestamp: {timestamp}
    • X-Signature: {signature}

Important: For GET-requests (status) body is empty — string signing: "{merchant_id}:{timestamp}:"


Status Mapping

Provider Status4pay StatusDescription
APPROVED, COMPLETED, SETTLED, CAPTUREDcharged
PENDING, INITIATED, PROCESSINGcharging
DECLINED, FAILED, CANCELLED, EXPIRED, VOIDEDrejected

Resources