Developers

Instalments at checkout, in a few calls

Ready-made modules for the popular webshop engines, one script for the product-page box, and a public REST API for everything else. This page is an overview; the details are in the documentation.

Environments

API calls are identified by the API key sent in the X-Api-Key header. Staging behaves exactly like production: at the start you receive a separate staging merchant ID, offer ID and API key.

ProductionStaging
API gatewayhttps://gateway.instacash.huhttps://gateway-staging.instacash.hu
Application flow (redirect)https://bnpl.instacash.hu/{financier}/{publicId}https://bnpl-staging.instacash.hu/{financier}/{publicId}
Widget scripthttps://bnpl.instacash.hu/widget/v1/loader.jshttps://bnpl-staging.instacash.hu/widget/v1/loader.js

The checkout flow

How an order moves from showing the payment method to shipping.

  1. 1

    GET/bnpl/external/is-eligible

    Can the payment method be shown?

    Call it while listing payment methods, with a phone number or e-mail address. Nothing is created, and no reason is returned if the answer is no.

    Docs ↗
  2. 2

    GET/bnpl/external/calculation/{offerId}

    Calculation for the cart amount

    Returns the instalment details. It creates nothing, hence GET. Cache it by price and offer instead of calling it on every page load.

    Docs ↗
  3. 3

    POST/bnpl/external/prepared-application-check

    Is there an application for this cart already?

    Takes the same body as creating an application, so the order button can send the very same request here first.

    Docs ↗
  4. 4

    POST/bnpl/external/application

    Create the application

    Creates the application, the deal and the purchase, and returns a publicId. Use it to redirect the shopper to the application flow.

    Docs ↗
  5. 5

    POST ←{your webhook URL}

    Webhook on status change

    Every status change is POSTed to the URL configured for your shop, from 193.39.12.114. Your response is ignored.

    Docs ↗
  6. 6

    GET/bnpl/external/deal/{id}

    Fetch the current status

    Fetch the fresh status by the dealId in the webhook, and match the order on purchase.orderId.

    Docs ↗
  7. 7

    DELETE/bnpl/external/application/{id}

    Close the application

    If the order is deleted in the webshop, close its application with this call.

    Docs ↗

Queries

  • GET/bnpl/external/available-offersYour shop's live offersDocs ↗
  • GET/bnpl/external/offer/{offerId}Basic data of an offer (no authentication)Docs ↗
  • GET/bnpl/external/application/{id}Current status of an applicationDocs ↗
  • GET/bnpl/external/purchase/{id}Data of a purchaseDocs ↗
  • GET/bnpl/external/dealList of your shop's dealsDocs ↗

When can you ship?

The deal status decides, not the application's. The full list is in the documentation and grows from time to time.

  • INITIAL_PAYMENT_COMPLETEDThe shopper paid the first instalment: the order can be fulfilled and invoiced.
  • ONGOING, ONGOING_DELAYED, COMPLETEDRepayment running or finished: the order can be fulfilled.
  • PREPARED, READYThe first instalment is not paid yet: wait.
  • CANCELLED_FALLBACKA new (fallback) application was created for the same order: the order continues on it.
  • CANCELLED, INTERRUPTEDThe deal has ended: the order can be closed.

All statuses ↗

Product-page widget

One script, and one element per box. We set up the offers, box types, layouts and allowed domains for your shop.

  • Find your publishable key (pk_live_…, or pk_test_… for testing) in the Merchant Portal. It is not secret and appears in your page source.
  • The box watches data-amount, so it recalculates by itself on a variant change.
  • If your site sends a Content-Security-Policy header, allow bnpl.instacash.hu under script-src and frame-src.
  • The widget always shows the instalments, APR, representative example and legal texts from your real offer.
Full widget documentation ↗
<script async src="https://bnpl.instacash.hu/widget/v1/loader.js"
        data-key="pk_live_…"></script>

<div data-instacash-widget
     data-amount="549990"
     data-product-name="Termék neve"></div>

Good to know

15 days

An unfinished application closes automatically after 15 days of inactivity. For your own "abandoned application" logic we suggest a grace period of at least 24–48 hours.

Do not close early

Some engines expire unpaid orders after a few days, while the shopper has 15 days. Do not close a pending order by hand.

HTTP 429

Cache the calculation and offers by price and offer. If that is not enough, we can issue a higher-limit key.

Two dealIds for one order

After a failed first payment a fallback deal can be created with the same orderId. Always match orders on purchase.orderId.

Gateway only

Use the gateway.instacash.hu/bnpl/external/… routes, not the legacy /api/… routes.

"No available offer"

This is always a configuration issue on our side. Send us your merchant and offer ID and we will fix it.

FAQ ↗ · No developer of your own? Our partner agencies →

Request test access

Tell us what your webshop runs on. We will send the staging merchant ID, offer ID and API key.

„Borrowing is not free.”

Why do you see this sentence?

Since 20 November 2026, EU and Hungarian rules require this warning to be clearly visible in every advertisement that offers credit. Paying a merchant in instalments (deferred payment) counts as credit too, so it appears here as well.

What does it mean for a merchant's instalment plan?

  1. The instalment plan is provided by the merchant you buy from: your agreement is with them, and you pay the instalments to them. instacash provides the technology behind it. Under the rules this is credit too, so your rights as a borrower, such as withdrawal and early repayment, apply here as well.
  2. The merchant sets the terms. The representative example shows how the numbers work out for a typical purchase.
  3. You still take on an obligation: the instalments must be paid on time, and if you are late, the late fee or default interest set in the merchant's agreement applies.
  4. Before you sign, you receive the information with the APR and the total amount repayable. Only commit if the instalments fit your monthly budget.

Representative example

Purchase price
HUF 249,900
Down payment (paid at purchase)
HUF 83,300 (33.3%)
Amount of credit
HUF 166,600
Term
2 months
Repayment
2 monthly instalments of HUF 83,300
Borrowing rate
0% (fixed)
APR
0.0%
Total cost of credit
HUF 0
Total amount repayable
HUF 166,600
If you pay late
the late fee or default interest in the merchant's agreement

Example of a fictional merchant (Sample Shop Ltd). The actual terms are always set by the merchant providing the instalment plan.