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.
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)
- Submit Disbursement
- Fetch Balance
- Validate Disbursement
- Fetch/List Disbursement
For more information, please visit Legacy API Overview
API Gateway URL
The Durianpay API gateway URL:
https://api.durianpay.id/v1 for Legacy API
https://api.durianpay.id/v1.0 for SNAP API
You need to include this before each API endpoint to make API calls correctly.