payware_operations_get_transaction_history
Retrieves the final status and delivery address of a completed or finalized transaction by ID. Use it to confirm CONFIRMED, DECLINED, FAILED, EXPIRED, or CANCELLED outcomes and get shipping details.
Instructions
[Merchant] Get history of completed/finalized transactions with final statuses.
Endpoint: GET /transactions-history/{transactionId} Use Case: Retrieve transactions with final statuses: CONFIRMED, DECLINED, FAILED, EXPIRED, CANCELLED. Note: For ACTIVE transactions, use 'payware_operations_get_transaction_status' instead.
📦 This is where the delivery address lives. For a SHIPPABLE transaction, deliveryAddress
(fullName, streetAddressLine1/2, zipCode, city, region, country, phoneNumber, email) is returned
here and only here. It was removed from the finalized callback on 2026-08-07: a callback is
pushed to whatever URL is registered and its body stays in request logs and retry queues, which is
acceptable for a transaction id and an amount and not for a shopper's home address. This endpoint is
JWT-authenticated with your own credentials and tenant-scoped. So the pattern is: the callback
tells you the shipment is ready, and this call gives you the address to ship to.
🧾 Lines and tip. A payment with lines carries items and total: what was sold. A tip is never
a line: tip (absent without one) is yours, sent when you created the payment, or the payer's,
added in their bank where your shop allows tips; tipEnteredBy (MERCHANT or PAYER) says which. The payer paid total + tip.
⚠️ Requires Standard or Premium. This endpoint was ungated until 2026-08-21 and is now on the same plan gate as the rest of the transaction surface, so a Basic merchant - or an ISV acting on behalf of one - now gets 403. If reading history started failing without a code change, this is why. Financial institutions are unaffected; banks are always Premium.
⏱️ Rate limited, like every payware endpoint. A 429 carries ERR_RATE_LIMIT_EXCEEDED and a
Retry-After header, in seconds; the request was not processed, so the identical request is safe to
retry once the window passes. The failure result exposes this as error.throttled,
error.retryable and error.retryAfterSeconds.
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>"
},
"name": "payware_operations_get_transaction_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partnerId | No | Partner ID from payware dashboard. Can use PAYWARE_PARTNER_ID env var as default. | partner_12345 |
| privateKey | No | RSA private key for JWT token creation. Can use PAYWARE_PRIVATE_KEY_PATH env var as default. | |
| useSandbox | No | Use sandbox environment for testing | |
| transactionId | Yes | The pw transaction id. History looks the id up as given, so a product, placement, soundbite or POI id is not found: use the pw id the process response returned. Up to 32 characters (identifiers may grow beyond today's 10). |