> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Inquiry Void

> Query the void result by voidId or voidRequestId.

`POST /v1/payments/inquiryVoid`

Queries the result of a void operation using the void ID or the original request identifiers.

<Note>
  At least one of `voidId`, `acquirementId`, or `merchantTransId` must be provided.
</Note>

## Request Parameters

<ParamField body="voidId" type="string">
  Unique ID of a void request generated by the wallet.

  **Max length**: 64 characters
</ParamField>

<ParamField body="acquirementId" type="string">
  Payment ID of the original authorization that was voided.

  **Max length**: 64 characters
</ParamField>

<ParamField body="merchantTransId" type="string">
  Value of the `paymentRequestId` field from the original pay request.
</ParamField>

## Response Parameters

<ResponseField name="result" type="object" required>
  Standard result object with `resultCode`, `resultStatus`, `resultMessage`
</ResponseField>

<ResponseField name="acquirementId" type="string">
  Original payment ID.

  **Max length**: 64 characters
</ResponseField>

<ResponseField name="merchantTransId" type="string">
  Original request ID.
</ResponseField>

<ResponseField name="voidDetails" type="array">
  Array of void order records. See [VoidDetail](/openapis/v1/data-dictionary#voiddetail).
</ResponseField>

## Result Codes

| resultStatus | resultCode                    | Description                     |
| ------------ | ----------------------------- | ------------------------------- |
| `S`          | `SUCCESS`                     | Query successful                |
| `F`          | `PARAM_ILLEGAL`               | Invalid parameters              |
| `F`          | `ORDER_NOT_EXIST`             | The order does not exist        |
| `F`          | `ORDER_UNSUPPORTED_OPERATION` | The order does not support void |
| `F`          | `VOID_BILL_NOT_EXIST`         | The void order does not exist   |
| `U`          | `UNKNOWN_EXCEPTION`           | Unknown error occurred          |
