# DANA

### Integration Steps <a href="#pdf-page-pjjvucnshichimqfbvcr-integration-steps" id="pdf-page-pjjvucnshichimqfbvcr-integration-steps"></a>

Here is the overview of how to integrate with DANA :

1. [Payment](https://open.gitbook.com/~space/qCxtvLoJNNxvp4U7kLHd/~changes/xks6ABOMESCkz47z8vNy/~gitbook/pdf?back=false\&only=yes\&page=PjjvUcNshichiMqfBVcR#pdf-page-PjjvUcNshichiMqfBVcR-1.-payment)
2. [Acknowledge Payment Notification](https://open.gitbook.com/~space/qCxtvLoJNNxvp4U7kLHd/~changes/xks6ABOMESCkz47z8vNy/~gitbook/pdf?back=false\&only=yes\&page=PjjvUcNshichiMqfBVcR#pdf-page-PjjvUcNshichiMqfBVcR-2.-acknowledge-payment-notification)

***

#### 1. Payment <a href="#pdf-page-pjjvucnshichimqfbvcr-id-1.-payment" id="pdf-page-pjjvucnshichimqfbvcr-id-1.-payment"></a>

To do payment using DANA, you will need to hit this API through your backend :&#x20;

{% openapi src="/files/oI7kZlQmXHz5jakULIG0" path="/direct-debit/merchant/dana/v1.0/debit/payment-host-to-host" method="post" %}
[openapi-dana-fix.json](https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2Fh4LtC12PlmPvd1zVnPY3%2Fopenapi-dana-fix.json?alt=media\&token=e13f39a3-576d-494a-b225-adf27a772d24)
{% endopenapi %}

#### 2. Acknowledge Payment Notification <a href="#pdf-page-pjjvucnshichimqfbvcr-id-2.-acknowledge-payment-notification" id="pdf-page-pjjvucnshichimqfbvcr-id-2.-acknowledge-payment-notification"></a>

After the payment is being made by your customer, DOKU will send **HTTP Notification** to your defined `Notification URL`. Learn how to [handle the notification from DOKU](https://app.gitbook.com/s/qCxtvLoJNNxvp4U7kLHd/getting-started-with-doku-api/notification) .

### Additional Feature <a href="#pdf-page-pjjvucnshichimqfbvcr-additional-feature" id="pdf-page-pjjvucnshichimqfbvcr-additional-feature"></a>

#### Online Refund <a href="#pdf-page-pjjvucnshichimqfbvcr-online-refund" id="pdf-page-pjjvucnshichimqfbvcr-online-refund"></a>

{% openapi src="/files/oI7kZlQmXHz5jakULIG0" path="/direct-debit/merchant/dana/v1.0/debit/refund" method="post" %}
[openapi-dana-fix.json](https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2Fh4LtC12PlmPvd1zVnPY3%2Fopenapi-dana-fix.json?alt=media\&token=e13f39a3-576d-494a-b225-adf27a772d24)
{% endopenapi %}


---

# 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/archive/snap/e-wallet/dana.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.
