ghl_payment_transaction_get
Retrieve details for a single payment transaction by its unique ID and location context to inspect transaction data and status.
Instructions
Get Transaction by ID The "Get Transaction by ID" API allows to retrieve information for a specific transaction using its unique identifier. Use this endpoint to fetch details for a single transaction based on the provided transaction ID. Endpoint: GET /payments/transactions/{transactionId} (Version header: v3; source: v3/payments-v3.json) Requires a Sub-Account (location) token. OAuth scopes: payments/transactions.readonly
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": {
"transactionId": "<transactionId>",
"altId": "<altId>",
"altType": "<altType>"
},
"name": "ghl_payment_transaction_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altId | Yes | AltId is the unique identifier e.g: location id. | |
| altType | Yes | AltType is the type of identifier. | |
| locationId | No | LocationId is the id of the sub-account. | |
| transactionId | Yes | ID of the transaction that needs to be returned |