---
title: "Top-up Amount API"
method: POST
path: "/disbursements/topup"
---

# Top-up Amount API

`POST /disbursements/topup`

## Request

- Base URL: `https://api.durianpay.id/v1`
- URL: `https://api.durianpay.id/v1/disbursements/topup`
- Auth: HTTP basic

The following endpoint can be used to top-up amount to durianpay account.

## Headers

- `X-Idempotency-Key` string, required

## Request body

- object
  - `bank_id` integer, required: The id of the bank retrieved from the banks API.
  - `amount` string, required: The amount of money to top-up.

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `sender_bank` string
    - `merchant_name` string
    - `total_amount` string
    - `status` string
    - `expiry_date` string
    - `transfer_to` object
      - `bank_code` string
      - `bank_name` string
      - `atm_bersama_code` string
      - `bank_account_number` string
      - `bank_holder_name` string
      - `unique_code` integer

## Other responses

- `202`: 202
- `400`: 400
- `401`: 401
- `409`: 409
- `500`: 500
- `504`: 504

## Changes

- **2026-11-03** `f8a81a955e0f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/durianpay/apis/durianpay-api/changes/disbursements/topup/post.md)

---

[API](https://skmtc.dev/durianpay/apis/durianpay-api.md) - [All operations](https://skmtc.dev/durianpay/apis/durianpay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/durianpay/apis/durianpay-api/revisions/f8a81a955e0f?raw)
