Custom integration

After initiating the Apple Pay payment on your website or mobile application, you should receive a token. Pass this token to your server, and then submit it along with an /authorise request to Adyen.

The following example demonstrates how to submit this API request. The token value must be set to the payment.token field included into the additionalData object.

Submit this request to the https://pal-test.adyen.com/pal/servlet/Payment/v30/authorise endpoint.

{
   "amount":{
      "value":2000,
      "currency":"EUR"
   },
   "reference":"Your Reference Here",
   "merchantAccount":"TestMerchant",
   "additionalData":{
      "payment.token":"==Payload as retrieved from Apple Pay SDK response=="
   }
}

Once you completed the steps above and tested your integration, contact Support Team to configure live processing of Apple Pay payments.