OleqPay Docs
Oleq Payment Gateway API

Authentication

Sign every request with the AUTH-SQROOL header.

Every API request must include the AUTH-SQROOL header. The value is a SHA-256 signature constructed from your credentials and request metadata. Concatenate the values as plain strings before hashing — the result is a lowercase hex-encoded SHA-256 digest.

AUTH-SQROOL = sha256(AuthKey + Timestamp + ShortCode + IP)
ComponentDescription
AuthKeyYour secret authentication key provided during onboarding
TimestampRequest timestamp in yyyyMMddHHmmss format — must match the body Timestamp
ShortCodeYour registered merchant short code — must match the body ShortCode
IPThe public IP address of your server making the request

The Timestamp and ShortCode values used in the signature must exactly match those in the request body. Mismatches will result in an authentication failure.