# Direct Server Integration APIs

## Introduction

Direct Server API (previously known as Seamless Payment API) allows merchants to initiate payment requests through post data. Merchant will redirect the customer/user based on the url response back to the merchant site. Merchant will be required to initiate direct status inquiry once user redirects from channel to merchant application.

<mark style="color:red;">If a merchant is to obtain credit card data directly from the buyer (not entering on bank or the payment gateway hosted page or URL), then the merchant must be PCI-DSS compliant to proceed. Otherwise assessment fee might be imposed by the brands, i.e. Visa or MasterCard.</mark><br>

This is a server-to-server call API that merchants or developers will have more control on the checkout experience and need to manage on the frontend user interface. Improper integration might cause higher drop rate on the channel.

## Usage

Merchant sends HTTPs POST payment request parameter to the payment gateway. The required request parameters are provided in the[ Direct Server integration Request](/payment-gateway/api-documentation/technical-doc-of-fiuu-id/payment-request-parameters/direct-server-integration.md) Parameters section.

## Production

**REQUEST URL:** <https://pg.e2pay.co.id/RMS/API/Direct/1.4.0/index.php>

## **Sandbox**

**REQUEST URL:** <https://pg-sandbox.e2pay.co.id/RMS/API/Direct/1.4.0/index.php>

## Direct Server API Flow

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd1Dh3Y_asl56pCBLCh-BtJeXTgc1nw5t-MFIYF4-OIO8bF4j9CYHCIuun14IHZutjJiigtYXtnnNr2PSMTOTVe_Yrh1qdPwomZ7-ZXC8zQ9Nk1gctEr90NGvflbc0D_0uTqp_6AJhnp_XzFoxjhHTVnx2NDpoanDdvgNDDpdQdueCNNQ_l3yc?key=YOQU3AbjLOhXrKaT0sW92g" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://e2payprod.gitbook.io/payment-gateway/api-documentation/technical-doc-of-fiuu-id/direct-server-integration-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
