Skip to content
Public bank pos

Halkbank EST Virtual POS Integration

Full Paraf card loyalty program and merchant virtual POS protocol support.

Better Payment
3D Secure 2.x authenticationParaf installment schedulesFull and partial refund support
Protocol

EST (Nestpay) XML

Auth

HASH ver3

3D Secure

Included

3d / 3d_pay / 3d_pay_hosting

Dependencies

0

Capabilities

Full Halkbank support

  • 3D Secure 2.x authentication
  • Paraf installment schedules
  • Full and partial refund support

How a request flows

  1. 1

    createPayment / initThreeDSPayment

    One typed request, translated into Halkbank's format.

  2. 2

    EST (Nestpay) XML · HASH ver3 · SHA-512

    Signatures and field mappings are generated for you.

  3. 3

    Callback verification

    The signature is compared in constant time and the order match is checked.

  4. 4

    Normalized result

    Success, error code and transaction id come back in one shape.

Connect in one config.

Hand over your credentials; Better Payment handles the rest.

payment-halkbank.tsTypeScript
import { createBetterPayment } from "better-payment";

const payment = createBetterPayment({
  defaultProvider: "halkbank",
  providers: {
    halkbank: {
      clientId: process.env.HALKBANK_CLIENT_ID!,
      username: process.env.HALKBANK_USERNAME!,
      password: process.env.HALKBANK_PASSWORD!,
      storeKey: process.env.HALKBANK_STORE_KEY!
    }
  }
});