---
title: "Direct Inquiry"
method: POST
path: "/v1/transfer-va/inquiry"
tags: ["Direct Inquiry"]
---

# Direct Inquiry

`POST /v1/transfer-va/inquiry`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `X-TIMESTAMP`, `X-SIGNATURE`, `X-PARTNER-ID`, `X-EXTERNAL-ID`, `CHANNEL-ID`, `Authorization`

Direct Inquiry

## Headers

- `X-TIMESTAMP` string, required
- `X-SIGNATURE` string, required
- `X-PARTNER-ID` string, required
- `X-EXTERNAL-ID` string, required
- `CHANNEL-ID` string, required
- `Authorization` string, required: Access Token obtained from Get B2B Token API

## Request body

- DirectInquiryRequest
  - `partnerServiceId` string, required: similar to company code/BIN,8 digit left padding space. | Mandatory | min length: 1 | max length: 8
  - `customerNo` string, required: Unique number (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo. | Mandatory | min length: 1 | max length: 20
  - `virtualAccountNo` string: partnerServiceId (8 digit left padding 0) + customerNo (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo. | min length: 1 | max length: 28
  - `channelCode` string: Channel code from bank | min length: 1 | max length: 10
  - `trxDateInit` string, required: Transaction date. | Mandatory
  - `language` string: Language | min length: 1 | max length: 2
  - `inquiryRequestId` string, required: Unique Inquiry request id. | Mandatory | min length: 1 | max length: 30
  - `additionalInfo` AdditionalInfoDirectInquiyVARequestRef
    - `channel` 'VIRTUAL_ACCOUNT_BANK_DANAMON', required: Channel that will be apply for this VA | Mandatory | min length: 1 | max length: 30

## Response `200`

item created

- DirectInquiryResponse
  - `responseCode` string, required: Response Code with format HTTP status code + service code + case code. service code and status code refer to: https://developers.doku.com/getting-started-with-doku-api/error-handling/http-status-and-case-code#id-1.-virtual-account . | Mandatory | min length: 1 | max length: 7.
  - `responseMessage` string, required: Response Description. | min length: 1 | max length: 150
  - `virtualAccountData` object, required
    - `partnerServiceId` string, required: similar to company code/BIN,8 digit left padding space. | Mandatory | min length: 1 | max length: 8
    - `customerNo` string, required: Unique number (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo. | Mandatory | min length: 1 | max length: 20
    - `virtualAccountNo` string, required: partnerServiceId (8 digit left padding 0) + customerNo (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo. | Mandatory | min length: 1 | max length: 28
    - `virtualAccountName` string, required: Customer Name. | Mandatory | min length: 1 | max length: 255
    - `virtualAccountEmail` string: Customer Email | min length: 1 | max length: 255
    - `virtualAccountPhone` string: Customer Phone, Format: 62xxxxxxxxx xxxx | min length: 9 | max length: 30
    - `totalAmount` TotalAmountRef, required
      - `value` string, required: Transaction Amount. Total Amount with 2 decimal, format ISO 4217 | Mandatory | min length: 1 | max length: 16.2
      - `currency` string, required: Currency. | Mandatory | min length: 1 | max length: 3
    - `virtualAccountTrxType` string: Transaction ID in Partner system. 1 (Closed Payment) & 2 (Open Payment) | Mandatory | min length: 1 | max length: 1
    - `expiredDate` string
    - `inquiryStatus` string: Status for this inquiry. Refer to case_code | min length: 1 | max length: 2
    - `inquiryReason` InquiryReasonRef
      - `english` string: Inquiry Reason in English | min length: 1 | max length: 18
      - `indonesia` string: Inquiry Reason in Bahasa | min length: 1 | max length: 18
    - `inquiryRequestId` string: Unique Inquiry request id | min length: 1 | max length: 30
  - `additionalInfo` AdditionalInfoDirectInquiyVAResponseRef
    - `channel` 'VIRTUAL_ACCOUNT_BANK_DANAMON': Channel that will be apply for this VA | Mandatory | min length: 1 | max length: 30
    - `virtualAccountConfig` VirtualAccountConfig
      - `reusableStatus` boolean: Reusable Status For Virtual Account Transaction, value TRUE or FALSE

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal server error
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o.md) - [All operations](https://skmtc.dev/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o/llms.txt) - [OpenAPI document](https://skmtc.dev/doku/apis/direct-debit-core-system-notify-binding-to-merchant-emoney-o/revisions/7887174f57bc?raw)
