InstaCash API
BNPL APIExamples
BNPL APIExamples
  1. BNPL API
  • Initialization
    • Queries the available offers for the merchant
      GET
    • Runs a calculation on a cart amount
      GET
    • Create a BNPL application
      POST
    • Cancel an ongoing Application
      DELETE
  • Status Lists
    • Application Statuses
    • Deal Statuses
  • Querying
    • Returns offer data for a given offer ID
      GET
    • Get a listing of all BNPL Applications
      GET
    • Get the current status of a BNPL Application
      GET
    • Get a listing of all BNPL Purchases
      GET
    • Get data of specific Purchase
      GET
    • Get a listing of all BNPL Deals
      GET
    • Get data of Deal
      GET
  • One Click
    • /api/bnpl/external/one-click/calculation
      POST
    • /api/bnpl/external/one-click/approve
      POST
    • /api/bnpl/external/one-click/application
      POST
  • Hook
    • Called when a status update happens on a deal or application
  1. BNPL API

Initialization

Queries the available offers for the merchant
GET/bnpl/external/available-offers
Gets basic data on the offers available to use. Merchant is identified from the API Key
Runs a calculation on a cart amount
GET/bnpl/external/calculation/{offerId}
This is a GET because nothing is created in the backend as a result of this call Returns the installment details
Create a BNPL application
POST/bnpl/external/application
This call will: Create a BnplApplication (in a temporary state) Create a BnplDeal and generate the Transactions Create a BnplPurchase, save the kosár...
Cancel an ongoing Application
DELETE/bnpl/external/application/{id}
Used to cancel an application
Next
Queries the available offers for the merchant
Built with