---
title: "Query an order by ID"
method: GET
path: "/v1/gcash/bindings/{id}/acquirement/{acquirement_id}"
tags: ["GCash"]
---

# Query an order by ID

`GET /v1/gcash/bindings/{id}/acquirement/{acquirement_id}`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/gcash/bindings/{id}/acquirement/{acquirement_id}`
- Auth: HTTP basic

Queries an order associated with a binding using the acquirement ID

## Path parameters

- `id` string, required
- `acquirement_id` string, required

## Response `200`

Successfully queried order

- object: Standard response containing data and its metadata if any
  - `data` OrderQueryResponseDTO: Response payload containing the details of the queried order
    - `acquirement_id` string
    - `amount` string
    - `currency` string
    - `result_code` string
    - `result_code_id` string
    - `transaction_id` string
  - `has_more` boolean

## Other responses

- `400`: Invalid request parameters or validation errors
- `401`: Missing or invalid credentials
- `422`: merchant_not_configured: the merchant has no live-mode configuration for this wallet
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/ewallets.md) - [All operations](https://skmtc.dev/paymongo/apis/ewallets/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/ewallets/revisions/a445ca65c132?raw)
