Create XML messages for authorization

Each AfterPay payment method has a specific XML structure. You can find an example of an authorization request per payment method in the API documentation.

First, set-up the basic XML structure for each payment method you use in your shop. Then, send in some testrequests, using the testdata below.

In every request, you need to send authentication information using the , and  fields. The test credentials for each payment method will be provided by AfterPay.