payware_operations_get_transaction_history
Retrieves completed transaction history with final statuses (CONFIRMED, DECLINED, FAILED, EXPIRED, CANCELLED) by transaction ID, including the delivery address needed to ship a finalized order.
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
delivered to whatever certificate the merchant's endpoint happens to present, which is an acceptable
trade for a transaction id and an amount and not one for a shopper's home address. This endpoint is
JWT-authenticated, tenant-scoped and runs over a verified channel. So the pattern is: the callback
tells you the shipment is ready, and this call gives you the address to ship to.
⚠️ 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). |