payware_utils_format_request
Format and validate Payware API requests with correct payload structures and headers for transactions, authentication, or curl examples.
Instructions
[Merchant] Format and validate payware API requests with proper structure and headers
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": {
"type": "<type>"
},
"name": "payware_utils_format_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Data to format (structure depends on type) | |
| type | Yes | Type of formatting to perform | |
| method | No | HTTP method (for curl formatting) | |
| endpoint | No | API endpoint URL (for curl formatting) | |
| jwtToken | No | JWT token for header formatting |