Outbound Messages

Transform and validate an outbound Swift message

Works like the Outbound Messages API, but instead of sending the message to a destination, it transforms the structured data into a Swift message, validates it, and returns the result to the caller. Use this endpoint to verify whether a payload produces a valid Swift message before sending.

post/webapi/transform-and-validate

Request

Request body

sourcestring

Identifier of the calling system.

swiftVersion'2025' | '2026'

The Swift standards version to use.

validateBicboolean

Whether to validate BIC codes against the BIC reference database.

Example request

{
  "content": {
    "messageType": "pacs.008.001.08"
  },
  "source": "downstream-app"
}

Response

Message is valid. Returns the generated Swift message.

errorOccurredboolean

Whether an error occurred during processing.

isValidboolean

Whether the generated Swift message passed validation.

errorstring nullable

Error message, or null on success.

swiftMessagestring

The final validated Swift message string.

Example response

{
  "isValid": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.