payware_shops_list
List merchant shops and their codes so you can pass a valid shop or shopCode before creating transactions, products, or POIs, avoiding wrong-outlet fallback errors.
Instructions
[Merchant] List the merchant outlets (shops) the caller can act on.
Endpoint: GET /shops
Use this before any call that takes a shop / shopCode. Creating a transaction, creating a
product, creating a POI and batching POIs all take one, and an invalid code is a 400
(ERR_INVALID_SHOP_CODE). Omitting it falls back to the merchant's default shop, which is a
reasonable guess for a single-outlet merchant and the wrong outlet for everyone else - the sale lands
against the wrong shop, and nothing about the response says so.
Returned per shop (server ShopDTO): code (the value to pass as shop / shopCode), name,
isDefault, ecommerce, country and the shop's label, image and terms URLs.
⚠️ Requires Standard or Premium. A Basic merchant gets 403.
Note on financial institutions: banks do not own shops. A bank principal calling this gets 403, not an empty list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "payware_shops_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partnerId | No | Partner ID from the payware dashboard. Uses PAYWARE_PARTNER_ID env var as default. | |
| privateKey | No | RSA private key for JWT signing. Uses the environment-specific key as default. | |
| useSandbox | No | Use sandbox environment for testing |