Submit a zero-value auth payment request

To begin a Merchant Acquirer API payment, submit a zero-value auth payment to the /authorise endpoint of the Payments API.

For more information on how to submit API payments, see Classic integration

Request

{  
   "amount":{  
      "currency":"EUR",
      "value":0
   },
   "merchantAccount":"TestMerchant",
   "reference":"Test",
   "shopperEmail":"s.hopper@test.com",
   "shopperIP":"127.0.1.1",
   "shopperReference":"127.0.1.1",
   "card":{  
      "expiryMonth":"8",
      "expiryYear":"2018",
      "holderName":"Test",
      "number":"CardAlias"
   }
}
SOAP example
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns1:authorise xmlns:ns1="http://payment.services.adyen.com">
      <ns1:paymentRequest>
        <amount xmlns="http://payment.services.adyen.com">
          <currency xmlns="http://common.services.adyen.com">EUR</currency>
          <value xmlns="http://common.services.adyen.com">0</value>
        </amount>
        <card xmlns="http://payment.services.adyen.com">
          <expiryMonth>06</expiryMonth>
          <expiryYear>2016</expiryYear>
          <holderName>Adyen Test</holderName>
          <number>CardAlias</number>
        </card>
        <merchantAccount xmlns="http://payment.services.adyen.com">SupportAdyenTest</merchantAccount>
        <reference xmlns="http://payment.services.adyen.com">Your Reference Here</reference>
        <shopperEmail xmlns="http://payment.services.adyen.com">s.hopper@test.com</shopperEmail>
        <shopperIP xmlns="http://payment.services.adyen.com">61.294.12.12</shopperIP>
        <shopperReference xmlns="http://payment.services.adyen.com">Simon Hopper</shopperReference>
      </ns1:paymentRequest>
    </ns1:authorise>
  </soap:Body>
</soap:Envelope>


Response

{
  "pspReference": "8624845699108872",
  "resultCode": "Authorised",
  "authCode": "41026"
}

SOAP example
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Body>
    <ns1:authoriseResponse xmlns:ns1="http://payment.services.adyen.com">
      <ns1:paymentResult>
        <authCode xmlns="http://payment.services.adyen.com">64158</authCode>
        <pspReference xmlns="http://payment.services.adyen.com">8313547924770610</pspReference>
        <resultCode xmlns="http://payment.services.adyen.com">Authorised</resultCode>
      </ns1:paymentResult>
    </ns1:authoriseResponse>
  </soap:Body>
</soap:Envelope>