REST API
For custom-built webshops: the whole flow over an API, with webhooks and a test environment.
What the API does
Check whether an instalment plan can be offered to the shopper, which offers you have, and calculate the instalments for a basket amount.
When the order is placed you create the application with the basket contents; if you delete the order, you close the application too.
Lists and status of applications, purchases and deals, with documented status codes.
We notify you of every application and deal status change, so your order status stays current.
What you will need
- a developer with access to your order handling
- an HTTPS endpoint to receive webhooks
- the plan you have in mind: term, down payment, amount limits
Watch out for this on this engine
- An abandoned application ends after 15 days of inactivity; on your side, wait at least 24–48 hours before treating it as abandoned.
- Match orders on the purchase's order ID (purchase.orderId): after a failed first payment a new deal can be created for the same order.
- Cache the offer and calculation responses by price and offer ID rather than requesting them on every page load.
- If you delete the order in the webshop, the application must also be closed over the API.
How to connect
- 1
We sign the agreement and set up your plan together: term, down payment, amount limits, assessment criteria.
- 2
You receive the test credentials and API key by e-mail; the test environment behaves exactly like the live one.
- 3
Your developer builds in the calls and the webhook handling, following the API documentation.
- 4
With test purchases we try successful, rejected and abandoned applications too.
- 5
We switch to the live credentials and check the display against the display guide.
Want to connect your webshop?
Tell us which engine your webshop runs on, and we will get in touch.