---
title: "DOKU payment methods Drop-in integration"
description: "Add payments through bank transfers and convenience stores in Indonesia to an existing Drop-in integration."
url: "https://docs.adyen.com/payment-methods/doku/drop-in"
source_url: "https://docs.adyen.com/payment-methods/doku/drop-in.md"
canonical: "https://docs.adyen.com/payment-methods/doku/drop-in"
last_modified: "2019-11-12T17:23:00+01:00"
language: "en"
---

# DOKU payment methods Drop-in integration

Add payments through bank transfers and convenience stores in Indonesia to an existing Drop-in integration.

[View source](/payment-methods/doku/drop-in.md)

This page explains how to add DOKU payment methods to your existing Web Drop-in integration.

Through our partner DOKU, we offer various [bank transfer payment methods](/payment-methods/doku#bank-transfer) and [convenience store payment methods](/payment-methods/doku#convenience-store) in Indonesia.

## Requirements

Select the [server-side flow](/online-payments/build-your-integration) that your integration uses:

### Tab: Sessions flow

| Requirement          | Description                                                                                                                                                       |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Integration type** | Make sure that you have built a Sessions flow [Web Drop-in integration](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Drop-in). |
| **Setup steps**      | Before you begin, [add DOKU payment methods in your Customer Area](/payment-methods/add-payment-methods).                                                         |

### Tab: Advanced flow

| Requirement          | Description                                                                                                                                                        |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Integration type** | Make sure that you have built an Advanced flow [Web Drop-in integration](/online-payments/build-your-integration/advanced-flow?platform=Web\&integration=Drop-in). |
| **Setup steps**      | Before you begin, [add DOKU payment methods in your Customer Area](/payment-methods/add-payment-methods).                                                          |

## Import resources for v6

If you are using Web Drop-in v6, import the resources you need for DOKU payment methods:

```js
import { AdyenCheckout, Doku} from '@adyen/adyen-web'
```

## API reference

You do not need to send additional fields for DOKU payment methods. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

* [/sessions](https://docs.adyen.com/api-explorer/Checkout/latest/post/sessions): This is the default with [Drop-in v5.0.0](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Drop-in) or later.
* [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments): If you implemented an [additional use case](/online-payments/build-your-integration).

## Drop-in configuration

There are no configuration steps specific to DOKU payment methods required for Drop-in.

## Customization

You can customize the expiry date of the virtual bank account (for bank transfers) or the voucher (for convenience store payments). By default, the validity period is 48 hours. To change the validity period, contact the [Support Team](https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other).

You can change the language of the voucher to Indonesian by using the `locale` **id-ID**. To do so, make sure to specify the `locale` in the code for the checkout page. For instructions, refer to [Customizing Drop-in for Web](/online-payments/build-your-integration/sessions-flow/?platform=Web\&integration=Drop-in#optional-configuration).

## Test and go live

Use our [test vouchers and card numbers](/development-resources/test-cards-and-credentials/alternative-payment-method-credentials#doku) to simulate the payments.

Check the status of the test payments in your [Customer Area](https://ca-test.adyen.com/), under **Transactions** > **Payments**.

Before you can accept live payments, you need to [submit a request](/payment-methods/add-payment-methods) for one or more Indonesian DOKU online banking or convenience store payment methods in your [live Customer Area](https://ca-live.adyen.com/).

## See also

* [Web Drop-in integration guide](/online-payments/drop-in-web)
* [Webhooks](/development-resources/webhooks)
* [API Explorer](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/overview)
