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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The JSON request body you intend to send. | |
| operation | Yes | operationId, e.g. "createPayment". |