Apple Pay

Provisioning for Decrypted Processing

Important
Decrypting Apple Pay payment data on your server is not recommended, as it increases your risk and compliance burden. See Configuration for our recommended integration method.
A merchant can be provisioned for decrypted Apple Pay processing via a server-to-server call:
  1. Ruby
result = gateway.merchant.provision_raw_apple_pay
result.supported_networks
# ["visa", "mastercard", "amex", "discover"]
A successful response will include a list of card types for which decrypted Apple Pay parameters can now be processed. This call is idempotent. If the merchant can't be provisioned for decrypted Apple Pay processing, a 422 will be returned instead.