Get order
ghl_get_orderFetch a payment order by ID and receive its line items and amounts for a complete transaction overview.
Instructions
Fetch a single payment order by id, including line items and amounts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>"
},
"name": "ghl_get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |