> For the complete documentation index, see [llms.txt](https://changelog.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.doku.com/december-2026/sub-account-v2-improved-responses-for-transfer-inquiry-and-transfer-payment-api.md). Agents can also search and read this documentation through its [MCP server](https://changelog.doku.com/~gitbook/mcp).

# Sub Account V2 - Improved Responses for Transfer Inquiry & Transfer Payment API

Effective Date: 7 December 2026

DOKU is updating the responses of the **Transfer Inquiry** and **Transfer Payment APIs** for **Sub Account V2 (SAC V2)** so that transaction statuses are clearer and easier to handle in your system.

This update adjusts the HTTP status, `responseCode`, and `responseMessage` for various transaction scenarios. As a result, your system can identify transaction outcomes and decide the next step more accurately.

For more information, see the [Integration Guide](https://developers.doku.com/wallet-as-a-service/sub-account/sub-account-v2/integration-guide).

***

### What You Need to Know

* **Two APIs are updated:** The changes apply to the Transfer Inquiry and Transfer Payment APIs on Sub Account V2.
* **Clearer transaction responses:** The updated responses cover various scenarios, including successful, still processing, failed, invalid beneficiary account, unsupported bank, and timeout.
* **Test in Sandbox first:** The new responses are available in Sandbox before they go live in Production. See the Timeline section for the full schedule.

{% hint style="warning" %}
**Important: Check How Your System Handles Responses**

If your system uses the HTTP status, `responseCode`, or `responseMessage` to determine the transaction status or the next step, make sure your integration can handle the updated responses.
{% endhint %}

***

### What’s New?

The responses of the Transfer Inquiry and Transfer Payment APIs have been updated to provide clearer information across various transaction scenarios.

| API                  | Service Code | Coverage                                                                                                                      |
| -------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| **Transfer Inquiry** | 42           | Account validation, bank availability, transfer eligibility, inquiry limits, and system errors.                               |
| **Transfer Payment** | 43           | Payment success, processing status, failed transactions, duplicate references, expired inquiries, and other error conditions. |

This update applies to the following endpoints:

| API                  | Sandbox                                                  | Production                                       |
| -------------------- | -------------------------------------------------------- | ------------------------------------------------ |
| **Transfer Inquiry** | `api-sandbox.doku.com/sub-account/v2.0/transfer-inquiry` | `api.doku.com/sub-account/v2.0/transfer-inquiry` |
| **Transfer Payment** | `api-sandbox.doku.com/sub-account/v2.0/transfer-payment` | `api.doku.com/sub-account/v2.0/transfer-payment` |

Each response consists of three main components:

| Component            | Description                                                                         |
| -------------------- | ----------------------------------------------------------------------------------- |
| **HTTP Status**      | Indicates the result of the API request at the HTTP level.                          |
| **Response Code**    | Identifies the specific response or transaction condition.                          |
| **Response Message** | Provides additional information about the response and the condition that occurred. |

Your system should consider all three components together to determine the right handling for each transaction.

***

### What You Need to Do

To prepare your integration before the update goes live in Production, follow these steps:

1. **Review your integration.** Check how your system currently uses the HTTP status, `responseCode`, and `responseMessage` to identify the transaction status and decide the next step.
2. **Test in Sandbox.** Test the relevant transaction scenarios on the Transfer Inquiry and Transfer Payment endpoints using the new responses.
3. **Adjust if needed.** If the response handling in your system needs to change, complete the changes before the new responses go live in Production.

{% hint style="success" %}
**Adjust Only If Needed**

If your system does not use the HTTP status, `responseCode`, or `responseMessage` to determine the transaction flow, you may not need to make any changes. We still recommend testing in Sandbox before Production.
{% endhint %}

***

### Timeline

| Stage                                                                                                                                        | Date                       |
| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| **Documentation:** [Integration Guide](https://developers.doku.com/wallet-as-a-service/sub-account/sub-account-v2/integration-guide) updated | 1 December 2026            |
| **Sandbox:** new responses available for testing                                                                                             | 4 December 2026, 14:00 WIB |
| **Production:** new responses go live                                                                                                        | 7 December 2026, 16:00 WIB |

***

### Response Details

Below are the Transfer Inquiry and Transfer Payment responses after the update.

{% hint style="info" %}
**How to Read the Response Code**

A response code has 7 digits: the first 3 digits are the HTTP status, the next 2 digits are the service code (42 for Transfer Inquiry, 43 for Transfer Payment), and the last 2 digits are the case code. For example, `2004300` means HTTP status 200, Transfer Payment, case 00.
{% endhint %}

#### 1. Transfer Inquiry (Service Code 42)

| Scenario                                                                | HTTP Status | Response Code | Response Message                                                                                      |
| ----------------------------------------------------------------------- | ----------- | ------------- | ----------------------------------------------------------------------------------------------------- |
| Success                                                                 | 200         | `2004200`     | `Successful`                                                                                          |
| Beneficiary account not found                                           | 404         | `4044211`     | `Invalid Card/Account/Customer [Beneficiary account not found or cannot receive transfers]`           |
| Beneficiary account number contains special characters                  | 400         | `4004201`     | `Invalid Field Format beneficiaryAccountNumber`                                                       |
| Amount missing or not a number                                          | 400         | `4004201`     | `Invalid Field Format amount.value`                                                                   |
| Bank not supported                                                      | 404         | `4044203`     | `Bank Not Supported By Switch`                                                                        |
| Bank transfer not enabled for the merchant                              | 403         | `4034201`     | `Feature Not Allowed [Bank transfer is not set up for this merchant, contact DOKU]`                   |
| Transfer limit to the beneficiary reached                               | 403         | `4034204`     | `Activity Count Limit Exceeded [Transfer limit to this beneficiary reached]`                          |
| Beneficiary account blocked for 2 hours after repeated failed inquiries | 403         | `4034215`     | `Transaction Not Permitted [Beneficiary account blocked for 2 hours after repeated failed inquiries]` |
| Beneficiary account rejected in the last 2 hours                        | 403         | `4034215`     | `Transaction Not Permitted [Beneficiary account rejected in the last 2 hours]`                        |
| IP address not allowed                                                  | 401         | `4014200`     | `Unauthorized [IP Address Not Allowed]`                                                               |
| Timeout                                                                 | 504         | `5044200`     | `Timeout [No response from the bank network; send a new inquiry]`                                     |
| System error                                                            | 500         | `5004201`     | `Internal Server Error`                                                                               |

#### 2. Transfer Payment (Service Code 43)

| Scenario                                                                | HTTP Status | Response Code | Response Message                                                                                      |
| ----------------------------------------------------------------------- | ----------- | ------------- | ----------------------------------------------------------------------------------------------------- |
| Success                                                                 | 200         | `2004300`     | `Successful`                                                                                          |
| Still processing                                                        | 202         | `2024300`     | `Transaction still on process`                                                                        |
| Failed                                                                  | 403         | `4034305`     | `Transaction FAILED`                                                                                  |
| Rejected as high risk                                                   | 403         | `4034304`     | `Rejected by DOKU`                                                                                    |
| Duplicate `partnerReferenceNo`                                          | 409         | `4094301`     | `Duplicate partnerReferenceNo`                                                                        |
| Inquiry expired (30 days)                                               | 404         | `4044301`     | `Transaction Not Found [Inquiry expired, send a new inquiry]`                                         |
| Beneficiary account not found                                           | 404         | `4044311`     | `Invalid Card/Account/Customer [Beneficiary account not found or cannot receive transfers]`           |
| Invalid field format                                                    | 400         | `4004301`     | `Invalid Field Format (affected field)`                                                               |
| Bank not supported                                                      | 404         | `4044303`     | `Bank Not Supported By Switch`                                                                        |
| Bank transfer not enabled for the merchant                              | 403         | `4034301`     | `Feature Not Allowed [Bank transfer is not set up for this merchant, contact DOKU]`                   |
| Beneficiary account blocked for 2 hours after repeated failed inquiries | 403         | `4034315`     | `Transaction Not Permitted [Beneficiary account blocked for 2 hours after repeated failed inquiries]` |
| Beneficiary account rejected in the last 2 hours                        | 403         | `4034315`     | `Transaction Not Permitted [Beneficiary account rejected in the last 2 hours]`                        |
| IP address not allowed                                                  | 401         | `4014300`     | `Unauthorized [IP Address Not Allowed]`                                                               |
| Timeout, no response from the bank network                              | 504         | `5044300`     | `Timeout [No response from the bank network]`                                                         |
| System error                                                            | 500         | `5004301`     | `Internal Server Error`                                                                               |

{% hint style="warning" %}
**Important: The Same Response Code for Different Conditions**

The same response code can be used for different transaction conditions, for example `4004201` and `4034215` on Transfer Inquiry and `4034315` on Transfer Payment. Always check the `responseMessage` to identify the specific condition and decide how your system should handle it.
{% endhint %}

***

## FAQs

<details>

<summary>Who is affected by this update?</summary>

Active merchants that use Sub Account V2 and integrate the Transfer Inquiry and Transfer Payment APIs.

</details>

<details>

<summary>Do I need to change my system?</summary>

Yes, if your system uses the HTTP status, `responseCode`, or `responseMessage` to determine the transaction status or the next step. Review your response handling and test in Sandbox before the update goes live in Production.

</details>

<details>

<summary>When can I start testing the new responses?</summary>

The new responses are available in Sandbox according to the schedule in the [Timeline](#timeline) section. They then go live in Production on the same schedule.

</details>

<details>

<summary>Why do some conditions share the same response code?</summary>

Some conditions use the same response code and are distinguished by the `responseMessage`. Use the `responseMessage` to identify the specific condition.

</details>

<details>

<summary>How do I read the response code?</summary>

A response code has 7 digits: the first 3 digits are the HTTP status, the next 2 digits are the service code (42 for Transfer Inquiry, 43 for Transfer Payment), and the last 2 digits are the case code.

</details>

<details>

<summary>Where can I find the latest integration guide?</summary>

Open the [Integration Guide](https://developers.doku.com/wallet-as-a-service/sub-account/sub-account-v2/integration-guide). The documentation is updated according to the schedule in the [Timeline](#timeline) section.

</details>

***

For assistance, contact our Care Team at <care@doku.com> or (021) 1500963.

***

Thank you and best regards,\
**DOKU Product Team**
