Dark Mode

API Introduction


Durianpay APIs allow you to build customized and unique payment experiences for your website, application or service. Our goal is to give you access to pretty much all the necessary resources to integrate payments into your platform. Durianpay APIs are completely RESTful and all our responses are returned in JSON.

The API implements a Representational state transfer (REST) architecture. Sounds technical, but it’s really quite easy. It mainly breaks down to HTTP-methods GET, PATCH, POST and DELETE matching the operations to read, update, create and delete.

You can use Durianpay APIs in two modes, Sandbox and Live. The API keys are different for each mode. Please refer to the Generate API Key section below for more details.

Versions

There are two version of Durianpay APis, whice are Legacy and SNAP. As the name suggests, legacy is the older version of Durianpay API. Whereas SNAP is the version of Durianpay APls which designed in accordance with Bank of Indonesia's SNAP standards (Standar Nasional Open API Pembayaran)

As per Bank of Indonesia's regulation, for main disbursements APIs:
  • Submit Disbursement
  • Fetch Balance
  • Validate Disbursement
  • Fetch/List Disbursement
We will only be supporting the SNAP version of them starting from April 2025.

SNAP (Standard National Open API) Beta version

For more information, please visit SNAP API Overview

Legacy

For more information, please visit Legacy API Overview

API Gateway URL

The Durianpay API gateway URL:

You need to include this before each API endpoint to make API calls correctly.