---
title: "Refund eWallet Payment"
method: POST
path: "/debit/refund"
---

# Refund eWallet Payment

`POST /debit/refund`

The following endpoint can be used to refund a completed eWallet payment.

## Headers

- `Content-Type` string, required
- `X-TIMESTAMP` string, required
- `Authorization` string
- `X-SIGNATURE` string, required
- `X-PARTNER-ID` string, required
- `X-EXTERNAL-ID` string, required
- `CHANNEL-ID` string, required

## Request body

- object
  - `originalPartnerReferenceNo` string, required — Merchant’s unique transaction reference.
  - `originalReferenceNo` string, required — Durianpay's unique transaction reference.
  - `partnerRefundNo` string, required — Merchant’s unique refund reference.
  - `refundAmount` object, required
    - `value` string, required — Refund amount, decimal with 2 digits (e.g., “10000.00”).
    - `currency` string, required — Currency, must be “IDR”.

## Response `200`

This response indicates that eWallet transaction refund was successful.

- object
  - `additionalInfo` object
    - `trace_id` string — Unique identifier for the single request. To be shared with Durianpay Team if required.
  - `originalReferenceNo` string, required — Durianpay internal payment reference ID.
  - `partnerRefundNo` string, required — Merchant internal refund reference ID.
  - `refundAmount` object
    - `currency` string, required — Currency code, must be “IDR”
    - `value` string, required — Refund amount, decimal with 2 digits (e.g., “10000.00”)
  - `refundNo` string, required — Durianpay internal refund reference ID.
  - `refundTime` string — Time of refund. This will only be available when the refund is successful.
  - `responseCode` string, required — Response code indicating the result of the operation.
  - `responseMessage` string, required — Message explaining the responseCode.

## Other responses

- `202` — This response confirms that the eWallet transaction refund has been accepted and is now in progress.
- `400` — This response indicates a client-side error occurred while processing the request.
- `403` — This response indicates that the request was rejected due to insufficient permissions.
- `404` — This response indicates a server-side not found error occurred while processing the request.
- `500` — This response indicates a server-side error occurred while processing the request.

---

[API](https://skmtc.net/durianpay/apis/durianpay-api.md) · [All operations](https://skmtc.net/durianpay/apis/durianpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/durianpay/durianpay-api/versions/ffc0e7e8a227/schema)
