DOKU Wallet

DOKU Wallet is one of Indonesia’s first and most established digital wallet platforms, launched in 2007. It enables users to make secure cashless payments for online shopping, bills, transportation, mobile top-ups, and more. With its strong focus on convenience and security, DOKU has played a pioneering role in advancing Indonesia’s digital payment ecosystem. Learn more about DOKU Wallet.

Payment method properties

Markets (consumer)

ID

Processing currencies

IDR

Consumer currencies

IDR

Authentication methods

REDIRECT

Authentication timeout

6 hours

Minimum payment amount

10,000.00 IDR

Maximum payment amount

For non-KYC users: 2,000,000.00 IDR
For KYC users: 10,000,000.00 IDR

Payment instrument

PASSTHROUGH_WALLET

Recurring payments

No

Separate captures

No

Refund

No

Refund validity

N/A

Disputes

No

Settlement risk

No

Make a DOKU Wallet payment

DOKU Wallet payments follow our standardized REDIRECT payment flow. Enabling you to offer a seamless desktop experience. We recommend including all relevant settings for any authentication methods you support.

To create a DOKU Wallet payment, you'll need to provide the following data at minimum when calling our payment charges endpoint:

Field

Description

paymentMethod

DOKU_WALLET

amount.value

The amount to be paid in the smallest units of the currency used.

amount.currency

IDR

consumer.name

Full name of the consumer.

consumer.country

The country of residence of the consumer.

consumer.email

The consumer’s email address

consumer.phone

The consumer phone number.

order.orderItems.name

The order item name.

order.orderItems.quantity

The order item quantity.

order.orderItems.amount

The amount to pay for each individual item in the payment charge currency's smallest unit.

authenticationSettings: REDIRECT settings.returnUrl

Specify the URL to which the consumer should be redirected after completing the payment. This is required for the REDIRECT payment flow.

📘

Guidance

To improve the consumer experience and payment traceability, consider including the following fields. See the API Reference for full details.

FieldsDescription
order.shippingAddressThe shipping address details can be provided to help with fraud prevention.

Request

POST /v1/payment-charges

{
    "paymentMethod": "DOKU_WALLET",
    "amount": {
        "value": 1000000,
        "currency": "IDR"
    },
    "consumer": {
        "name": "John Smith",
        "country": "ID",
        "email": "[email protected]",
        "phone": "123456789"
    },
    "order": {
        "orderItems": [
            {
                "name": "Product Name 1",
                "quantity": 1,
                "amount": 1000000
            }
        ]
    },
    "authenticationSettings": [
        {
            "type": "REDIRECT",
            "settings": {
                "returnUrl": "https://www.webshop.com/order-results-page"
            }
        }
    ]
}

Response

You'll receive our standard payment charge response with the available authentication methods:

{
    "id": "charge_ikfWxIAbkMTKtrjXUitD2",
    "paymentMethod": "DOKU_WALLET",
    "paymentMedium": "ECOMMERCE",
    "scheduleType": "UNSCHEDULED",
    "instrumentId": "instr_eLJqln5Yi7zWdhjnpx67D",
    "currency": "IDR",
    "country": "ID",
    "status": "AUTHENTICATION_PENDING",
    "consumer": {
        "name": "John Smith",
        "email": "[email protected]",
        "phone": "123456789",
        "country": "ID"
    },
    "order": {
        "orderItems": [
            {
                "name": "Product Name 1",
                "quantity": 1,
                "amount": 1000000
            }
        ],
        "industryData": []
    },
    "authenticationMethods": [
        {
            "details": {
                "requestUrl": "https://redirection-target.ppro.com",
                "requestMethod": "POST"
            },
            "type": "REDIRECT"
        }
    ],
    "authorizations": [
        {
            "id": "authz_zYQPjmKaS76M6FGSQi9uA",
            "amount": 1000000,
            "status": "AUTHENTICATION_PENDING",
            "createdAt": "2025-08-29T09:51:07.619Z",
            "updatedAt": "2025-08-29T09:51:07.619Z"
        }
    ],
    "captures": [],
    "refunds": [],
    "discards": [],
    "voids": [],
    "createdAt": "2025-08-29T09:51:07.405Z",
    "updatedAt": "2025-08-29T09:51:07.619Z",
    "_links": {
        "authorizations": {
            "href": "/v1/payment-charges/charge_ikfWxIAbkMTKtrjXUitD2/authorizations"
        },
        "captures": {
            "href": "/v1/payment-charges/charge_ikfWxIAbkMTKtrjXUitD2/captures"
        },
        "refunds": {
            "href": "/v1/payment-charges/charge_ikfWxIAbkMTKtrjXUitD2/refunds"
        },
        "discards": {
            "href": "/v1/payment-charges/charge_ikfWxIAbkMTKtrjXUitD2/discards"
        },
        "voids": {
            "href": "/v1/payment-charges/charge_ikfWxIAbkMTKtrjXUitD2/voids"
        }
    }
}

Pick the desired authentication method

REDIRECT

  1. Redirect your consumer to the returned $.authenticationMethods[?(@.type == "REDIRECT")].details.requestUrl.
    For example, with the value of https://redirection-target.ppro.com/ using the returned $.authenticationMethods[?(@.type == "REDIRECT")].details.requestMethod HTTP method.
  2. The consumer will be presented with the reference number and instructions to complete the payment.

Handling the payment result

REDIRECT

  1. After the consumer completes the payment, they are redirected to the returnUrl specified in the payment charge creation request.
  2. Upon redirect back to your site, retrieve the latest payment status by performing a GET /v1/payment-charges/{paymentChargeId}. Use the returned status field to determine and display the final payment outcome to the consumer.
  3. Additionally, webhooks are triggered to notify you of the payment result. This ensures you receive the outcome even if the consumer closes their browser or fails to return to your website.

Payment instrument

A PASSTHROUGH_WALLET instrument will be created for DOKU Wallet, with no additional data provided.

Request

GET /v1/payment-instruments/{instrument-id}

Response

{
    "id": "charge_ikfWxIAbkMTKtrjXUitD2",
    "type": "PASSTHROUGH_WALLET"
}

Sandbox testing

DOKU Wallet uses PPRO's mock authenticator in sandbox. Learn more.