Deweloper

Klucze płatności i klucze kasjerskie

Cardflo wykorzystuje klucze płatności i klucze kasjerskie, aby zapewnić bezpieczne i elastyczne opcje integracji dla sprzedawców. Klucze płatności zarządzają inicjowaniem sesji płatniczych i zbieraniem danych klienta, podczas gdy klucze kasjerskie ułatwiają przetwarzanie transakcji po stronie serwera.

To rozdzielenie zapewnia zgodność z PCI i solidne bezpieczeństwo dla wszystkich przepływów płatności.

Kategoria
Deweloper
Możliwości
10
Dostępne na
Wszystkie plany
Zastosuj teraz

Przegląd

The separation of credentials into checkout keys and cashier keys represents a foundational security architecture in modern payment orchestration. Checkout keys are public-facing identifiers used within client-side environments, such as web browsers or mobile applications, to initialise payment components and collect sensitive cardholder data.

These keys allow a merchant to render a checkout interface without exposing sensitive backend permissions. Conversely, cashier keys are restricted, server-side credentials designed for authenticated communication between a merchant server and the payment gateway.

By bifurcating these roles, the system ensures that a compromise of the client-side code does not grant an attacker the ability to perform administrative actions, such as initiating refunds or capturing authorised payments.

This architectural approach assists in maintaining PCI DSS compliance by minimising the scope of systems that interact directly with raw payment credentials while allowing for a programmable, granular control over transaction lifecycles.

Jak to działa

  1. Client-side session initiation

    The integration begins with the checkout key being utilised within the frontend application to request a secure session.

    This key identifies the merchant identity (MID) and authorises the rendering of secure payment elements, ensuring that customer card details are tokenised before they ever reach the merchant infrastructure.

  2. Secure data tokenisation

    As the customer enters their payment details, the checkout key facilitates a direct connection to the vault. Sensitve fields like the PAN and CVV are converted into temporary tokens.

    This process ensures that the merchant environment remains outside the primary scope of PCI DSS requirements.

  3. Server-to-server authorisation

    Once a token is generated, the merchant server uses its cashier key to request a formal authorisation from the acquirer. This private key confirms the request is legitimate and allows the gateway to map the temporary token back to the stored payment data for processing.

  4. Transaction lifecycle management

    Post-authorisation actions, including capture, settlement, and refunds, are exclusively handled via the cashier key. Because these actions involve the movement of funds, they require the higher level of authentication and restricted access that the server-side cashier key provides to the merchant administrator.

Dlaczego to ważne

Risk and liability mitigation

Dividing credentials reduces the blast radius of a potential security breach. If a checkout key is intercepted from a website source code, the attacker cannot use it to withdraw funds or access historical transaction records.

The cashier key remains protected on a secure backend, ensuring that only authorised server environments can execute financial movements, which is a critical defence against common injection attacks.

Simplified PCI DSS compliance

By utilising checkout keys to handle cardholder data via hosted fields or components, merchants typically qualify for a reduced compliance burden, such as SAQ A or SAQ A-EP.

The cashier key ensures that sensitive data is handled in a tokenised format on the backend, removing the need for the merchant to store, process, or transmit raw credit card information on their own servers.

Zastosowania

E-commerce web applications

Merchants use checkout keys to embed secure payment forms directly into their websites, while the cashier key is stored in their backend environment to finalise the capture of funds once the order is confirmed.

Native mobile apps

Mobile developers use checkout keys within iOS or Android apps to securely gather payment signatures, relying on server-side cashier keys to manage the complex logic of multi-currency settlement and recurring billing.

Subscription and recurring billing

After the initial checkout key collects the card details, the cashier key is used to establish a merchant-initiated transaction (MIT) framework, allowing for automated renewals without further customer intervention.

W liczbach

90%
PCI Scope Reduction

Industry standards suggest that offloading data capture to hosted components via client-side keys can reduce the number of applicable PCI requirements by over 90 percent.

<2 days
Integration Time

Standardised key-based architectures typically allow developers to implement a basic secure checkout flow within approximately two working days of development time.

100%
Secured Transactions

Professional payment gateways require 100 percent of server-side requests to be authenticated via a private key to ensure the integrity of the transaction lifecycle.

Ready to route with Klucze płatności i klucze kasjerskie?

Talk to our team about a live rollout on your acquiring stack.

Zastosuj teraz

Co zyskujesz dzięki Klucze płatności i klucze kasjerskie

  • Bezpiecznie inicjuj sesje płatnicze za pomocą kluczy płatności
  • Przetwarzaj transakcje po stronie serwera za pomocą kluczy kasjerskich
  • Utrzymuj zgodność z PCI poprzez izolowanie wrażliwych danych
  • Integruj się z różnymi frameworkami front-endowymi i back-endowymi
  • Kontroluj poziomy dostępu dla różnych punktów integracji
  • Zwiększ bezpieczeństwo obsługi danych płatniczych klienta
  • Reduce the probability of fraudulent fund transfers via compromised client-side code
  • Facilitate secure tokenisation of cardholder details at the point of initial entry
  • Enable merchant-initiated transactions for subscription models using secure backend authentication
  • Provide clear audit trails for both client-side sessions and server-side management actions
See Klucze płatności i klucze kasjerskie on your acquiring stack.

A short scoping call, then a written plan for your MIDs.

Zastosuj teraz

Pytania dotyczące Klucze płatności i klucze kasjerskie

Jaka jest różnica między kluczem płatności a kluczem kasjerskim?

Klucz płatności jest używany na front-endzie do inicjowania sesji płatniczej i bezpiecznego zbierania danych płatniczych klienta. Klucz kasjerski jest używany po stronie serwera do finalizacji transakcji, wysyłania żądań płatności i zarządzania zwrotami, zapewniając, że wrażliwe operacje pozostają pod kontrolą serwera.

Jak te klucze przyczyniają się do zgodności z PCI?

Poprzez rozdzielenie kluczy, Cardflo pomaga sprzedawcom utrzymać zgodność z PCI. Klucze płatności obsługują zbieranie danych klienta w bezpieczny, tokenizowany sposób, podczas gdy klucze kasjerskie, używane po stronie serwera, zapobiegają bezpośredniemu dostępowi wrażliwych danych kart do Twoich serwerów, zmniejszając zakres Twojego PCI.

Czy mogę używać zarówno kluczy płatności, jak i kluczy kasjerskich w mojej integracji?

Tak, używanie zarówno kluczy płatności, jak i kluczy kasjerskich jest zalecanym i najbezpieczniejszym podejściem do integracji z Cardflo. Ta kombinacja zapewnia solidne ramy do obsługi zarówno interakcji z klientami na front-endzie, jak i przetwarzania transakcji na back-endzie, optymalizując bezpieczeństwo i funkcjonalność.

How should cashier keys be stored within a merchant's infrastructure?

Cashier keys must be treated as highly sensitive credentials. They should never be hard-coded into source files or stored in version control systems like Git.

Instead, they should be managed using environment variables or a dedicated secret management service. Access to these keys should be restricted to the specific server instances that require them to communicate with the payment processor for transaction finalisation and reporting.

What happens if a checkout key is leaked or compromised?

If a checkout key is compromised, the impact is generally low compared to a secret key leak.

An attacker could potentially use the key to submit junk data or attempt to create tokens through the merchant's MID, but they cannot access existing customer data or funds.

However, it is still standard practice to rotate the leaked checkout key to prevent any unauthorised use of the merchant's frontend assets and to maintain clean transaction logs.

Do cashier keys support different levels of permission based on the user?

While the cashier key itself represents a high-level server credential, industry-standard gateways often allow for the creation of multiple keys with various scopes.

For example, one cashier key might be restricted to read-only access for reporting, while another might have the authority to process captures and refunds.

This follows the principle of least privilege, ensuring each part of a merchant's backend system only has the permissions it needs to function.

Zacznij

Gotowy na prędkość?

Opowiedz nam o swojej firmie. Dobierzemy dla Ciebie odpowiednich partnerów aktywizujących i właściwą ścieżkę, zazwyczaj w ciągu tygodnia.

Zastosuj teraz
Zastosuj teraz