payware_poi_cancel_price
Cancel a pending POI price before payment scan to reset the point of interaction to IDLE and make it ready for a new price.
Instructions
[Merchant] Cancel a pending price on a POI, resetting it to IDLE state.
Authentication: your own JWT (an ISV makes the same call on your behalf). Endpoint: DELETE /poi/{poiId}/price Use Case: Cancel a price that was set but not yet scanned (e.g., order cancelled).
The POI returns to IDLE and is ready for a new price.
Only before the scan. The scan is the customer's bank processing the payment, so from then on a POI sale cannot be cancelled by the merchant or an ISV, on any plan: this answers 409 ERR_POI_NO_PENDING_PAYMENT, and cancelling the transaction itself answers 409 ERR_ALREADY_PROCESSED. The sale completes or expires; the POI accepts the next price meanwhile.
Required: POI ID.
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": {
"poiId": "<poiId>"
},
"name": "payware_poi_cancel_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poiId | Yes | The POI identifier (format: pi + 8 alphanumeric chars, e.g., piABC12345) | |
| useSandbox | No | Use sandbox environment for testing |