payshop_create_reference
Creates a Payshop payment reference that the customer can use to pay at any Payshop agent or CTT (postal service) in Portugal.
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": {
"payshop_key": "<payshop_key>",
"order_id": "<order_id>",
"amount": "<amount>"
},
"name": "payshop_create_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in EUR (e.g. 10.50). | |
| order_id | Yes | Unique order identifier in your system (max 25 characters). | |
| expiry_date | No | Expiry date in YYYYMMDD format (e.g. 20301231). Leave blank for no expiry. | |
| payshop_key | Yes | ifthenpay Payshop key. |