The payments API offers you a set of different payment methods to facilitate the checkout experience. The API handles the underlying complexity, so you can integrate and start accepting payments quickly.
Starting with the payments API
All the payment requests should be addressed to the endpoint /api/v2/payment. All payment methods follow the same request and response structure. The example below shows a simple card payment request:
The following example shows the same request using the iDeal payment method:
Although these payment methods differ significantly, the request and response structure is consistent across all of them.
Understanding the API
A successful integration starts with understanding the API’s base structure. The table below describes the most important fields common to nearly all payment requests.
RedirectUrl can also be configured on your subscription. If set there, you do not need to include it in every request.