# Postman Collection

[![Run In Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/14577350-aef35a39-5de4-4a81-a1d5-72bc02695f6a?action=collection%2Ffork\&source=rip_markdown\&collection-url=entityId%3D14577350-aef35a39-5de4-4a81-a1d5-72bc02695f6a%26entityType%3Dcollection%26workspaceId%3D84cd1c3a-d4fe-44e3-bf8a-345d8c5770d5)

## Preparation

1. Install Postman
2. Register to our [Sandbox DOKU Back Office](https://sandbox.doku.com/bo/sandbox-registration)
3. Retrieve the Client ID & Secret Key. Learn more [here](https://dashboard.doku.com/docs/docs/getting-started/retrieve-credential)

## Import Postman Collection

To get started, please import the Postman Collection:

1. Copy the following link: <https://raw.githubusercontent.com/PTNUSASATUINTIARTHA-DOKU/doku-postman-collection/main/doku-postman-collection.json>
2. Open your Postman and find Import button on the top left section

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2F1VNkq4qRX4d8I1gxgnuB%2FScreenshot%202024-01-02%20at%2009.41.34.png?alt=media&#x26;token=0689eab2-3238-4323-b791-2b41817af1f2" alt=""><figcaption><p>Import File Postman</p></figcaption></figure>

3. Put the Link on the field, and click Continue Button
4. You will be asked to confirm, click the Import button

Now you should see `DOKU API Collection` on the left sidebar. Congratulations, you've just imported our Postman Collection.

## Non SNAP - Setup Credential

After importing the Postman Collection, you need to setup the Client ID and Secret Key to the Postman, so that you can access our APIs. Here is how to setup the credential:

1. Click three dots and choose Edit Button on left-side bar

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2FAM8gQ03QgmRyLysYbdg8%2FScreenshot%202024-01-02%20at%2009.51.37.png?alt=media&#x26;token=f35514b5-53a1-4b6e-a8b0-57a5d339906c" alt=""><figcaption><p>Setup credential</p></figcaption></figure>

2. Click the variables Tab

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2FpGB8qi8XHyq5mAWhBME2%2FScreenshot%202024-01-02%20at%2009.54.39.png?alt=media&#x26;token=354c3c42-0c65-42e8-8345-234e042c2ec4" alt=""><figcaption></figcaption></figure>

3. Change the Client ID and Secret Key
4. Click Save Button

## SNAP - Setup Credential

After importing the Postman Collection, you need to setup the Client ID and Secret Key to the Postman, so that you can access our APIs. Here is how to setup the credential:

1. Click three dots and choose Edit Button on left-side bar

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2F6I0blGmWQ5liuM2C8QaP%2FScreenshot%202024-01-02%20at%2009.51.37.png?alt=media&#x26;token=b6232b62-35bc-4721-b329-26d0f70a92e0" alt=""><figcaption></figcaption></figure>

2. Click the Variables Tab

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2F7Krem3tNfer7rMvKo8KZ%2FScreenshot%202024-01-02%20at%2010.03.44.png?alt=media&#x26;token=02675bd0-141c-4448-ac8e-b35351154013" alt=""><figcaption></figcaption></figure>

3. Change the Client ID, SecretKey, Private\_Key and BIN each acquirer
4. Click save Button

Now you are good to go to start testing our APIs.


---

# 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://developers.doku.com/developer-kit/postman-collection.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.
