Validate a ROKI Connect request payload
roki_validate_requestValidate a payload against the official schema WITHOUT sending it, and check the business rules the API enforces. Critical for this API: it ignores unknown fields and returns 201, so a typo produces a misconfigured payment rather than an error. The response names what it dropped in warnings, but by then the payment exists - validating here means it is never created. Always validate before writing or shipping integration code.
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": {
"operation": "<operation>",
"payload": "<payload>"
},
"name": "roki_validate_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The JSON request body you intend to send. | |
| operation | Yes | operationId, e.g. "createPayment". |