This section contains the information you need to
set up your server. Initializing
Unified Checkout
within your webpage
begins with a server-to-server call to the sessions API. This step authenticates your
merchant credentials, and establishes how the
Unified Checkout
frontend
components will function. The sessions API request contains parameters that define how
Unified Checkout
performs.
The server-side component provides this information:
A transaction-specific public key is used by the customer's browser to protect
the transaction.
An authenticated context description package that manages the payment experience on
the client side. It includes available payment options such as card networks,
payment interface styling, and payment methods.
The functions are compiled in a JSON Web Token (JWT) object referred to as the
The capture context request is a signed JSON Web Token
(JWT) that includes all of the merchant-specific parameters. This request tells the
frontend JavaScript library how to behave within your payment experience. The
request provides authentication, one-time keys, the target origin to the
Unified Checkout
integration in addition to allowed card networks and
payment types. The capture context request includes these elements:
You can define the payment cards and digital payments that you want
to accept in the capture context.
Allowed Card Networks
Use the
allowedCardNetworks
field to define the
card types.
These card networks are available for card entry:
American Express
Cartes Bancaires
Carnet
China UnionPay
Diners Club
Discover
EFTPOS
ELO
JCB
JCrew
Mada
Maestro
Mastercard
Meeza
Visa
To support dual-branded or co-badged cards, you must list your
supported card types values for the
allowedCardNetworks
field based on your
preference for processing card numbers. For example, if a card is
dual-branded as Visa and Cartes Bancaires and Cartes Bancaires is
listed first, the card type is set to Cartes Bancaires after the
card number is entered in your
supports
American Express, Mastercard, and Visa for saved cards. Visa and
Mastercard tokenize payment credentials using network
tokenization for all
Click to Pay
requests.
Click to Pay
uses
Click to Pay
Token Requester IDs (TRIDs) rather
than the your existing TRIDs.
IMPORTANT
Unified Checkout
does not process transactions
for cards that do not have a card verification number (CVN) and expiration date.
Most China UnionPay debit and credit cards issued before 2016 do not have a CVN
and expiration date. You must decide whether you will require the CVN.
Allowed Payment Types
Use the
allowedPaymentTypes
field to define the
accepted digital payment methods:
APPLEPAY
CHECK
CLICKTOPAY
GOOGLEPAY
PANENTRY
IMPORTANT
You can accept Apple Pay, Google Pay, and
eCheck
digital payment methods in
Unified Checkout
without
requiring card payments. To accept Apple Pay, Google Pay, and
eCheck
digital payment methods without requiring card payments, include these
digital payment methods in the
allowedPaymentTypes
field and exclude
PANENTRY
.
Include Card Prefix
You can control the length of the card number prefix to be received
in the response to the capture context request:
6 digits
8 digits
no prefix at all
To specify your preferred card number prefix length, include or exclude the
transientTokenResponseOptions.includeCardPrefix
field in the capture context request.
If you want to receive a 6-digit card number prefix in the response
Do not
include the
transientTokenResponseOptions.includeCardPrefix
field in the capture context request.
This example shows how a 6-digit card number prefix
If you want to receive an 8-digit card number prefix in the response
Include the
transientTokenResponseOptions.includeCardPrefix
field in the capture context request, and set the value to
true
.
IMPORTANT
Per PCI DSS
requirements, this requirement applies only to card numbers
longer than 15 digits and for Discover, JCB, Mastercard,
UnionPay, and Visa brands.
If the card type entered is not part of these brands, a
6-digit card number prefix is returned instead.
If the card type entered is not part of these brands but
is
co-branded
with these brands, an 8-digit card
number prefix is returned.