Authorize an Apple Pay Payment with
VDC NAB
Decryption

The topics in this section shows you how to authorize an Apple Pay payment transaction with the
VDC NAB
decryption
implementation of Apple Pay.
IMPORTANT
In the example, the payment being authorized was made using a
Visa card
, and the processor is
VDC National Australia Bank Ltd
.
National Australia Bank
supports the
VDC National Australia Bank Ltd
processor.
For general information about basic authorizations, see the "Standard Payments Processing" section of the .

Basic Steps: Authorizing a Payment with
VDC NAB
Decryption

Follow these steps to request an Apple Pay payment authorization with
VDC NAB
decryption:
  1. Create the request message with the required
    REST
    API fields.
  2. Send the message to one of these endpoints:
    • Production:
      POST
      https://nabgateway-api.nab.com.au
      /pts/v2/payments
    • Test:
      POST
      https://nabgateway-api-test.nab.com.au
      /pts/v2/payments
  3. Verify the response messages to make sure that the request was successful.

    ADDITIONAL INFORMATION

    A 200-level HTTP response code indicates success. See the .

Fields Required to Authorize a Payment with
VDC NAB
Decryption

As a best practice, include these
REST API
fields in your request for an authorization transaction with the
VDC NAB
decryption implementation of Apple Pay.
Depending on your processor, your geographic location, and whether the relaxed address verification system (RAVS) is enabled for your account, some of these fields might not be required. It is your responsibility to determine whether an API field can be omitted from the transaction you are requesting.
For information about tbe relaxed requirements for address data and expiration dates in payment transactions, see the
.
clientReferenceInformation.code
orderInformation.amountDetails.currency
orderInformation.amountDetails.totalAmount
orderInformation.billTo.address1
orderInformation.billTo.administrativeArea
orderInformation.billTo.country
orderInformation.billTo.email
orderInformation.billTo.firstName
orderInformation.billTo.lastName
orderInformation.billTo.locality
orderInformation.billTo.postalCode
paymentInformation.fluidData.descriptor
Format of the encrypted payment data.
Set the value to
RklEPUNPTU1PTi5BUFBMRS5JTkFQUC5QQVlNRU5U
for Apple Pay.
paymentInformation.fluidData.encoding
Encoding method used to encrypt the payment data.
Set the value to
Base64
for Apple Pay.
paymentInformation.fluidData.value
Set the value to the encrypted payment data value returned by the Full Wallet request.
processingInformation.paymentSolution
Set the value to
001
to identify Apple Pay as the digital payment solution.

REST Example: Authorize a Payment with
VDC NAB
Decryption