Skip to main content

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.

API Gateway URL#

The Durianpay API gateway URL is https://api.durianpay.id/v1. You need to include this before each API endpoint to make API calls correctly.