API libraries and SDKs

SDKs make it easy for you to use AfterPay in your favourite programming language. Even if we do not support your choice of platform, there are still some easy ways to get started. Download our Swagger definitions and use swagger-codegen or AutoRest to generate your own.



Postman
Download our pre-created Postman collection and start testing our API right away. All examples in the documentation are already there and You can start trying out with ease.

Read More Open Postman. You should see an empty request window. In this window you can specify the type of request (POST, GET etc.), the URL additional field like the Headers, Body, Pre-request Script and Tests. Mostly the Headers contain values which are needed for authentication. In the case of the example for AfterPay the API-Key is needed as well as a “Content-Type” which states that the body is in a JSON format.

Those fields are required regardless of a POST or GET-Request. The Body can be empty (as in a GET-Request) or can contain several key-value pairs needed for manipulation. As the name reveals a Pre-request Script runs before a request is send in order to set some values or similar. However, it can be empty as well. Tests are “Post-Request Scripts” which can check if your request was sent successfully and had the desired results.

For further readings and first steps in Postman, please feel free to read these instructions (https://www.getpostman.com/docs/requests).

Read Less
Swagger
We describe our API using Swagger and give You the possibility to generate Your own SDK from scratch or stub server.


Shop Systems

Magento
Magento is an open-source e-commerce platform.
Magento
Spryker is the commerce operating system for customer focused companies.

Payment Service Providers

Ingenico
Ingenico is the global trusted partner for financial institutions and retailers, providing the most extensive network connecting acquirers and payment methods.
Magento
Computop Paygate offers secure payment processing for all channels including E-Commerce, mobile, and PoS.